Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the difference between initial size versus maximum size? If i set my initial size to 512, then max to 2048 doesnt that mean 512 is allocated but the pagefile.sys can grow to 2048 depending on use? If that is true, what is the difference if i set it to 16 mb vs 512 if it expands anyways?enter image description here

share|improve this question

1 Answer 1

up vote 1 down vote accepted

These options exist in Windows since a very long time. At that time, RAM was scarce, HDD space was scarce, too, and HDDs were real (TM) hardware that took a long time to seek a sector. That means:

  • RAM was scarce: You really needed a page file, and its settings did matter.
  • HDD space was scarce: You didn’t want the page file to be larger than necessary. You did not want to reserve 16 MB on your hard drive just in case you eventually might need them for swapping.
  • Setting a sensibel “Initial size” allowed Windows to reserve a contiguous area on the HDD what reduced head moves and thus was crucial for the performance. (One could say, the page file was created “defragmented”.)
  • Setting a large “Maximum size” allowed programs to run if RAM and initial page file size were not large enough. “Runs very slow” is somewhat better than “Does not run at all”.

This means one needed to find a sensible compromise between disk usage and performance.

Nowadays, computers have lots of RAM, huge disks, and the OS hopefully is installed on a SSD. On the other, when Windows starts to really swap out, performance gets so bad one thinks Windows completely hangs or has crashed. (Performance got even worse in the past, but in the past we were used to.) That’s why these settings are no longer that important.

share|improve this answer
    
So if I set the max to 2048, the only benefit of setting the minimum to 1024 mb vs 16 mb would just be fragmentation? –  agz Oct 17 '13 at 20:30
    
@agz: As far as I know: Yes. But fragmentation of course is not an issue on a SSD. Additionally, there might be a (very small) performance penalty for enlarging the page file, but this is something I do not know. –  Martin Oct 18 '13 at 8:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.