SuperFetch is a performance enhancement introduced in Microsoft Windows Vista to reduce the time necessary to launch applications. SuperFetch works with the memory manager service in Windows to analyze memory usage patterns over time to determine the optimal memory content for a given user for a date or time of day. This differs from the Prefetch technique used in Microsoft Windows XP, which preloads data into memory without analyzing usage patterns.
From : SuperFetch prioritizes the following kinds of pages to remain in memory:
- Pages of applications that are used most frequently overall.
- Pages of applications that are commonly used when resuming:
- After extensive hibernation (for example, first thing in the morning).
- After shorter periods of sleep or hibernation (for example, after lunch).
Because SuperFetch appears to leave a system with no available memory, some users turn it off to create the appearance of having more free memory. The feature can be configured by changing the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnableSuperfetch Registry key . A value of zero disables SuperFetch, one enables it for booting only, two for applications, and three for both applications and boot. This setting can also be changed using the Services console, services.msc .
Data for SuperFetch is gathered by the %SystemRoot%\System32\Sysmain.dll, part of the Service Host process, %SystemRoot%\System32\Svchost.exe, and stored in a series of files in the %SystemRoot%\Prefetch directory . These files appear to start with the prefix Ag and have a .db extension. Note that there are likely more SuperFetch database files named differently, presumably all using the .db extension.
The SuperFetch feature is seeded with some basic usage patterns when the operating system is installed .
- Wikipedia: Windows Vista I/O technologies - SuperFetch
- Channel 9 Interview with Michael Fortin of Microsoft on SuperFetch
- Microsoft Predicts The Future With Vista's SuperFetch from Information Week
- DC3 Presentation: My You Look SuperFetching, by Jesse Kornblum