Superfetch

pcslookout

Lifer
Mar 18, 2007
11,959
157
106
Does superfetch save your order of programs you use most even if you shut down windows vista ? I can't get sleep to work anymore.
 

krotchy

Golden Member
Mar 29, 2006
1,942
0
76
Superfetch simply loads programs it expects you to use after booting, based on your typical habits. Sleep mode writes your computers current RAM contents to the hard drive. So I suppose anything super fetched should appear post sleep mode.

Not sure what you're asking exactly though.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Does superfetch save your order of programs you use most even if you shut down windows vista ? I can't get sleep to work anymore.

There is almost 0 chance that the two are related, you probably have a driver that has problems with PM.

Sleep mode writes your computers current RAM contents to the hard drive.

Actually sleep, or suspend to RAM, just does what it says, it puts all of the devices into low power mode but still keeps everything in memory so that resume is almost instantaneous. Hibernation is what writes the memory contents to hiberfil.sys and does a complete power off. And if Vista's hibernation is anything like Win2K and XP it loses the filesystem cache when it does that so resuming from that can be sluggish while everything is paged back in.
 

pcslookout

Lifer
Mar 18, 2007
11,959
157
106
I am asking if you shut down windows vista, when you boot back up, does superfetch still know what programs and games you may use at that time of day and have them loaded for you in the ram already so they will load as quickly as possible?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
That's the whole point of it, but I don't think it takes time of day into consideration when deciding what to cache.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Nothinman
That's the whole point of it, but I don't think it takes time of day into consideration when deciding what to cache.

Yes it does, as well as the day of the week. The demo MS likes to do is showing how prefetch caches Outlook mon-fri and then some game (Halflife, naa, probably some MS title) on the weekends.

(We can skip the I run email all the time and I don't only game on weekend retorts, I agree, but it's a demo...)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Yes it does, as well as the day of the week. The demo MS likes to do is showing how prefetch caches Outlook mon-fri and then some game (Halflife, naa, probably some MS title) on the weekends.

Well, I stand corrected although that does seem like overkill.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Nothinman
Yes it does, as well as the day of the week. The demo MS likes to do is showing how prefetch caches Outlook mon-fri and then some game (Halflife, naa, probably some MS title) on the weekends.

Well, I stand corrected although that does seem like overkill.

Well, we are talking about a memory cache (2 gigs perhaps) to cache large drives (say 10 gigs of programs). A MRU or LRU wouldn't account for normal cyclic use cases, so I think it makes a lot of sense.
 

Aqualize

Member
Jul 18, 2001
45
0
0
Originally posted by: Nothinman
Does superfetch save your order of programs you use most even if you shut down windows vista ? I can't get sleep to work anymore.

There is almost 0 chance that the two are related, you probably have a driver that has problems with PM.

Sleep mode writes your computers current RAM contents to the hard drive.

Actually sleep, or suspend to RAM, just does what it says, it puts all of the devices into low power mode but still keeps everything in memory so that resume is almost instantaneous. Hibernation is what writes the memory contents to hiberfil.sys and does a complete power off. And if Vista's hibernation is anything like Win2K and XP it loses the filesystem cache when it does that so resuming from that can be sluggish while everything is paged back in.

The nice thing with Vista's sleep is that it actually writes down to the harddrive, and then go to suspend-to-RAM. So if there is a power loss (or the laptop gets it's battery ripped out) you don't loose your "session". But at the same time you don't need to wait for the long time a normal resume from hibernation takes.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Well, we are talking about a memory cache (2 gigs perhaps) to cache large drives (say 10 gigs of programs). A MRU or LRU wouldn't account for normal cyclic use cases, so I think it makes a lot of sense.

It depends on your usage patterns, I tend to leave 90% of my every day apps open 24/7 so unless something forces them out of memory they'll already be cached.

The nice thing with Vista's sleep is that it actually writes down to the harddrive, and then go to suspend-to-RAM. So if there is a power loss (or the laptop gets it's battery ripped out) you don't loose your "session". But at the same time you don't need to wait for the long time a normal resume from hibernation takes.

In Linux we currently call that suspend2both. But if you have a UPS it's a waste of time since it increases the time to suspend quite a bit.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
It depends on your usage patterns, I tend to leave 90% of my every day apps open 24/7 so unless something forces them out of memory they'll already be cached.

Agreed, so in your case that code path wouldn't be highly excersized :)