Why doesn’t an SSD improve the speed of running applications compared to a HDD

hard drivememory managementoperating systemsperformancevirtual-memory

In articles/forums about PC gaming I always see people saying how Solid State Drives only make games load faster at startup (of the application) than they would with a Hard Disk Drive, and that an SSD doesn't improve the speed/performance of an application that is executing (after startup) in comparison to a HDD.
Now I imagine that the first part of this is because during application startup, the operating system needs to fetch all of the application's instructions from the disk, and load them into RAM. And since SSD access is a lot faster than HDD access, program startup with a SSD should be a lot faster than a HDD.

Now what I don't understand is how this doesn't also affect programs that are currently running, since the OS can move a running application's memory pages from RAM to the page file/swap space on the disk. When the running program needs to access a page that was moved to the page file/swap space, a disk read needs to occur in order for the page to be brought back into RAM to be used by the application. So wouldn't an SSD also provide a performance increase here too, as opposed to just in application startup?

Best Answer

You ask why SSDs don’t necessarily improve the speed of running applications compared to a traditional HDD. The reason is disk access. SSDs do read and write much faster than traditional hard disks. However, unless the application is heavy on disk I/O (reading and writing to the disk), the benefits of the SSD are lost. Even in cases where there is some writing to disk, the OS has a disk cache. This means writes are written to RAM and eventually flushed to the disk at a later point. The disk cache significantly improves the speed when using traditional HDDs.

As for swapping, yes, SSDs will perform faster, but you probably won’t notice the difference. Unless you are severely starved for free memory and the OS is heavily swapping, you will not notice the speed difference.

Related Question