Disable the page file to avoid using the slow HDD
19 June 2002 by Snakefoot | Comment » | Trackback OffIt is possible to disable the page file, but it is not recommended.
More Info MS KB Q316528
More Info MS KB Q259184
More Info MS KB Q196839
- Disabling the page file will put a hard limit on the available virtual memory. Thus in extreme situations there will be no page file working as safety net.
- Disabling the page file will cause some applications to stop working, or make them behave odd.
- Even when the page file is disabled, then the operating system will still be paging when needing to load other files (EXE,DLL,etc.) into RAM.
- The Performance Monitor (PerfMon) depends on the pagefile and requires minimum a 2 MB pagefile or else the counters will be missing for the following objects: Cache, Memory, Objects, Processor and System.
- If booting from a readonly media (Like a CD-ROM) where there is no available writeable media (Like an embedded device).
- If having an insane amount of memory compared to the most extreme memory usage expected. The paging algorithm is rather eager to page out memory, to have as much memory available for the 'awaiting' extreme situation, independent of how much memory there is available already. This hurts performance if using an application that is very memory intensive, but doesn't access all the memory constantly, thus generating many page faults. Though usually the problems with running without a pagefile will cancel out the gain.
- Start Button -> Settings -> Control Panel -> System -> Performance tab -> Virtual Memory.
- Select "Let me specify my own virtual memory settings".
- Select "Disable virtual memory (Not recommended)".
- Start Button -> Control Panel -> Performance and Maintenance -> System -> Advanced.
- Under the "Performance" section press "Settings" button.
- Under the "Virtual Memory" section press the "Change..." button.
- Select "No paging file" for all drives.
- Start Button -> Control Panel -> System-applet -> Advanced System Setting-task -> Advanced-tab -> Performance Settings...-button -> Advanced-tab -> Virtual Memory Change...-button (phew).
- Untick "Automatically manage paging file size for all drives"
- Select "No paging file" for all drives.
More Info MS KB Q316528
More Info MS KB Q259184
More Info MS KB Q196839
Tags:
Category:
Updated: 17 June 2008