Pagefile location: SSD, M.2, or Optane?

Soldato
Joined
1 Apr 2014
Posts
18,538
Location
Aberdeen
Imagine that you have an application which uses all your RAM and then some. As such it uses the pagefile. Where is the best location for your pagefile? SSD, M.2, or Optane? Does PCIe v4 make a difference? Has anyone done tests?
 
Man of Honour
Joined
13 Oct 2006
Posts
90,821
Best location for pagefile is on the fastest drive - ideally different to the OS drive. With any kind of fast storage the performance difference is generally minimal but access times/latency makes a bit of difference.

Optane tends to have the lowest latency IIRC but depending on the nature of how your application is using paged data higher sequential rates might win out.
 

mrk

mrk

Man of Honour
Joined
18 Oct 2002
Posts
99,995
Location
South Coast
If it's all between SSDs then where as long as it's SATA6+ won't show a marked difference that's noticeable in the real world but if your workload is filling up say 16GB of RAM and then starts filling up several more GB of pagefile then you really have to question whether you should be investing in more physical RAM as opposed to relying on pagefile.

The wise solution is leave the PF to be managed by Windows on the OS drive at all times, and invest in physical RAM that fits the workflow.
 
Man of Honour
Joined
13 Oct 2006
Posts
90,821
The wise solution is leave the PF to be managed by Windows on the OS drive at all times, and invest in physical RAM that fits the workflow.

Investing in physical RAM is a good idea - Windows, even Windows 10, has a less than ideal default implementation of the pagefile though partly because it tries to balance across many types of workload - you can significantly improve on the settings in many cases if you know what you are doing.
 
Back
Top Bottom