H
H
Holax2020-09-02 14:40:52
Windows
Holax, 2020-09-02 14:40:52

Swap file on OS Windows 10 and its impact on device autonomy?

I would like to know if the presence of a paging file on a laptop as a whole affects the autonomy of the device, and is there any point in turning it off in order to save battery?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Danny Arty, 2020-09-02
@Holax

How many people - so many opinions. Regarding the swap file, the situation is the same, but many do not recommend disabling it, the main thing is to set the optimal size, unless of course you have a lot of RAM. Otherwise, some applications may crash or, in principle, not start.
Regarding the optimal size, here is part of an article by Mark Russinovich (programmer and Windows specialist):

Perhaps one of the most frequently asked questions related to virtual memory is how big should the swap file be? There is no end to the ridiculous advice on the Internet and on newsstands about Windows, and even Microsoft has published misleading recommendations. Almost all suggestions are based on multiplying the amount of RAM by some factor, with common values ​​being 1.2, 1.5, and 2. Now that you understand the role of the page file in determining the system commit limit and how processes contribute to commit fees, you well understand how useless such formulas really are.
Because the commit limit sets an upper bound on how much private pagefile-enabled virtual memory can be allocated by concurrently running processes, the only way to reasonably size the pagefile is to find out the maximum total commit size for programs you want to have running at the same time. If the commit limit is less than this number, your programs won't be able to allocate the virtual memory they want and won't be able to work properly.
So how do you know how many commits your workload requires? You may have noticed in the screenshots that Windows keeps track of this number, and Process Explorer shows it: Peak Commit Charge. For an optimal swap file size, you should run all the applications you run at the same time, download typical datasets, and then note the charge fixation peak (or look at this value after a certain period of time, when you know that the maximum load has been reached), Set the minimum swap file value to this value minus the amount of RAM on your system (if the value is negative, select the minimum size to allow the type of crash dump you configured for). If you want to have a breather for potentially large commit requirements, set the maximum,

Regarding the autonomy of the laptop - there will be no differences.

A
Andrey Barbolin, 2020-09-02
@dronmaxman

> does the presence of a paging file on a laptop as a whole
affect the autonomy of the device, if it does, then it is very scanty
> does it make sense to turn it
off when the paging file is turned off, you will get unstable work.

A
Artem @Jump, 2020-09-02
curated by the

No.
It does not affect autonomy in any way.
There is no point in turning it off to save energy.
In general, disabling the paging file rarely makes sense; on a normal home / work computer, such situations do not happen at all.

Y
Yan, 2020-09-02
@Slayer_nn

My paging file is disabled. Everything is stable
Never had to turn it on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question