Page file, set manually, or let Windows manage?

Configure and optimize you computer for Audio.
RELATED
PRODUCTS

Post

shoma wrote:Have you ever heard of "tuning myths"...?

http://www.windows7hacker.com/index.php ... windows-7/
Yes, and I think it's a myth (namely the part that disabling superfetch is a performance tuning myth).

That's based on (1) actually testing and (2) understanding of how disk caching and memory managers work.

Superfetch is designed to improve the situation where you come to work every morning, start your Excel and Outlook and work on the same few spreadsheets from 9 to 5, until you shut down your computer and go home, only to repeat it next day. For this purpose it works remarkably well and if that's what you do, sure keep it on. It will preload Excel and Outlook and the same few spreadsheets for you before you actually open them, and everything appears to be fast.

Unfortunately as soon as your disk access patterns are even slightly less predictable, it tends to cause a lot of "predictive" reads that in practice end up throwing out useable caches. If you additionally keep your computer running (you can suspend if you want, the point is to avoid cold starts unless you're applying patches) then after a day or two (in practice usually faster than that), everything should be in caches. At this point you should not need to touch the disk AT ALL (assuming your system has sensible amount of memory, ofcourse). When you start your browser, there should be no disk reads, so there's nothing for Superfetch to prefetch. Unfortunately, try that with Superfetch, and you'll still be reading the disks all the time.

In Win7 they improved it a bit; it seems not to be quite as aggressive. In Vista it's absolute bullshit.

Post

mystran wrote:if the swap space isn't at least slightly larger than the physical RAM (eg at least 1.5 to 2 times or so), then the memory manager will have to go through a lot of pointless shuffling in order to actually use the swap for anything. You definitely don't want that to happen (similar considerations actually apply for disabling swap completely, even if you had a ridiculous amount of RAM).
What shuffling happens when there's no page file? What is there to shuffle?

Post

Maybe reading oft these articles by Sysinternals programmer Mark Russinovich and this article by toms hardware will help understanding a lot more...

http://blogs.technet.com/b/markrussinov ... 92070.aspx

http://www.tomshardware.com/reviews/win ... ,1532.html

Post

geroyannis wrote:
mystran wrote:if the swap space isn't at least slightly larger than the physical RAM (eg at least 1.5 to 2 times or so), then the memory manager will have to go through a lot of pointless shuffling in order to actually use the swap for anything. You definitely don't want that to happen (similar considerations actually apply for disabling swap completely, even if you had a ridiculous amount of RAM).
What shuffling happens when there's no page file? What is there to shuffle?
Not necessarily shuffling in this case, but it's possible (for a memory manager) to do plenty of optimizations if you have a swap file (even if strictly you don't need it) that are no longer valid if you don't have one. Consequently Microsoft explicitly recommends you not to disable page file, because the memory manager in NT is designed to work optimally when there is one.

On top of that, sometimes you might have lots of memory allocated, that holds some data which is used very rarely (eg couple of hundred MB of stuff we access once per hour or whatever; you might even allocate memory at system startup that will be used next time when the system shuts down.. but if there's no page file this has to stay in RAM). In this case it's (quite obviously) beneficial to swap that, because we then have more memory to do things that actually matter (eg most obviously those caches).

Post

You don't need superfetch only if you have an SSD disk.

Post

A related story:

I installed a crapton of ram a while back.
Win7x64 attempted to automatically and without any notification adjust the size of my pagefile accordingly. But, there was not enough room on the C drive, so it went to the next one. There was not enough space on there either, so it went to the next one, and put the page file there. It did all this without a single pop up or any kind of notification at all. You decide whether that is good or bad.

After that, I experimented with the location and size and existence of the pagefile, and I seriously could not detect much difference at all, with any app, under any load, whether there was a pagefile, where it was, how big it was, etc. :shrug:

At some point someone mentioned that Photoshop will 'not work' without a pagefile. Not true, at all, in my experience... :roll:
Im sure there are some, but I personally could not find a single program that had any problem not having a pagefile.
ImageImageImageImage

Post Reply

Return to “Computer Setup and System Configuration”