A
A
Alexander2020-11-14 17:47:11
Hard disks
Alexander, 2020-11-14 17:47:11

Page file - system SSD or non-system HDD?

Found that Win10 unexpectedly moved `pagefile.sys` from drive C (M.2 SSD 256GB on which the system is) to drive D (HDD 1TB)
Why did Win10 do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2020-11-14
@Flart

Usually this is a lack of space, by default the swap file setting is automatic if the user has not changed the settings.
A swap file will not kill your ssd, even very dashman disks can withstand many terabytes of write.
Probably with the exception if you don’t use degenerate cases - for example, if you have 8GB of ram, make a swap for 100GB and use ImDisk to create a virtual disk in memory for all 100GB (in this case, get a very responsive disk with a lazy writes strategy when data is being written to disk do not get to it immediately under any circumstances, even with the write cache disabled, but remain in RAM).
If your applications do not go beyond the boundaries of available RAM, then there is almost no difference where to place the swap file, you will not feel much difference (exception, top-end hardware with tens of thousands of iops, but this is clearly not your case) i.e. place it on an unloaded hdd, throw the hibernate file there, save tens of gigabytes of precious space on a fast disk, otherwise it's better to leave the swap on ssd.

S
Sergey Karbivnichy, 2020-11-14
@hottabxp

Don't listen to people who are stuck in the 90s. Always keep the swap file on the SSD (if there is one, of course), otherwise throw the SSD out the window ( just make sure that it doesn’t fly into anyone’s head ) and use the HDD.

TIP: You don't need to disable the swap file! Without it, some programs simply will not work properly: they may start to crash or refuse to start at all. Keep in mind - if you have a lot of free RAM, Windows will automatically give preference to it, so the paging file will not slow anything down. Yes, in theory having it can cause more writes to your SSD and take up some space on it, but that's not a problem with modern SSDs . In addition, Windows automatically manages the size of virtual memory.

The other day Kingston published an article on Habré - The most common mistakes that people make ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question