A default installation of Windows 7 or Server 2008 R2 is configured to generate a kernel memory dump and also with a system-managed paging file size. So a paging file equal to RAM is plenty
. If you decide that you want to capture a complete memory dump, simply change the dump option to "Complete memory dump" and restart (be sure to leave the paging file size as system-managed
). After the restart the paging file should be RAM + 300 MB. This applies to both client and server SKUs."
ASKPERF - Windows 7 / Windows Server 2008 R2: Upgrade Paths, Registry Enhancements, Crash Dumps and Page File Sizing
One hard drive:
If you only have one hard drive or your other drives are significantly slower than your OS drive. Leave it alone.
Two hard drives:
The second drive should be near as fast or faster than the OS drive or there is no reason to do this.
Make 2 page files, one on the OS drive, one on the first partition of the second drive. The page file on the OS drive should be at least 300MB. The second page file should be equal to the amount of RAM (physical memory) or System managed size (preferred).
***Author's note - Based on emails I've received I do not seem to be making myself clear. If you have one hard drive DO NOT MOVE OR MAKE A SECOND PAGE FILE. If you have 2 drives and you make a second page file you should leave at least a small page file on the OS partition. The second page file should be on the FIRST PARTITION of the second drive.
2GB of RAM, 300MB pagefile on OS drive, System managed pagefile on 2nd drive
My recommendation: Unless you have a fast RAID setup or SSD then don't mess with it.
"In Windows 7, SuperFetch is automatically enabled for disks that have a low Windows Experience Disk Score and disabled for disks that have a high score. During performance testing, you should use the default SuperFetch setting because it represents actual end-user experience. SuperFetch adds the prefetched pages to the systemâ€™s standby page list, which has been reorganized and redesigned to retain useful data in memory over longer periods of time. Both Windows 7 and Windows Vista set priorities for pages on the standby list so that historically important pages remain in memory and less frequently used pages do not. For example, the prefetched pages of a frequently used program have a higher priority than those of a recently copied file that might not be used again."
Performance Testing Guide for Windows
"If the system disk is an SSD, and the SSD performs adequately on random reads and doesnâ€™t have glaring performance issues with random writes or flushes, then Superfetch, boot prefetching, application launch prefetching, ReadyBoost and ReadDrive will all be disabled." Engineering Windows 7 - Support and Q&A for Solid-State Drives
One problem with the above 2 statements . I have an SSD disk (specifically the Intel X25-M Generation 2). My Windows Experience score for Primary hard disk is 7.7 (out a possible 7.9). Windows 7 did not disable the service nor adjust the registry settings. It is visible via Task Manager (SysMain) and actively using system resources. I'm interested if anyone has had Windows 7 disable this as they claim. I would also like to know what qualifies as a high "Windows Experience Disk Score" according to Microsoft.
Superfetch Improvements For Windows 7
"During Windows7 development, we made a number of improvements to how Superfetch manages memory. Many of these changes were directly in response to customer comments. At a high level, some of these improvements are as follows:
(1) Be quieter: Even though Superfetch always utilizes low-priority I/O for its memory population in order to avoid interfering with foreground activity, we found that many users get annoyed at hearing the disk activity and seeing the disk light blink. In Windows7, Superfetch is a lot more respectful of user presence.
(2) Be more selective: In Windows7, Superfetch still populates the OS cache with frequently-accessed data from the disk and prioritizes RAM contents, but the underlying algorithms have been improved over Vista. As a result, Superfetch now typically prefetches a smaller, but more relevant volume of data from the disk and prioritizes memory more effectively.
Overall, our results (from a number of users over weeks) indicate that disk activity due to Superfetch is significantly lower in Windows7 compared to Vista while system responsiveness is much improved due to fewer hard page faults from the pagefile and other files." Mehmet Iyigun - Principal Development Lead at Microsoft
To Disable Superfetch simply disable the service:
Press the Windows + R
keys > type services.msc
> double-click on the Superfetch
service > set Startup type to disabled
then Stop the service or reboot.