Results 1 to 11 of 11

Thread: Windows 7 Superfetch

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Strelok's Avatar Civitate
    Join Date
    Jul 2008
    Location
    Ontario, Canada
    Posts
    4,143

    Default Windows 7 Superfetch

    Superfetch has been tweaked, quite a bit, since Windows Vista. Superfetch is a service that collects file access habits and writes information to C:\Windows\Prefetch in .db(database) files. Additionally it will intelligenty record the time and frequeny of your file access habits. It will then use this information to efficiently place data into the page cache, rather than only being placed into memory when it is first accessed by the user.

    With any OS worth using that as any sense of a disk cache, it will place small enough files accessed by disk into free memory space that is not being used to feed applications and the OS itself. With the NT kernal it confusingly reports this memory as "free". On Windows Vista and Windows 7, you can view the amount of data in the page cache in Task Manager. Go to the Performance tab and take a look at the number beside the Cached figure under the Physical Memory section. Cached memory is not shown in the main memory usage monitor, that is what applications are using.

    The goal of Superfetch is to intelligently place relevant data into memory before you access them on the disk, to speed up overall operation. It can make disk operations on the first access faster, rather than the second time (since on any other OS it is only placed into available memory space when the disk has already read it once).

    In Windows Vista, Superfetch was aggressive, it would start the process of placing data into the page cache as soon as the Desktop was reached and on every interval when memory was not filled. Although it was thrashing the disk, the service runs at the lowest I/O priority possible and hence shouldn't disrupt disk performance all that much.

    In Windows 7, Superfetch has changed. The first thing to note is that after a reboot, it will wait 6 minutes before beginning it's caching operation. Secondly, it will not place data into the page cache until there is no memory space free. It will only place the very most accessed data into memory. One will notice that on Vista, that almost all memory space had used after a couple of minutes. In the Free figure in Task Manager, you should have only a small amount of memory truly unused. In Windows 7, you will notice that a much smaller amount of data has been cached and the Free figure is much more liberated. On my system, Windows 7 only caches 600MB of data on it's first run, out of 2GB of my memory, minus 200MB for processes and 50MB for kernal usage. The page cache eventually fills up after a couple of hours of me accessing all my data.

    Overall, it is less agressive and tries to be more efficient. I felt the service was more useful in Vista. The disk activity did not noticeably disrupt my system in anyway. The benefit I found to the quickness of the service initializing right after a reboot, is that usually when I go to open Firefox (first thing I do after a reboot), Superfetch would have already cached it and hence it would be read from memory. Now it waits six minutes to do anything.

  2. #2
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default Re: Windows 7 Superfetch

    What's your source for all this? It sounds a lot less efficient than in Vista, if you're right.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  3. #3
    Strelok's Avatar Civitate
    Join Date
    Jul 2008
    Location
    Ontario, Canada
    Posts
    4,143

    Default Re: Windows 7 Superfetch

    Not yet. 'Tis based off of experience with my and my Father's systems. It's not confirmed at all, but I swear I have been checking every possible source for anything. Technet, MSDN, MS employee blogs, multiple search engines. Yesterday I spent the whole day trying to find something. Perhaps someone can help me with this.

    The most I can find is the default explanation of what Superfetch on both OS's aim to do, found here

    As for differences in Windows 7, there are just user blogs and forum posts. One good user-made article is this this which talks about the agressiveness of Superfetch in Windows 7.

    Example of forum posts is here, experiencing the same thing as me, a 5-6 minute delay after a reboot before Superfetch initializes.
    Last edited by Strelok; December 04, 2009 at 04:51 PM.

  4. #4
    Freddie's Avatar The Voice of Reason
    Patrician

    Join Date
    Oct 2004
    Location
    UK
    Posts
    9,534

    Default Re: Windows 7 Superfetch

    Quote Originally Posted by House M.D View Post
    Not yet. 'Tis based off of experience with my and my Father's systems. It's not confirmed at all, but I swear I have been checking every possible source for anything. Technet, MSDN, MS employee blogs, multiple search engines. Yesterday I spent the whole day trying to find something. Perhaps someone can help me with this.

    The most I can find is the default explanation of what Superfetch on both OS's aim to do, found here

    As for differences in Windows 7, there are just user blogs and forum posts. One good user-made article is this this which talks about the agressiveness of Superfetch in Windows 7.

    Example of forum posts is here, experiencing the same thing as me, a 5-6 minute delay after a reboot before Superfetch initializes.

    Have you thought about joining the MSDN? I'm sure there's bound to be a forum for MSDN members that talk about this kind of thing all the time.

  5. #5
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default Re: Windows 7 Superfetch

    Maybe if there's no official source for it, it's because it's not true . . . ?
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  6. #6

    Default Re: Windows 7 Superfetch

    I just read in a blog post on MSDN that by default Superfetch, among other things, is disabled on a Windows 7 PC that has an SSD installed, as yours would. If your SSD has good random read and write times, then that would explain the problem you are having with Superfetch. Basically, Windows doesn't need Superfetch because the SSD is fast enough.

    http://blogs.msdn.com/e7/archive/200...rives-and.aspx (Under the Windows 7 Optimizations and Default Behavior Summary section.)
    RIP Calvin, you won't be forgotten.

  7. #7
    Strelok's Avatar Civitate
    Join Date
    Jul 2008
    Location
    Ontario, Canada
    Posts
    4,143

    Default Re: Windows 7 Superfetch

    Quote Originally Posted by Roman_Man#3 View Post
    I just read in a blog post on MSDN that by default Superfetch, among other things, is disabled on a Windows 7 PC that has an SSD installed, as yours would. If your SSD has good random read and write times, then that would explain the problem you are having with Superfetch. Basically, Windows doesn't need Superfetch because the SSD is fast enough.

    http://blogs.msdn.com/e7/archive/200...rives-and.aspx (Under the Windows 7 Optimizations and Default Behavior Summary section.)
    I took out my SSD before doing this, as I was already aware of the SSD-related changes.

    My memory is still faster than my SSD. The rated access time of my SSD is 30 microseconds, whilst RAM's access time (calculated) is 40 nanoseconds. Plus, my memory can read 2GB/S from a single block, whilst my SSD can do a maximum of 110MB/S.

    I am not saying it is disabled, it is just caching much less and only fills the portion of the page cache after six minutes after a reboot, whilst Vista did it right away. With the way Vista did it, most my applications would be stored in memory before I even launch them, after a reboot.
    Last edited by Strelok; December 24, 2009 at 01:02 AM.

  8. #8
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default Re: Windows 7 Superfetch

    Quote Originally Posted by House M.D View Post
    My memory is still faster than my SSD. The rated access time of my SSD is 30 microseconds, whilst RAM's access time (calculated) is 40 nanoseconds. Plus, my memory can read 2GB/S from a single block, whilst my SSD can do a maximum of 110MB/S.
    Yeah, it's kind of odd. Ubuntu uses sreadahead on SSDs, I'm pretty sure. I don't know why you'd want to disable all this stuff on SSDs.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  9. #9
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Windows 7 Superfetch

    The official engineering blog for Windows 7
    http://blogs.msdn.com/e7/archive/200...rformance.aspx

  10. #10
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Windows 7 Superfetch

    Since we're on this topic, is there a place where I can get a list of all the techy innovations which Win7 improves (or at least carries to fruition) over Vista?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  11. #11
    Strelok's Avatar Civitate
    Join Date
    Jul 2008
    Location
    Ontario, Canada
    Posts
    4,143

    Default Re: Windows 7 Superfetch

    Quote Originally Posted by SigniferOne View Post
    Since we're on this topic, is there a place where I can get a list of all the techy innovations which Win7 improves (or at least carries to fruition) over Vista?
    The link that GrnEyedDevl provided has a lot of information:

    http://blogs.msdn.com/e7/archive/200...rformance.aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •