The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.
 Next page →

    How to disable hard disk thrashing with Vista

    Discussion in 'Windows OS and Software' started by ari_m, Dec 8, 2007.

  1. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    Hello all,

    I have 64-bit Vista Premium and I'm getting disk access about every 5-10s. I've killed all the usual services associated with the disk, such as indexing, searching, backups, defender.

    I'm attaching a snapshot of the disk use when the system is idle. There are only two processes active: PID=4 (vista kernel?) and PID=992 (Service host.) Under the service host there are only three threads:

    AudioSrv (service=Windows Audio)
    EventLog (service=Windows Event Log)
    wscsvc (service=Security Center)

    I've looked online whether I can disable any of these, and apparently they are required for normal operation.

    My question is, has *anyone* managed to get Vista to be completely quiet? Having the disk thrash like this prevents it from ever going to sleep even though I have the idle timeout on it set to just 1 minute. The thrashing isn't very active, but the drive LED will just blink every 10s or so.

    Thanks!

    -----------------------------------------------------------------------
    Dec 13, 2007 UPDATE:

    - No one has suggested any new solutions to this problem, but that's ok. Do a google search for "constant vista disk access" and you will see the problem is both widespread and seems to have nothing to do with the usual suspects (superfetch, readyboost.)

    - I am hereby requesting that someone post proof of a Vista system with a completely idle HDD when the system is at Idle, perhaps ~10 minutes after boot. Run "perfmon /res" and take a snapshot of the disk access (press ALT-PrintScreen and cut-n-paste into your favorite grahpics program and save as JPG.) Be sure to expand the file column so that all names are fully exposed.

    - If no such proof appears, I am further requesting that someone within the 90-day Microsoft warranty period open a ticket with MS. I bought my system back in August so I can't do it, but I'm hoping someone else cares enough to try solve this issue.

    I'm convinced this is a Vista issue because the XP systems I use allow the disk to be idle once the boot is fully complete. The disk can then be allowed to spin down, resulting in power savings.

    Thanks again!
    -------------------------------------------------------------------------
     

    Attached Files:

  2. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    I have frequent trashing with Vista...No indexing, no Defender, no defrag,etc.
     
  3. jb1007

    jb1007 Full Customization

    Reputations:
    165
    Messages:
    1,230
    Likes Received:
    0
    Trophy Points:
    55
    I've tried everything and to be honest one thing that's worked for me for some reason was changing the hard drive. On my desktop, as soon as I popped in a 7200rpm drive it stopped. Same with my laptop.. I used a 5400 for 3 months and everyday the hard drive would not stop churning.

    I put in a 7200 and did a clean install.. after 2 days it was never thrashing.
     
  4. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    I have a 7200 RPM drive :(
     
  5. CalebSchmerge

    CalebSchmerge Woof NBR Reviewer

    Reputations:
    1,126
    Messages:
    2,395
    Likes Received:
    2
    Trophy Points:
    55
    Isn't this supposed to be addressed in the SP1? I thought I read something that said it would help prevent the system from keeping the disk active.
     
  6. Patrick Y.

    Patrick Y. Go Newbs! NBR Reviewer

    Reputations:
    123
    Messages:
    1,014
    Likes Received:
    0
    Trophy Points:
    55
    SuperFetch??? :confused:
     
  7. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    If you really want to find out what is causing the disk activity go grab the two SysInternals programs filemon and diskmon. They will reveal EXACTLY what is causing the I/O.

    Gary
     
  8. n0elia

    n0elia Come on Haswell...

    Reputations:
    345
    Messages:
    1,361
    Likes Received:
    0
    Trophy Points:
    55
    I read that too. I hope it's true :)
     
  9. Ingvarr

    Ingvarr Notebook Deity

    Reputations:
    292
    Messages:
    1,090
    Likes Received:
    115
    Trophy Points:
    81
    Its true for Hybrid HDDs or for Turbo Memory systems, where there is a flash cache that allows HDD to stay powered down even when programs are writing some data to it.

    Generally even if almost nothing is active, some system processes periodically write stuff to disk or registry, making it necessary to periodically flush data to disk (dangerous to keep it in RAM for too long), creating "rare HDD light blinking". Flash memory on HHDD or ITM eliminates this.

    Also it seems to be power profile depending. Vista seem to siginificantly decrease the disk activity when power profile is set to "battery saving" mode.
     
  10. jbauchet

    jbauchet Notebook Geek

    Reputations:
    4
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    15
    Just an idea: The window in your snapshot is called "resource monitor" but mine is called "performance and reliability monitor" => did you install those performance and reliability patches from Microsoft? I can't remember exactly what they are, but if you google or search this forum you should find all about them easily.

    I don't have HDD trashing, and it might be from one of these patches. Just a guess... Hope it helps!
     
  11. Gobmonster

    Gobmonster Notebook Consultant

    Reputations:
    0
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    30
    My hdd is ALWAYS THRASHING!

    it makes me sick, i have turbo memory, and a ton of ram, but it seem like the disk never stops spinning, i hope this gets fixed by sp1

    ive tried terminating every user process, and a couple system processing to no avail
     
  12. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    I too have the same problem and I am positive that it is the SuperFetch service at this point. For those who don't know, SuperFetch is a caching service that allows the system to "perform better over time". Look it up in your services.

    My disk would get thrashed for the first 15 min after every Vista boot-up, and I noticed in my Task Manager that as it was doing so, my cached RAM was increasing and my free RAM was decreasing. The disk thrashing is most likely due to SuperFetch.
     
  13. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    And how will those programs help? In my initial post I included a screen shot showing exactly what processes are performing disk writes and the associated file names (I ran a program called "perfmon /res" as recommended by some Microsoft MVP.) Diskmon certainly shows nothing except a real time log of every write. I used Sysinternals ProcessExplorer to find out what services remained inside the svchost PID.

    So I already know what it causing the writes: either the Vista kernel itself or one of the three remaining services I listed (none of which I can remove without compromising my system.)

    And yes, I have Superfetch disabled. I have everything disabled that people have mentioned, and even DHCP. None of it makes a lick of difference.

    And yes, my system is patched to the hilt. Anyone have a specific patch in mind that fixes the thrashing issue? I have this patch installed, makes no difference:
    http://support.microsoft.com/?kbid=941649
     
  14. yusky03

    yusky03 Notebook Consultant

    Reputations:
    0
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    30
    The ONLY! time my disk thrashes is when i play sound eather from youtube videos or my collection from wmp and it slows my sistem down. If i play it at max volume my system will become unresponsive for a few seconds at a time. If i am copying files the tranfer rate gets cut in half if not more.
     
  15. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    There is an existing patch for that issue. And SP1 has a big gain in network file transfer throughput.

    Gary
     
  16. AKAJohnDoe

    AKAJohnDoe Mime with Tourette's

    Reputations:
    1,163
    Messages:
    3,017
    Likes Received:
    0
    Trophy Points:
    105
    I run Vista Home Premium, have PreFetch and SuperFetch enabled, and do not experience HDD thrashing.
     
  17. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    Is the disk indeed completely idle? Would you mind posting a screenshot of your performance monitor showing the disk access over a period of ~10 minutes?

    (I've also updated the initial post asking for more such screenshots, hopefully some more people will also step up.)

    Thanks!
     
  18. comper

    comper Notebook Consultant

    Reputations:
    15
    Messages:
    207
    Likes Received:
    0
    Trophy Points:
    30
    Uh, while my disk may not be COMPLETELY idle like you are asking for, it definitely does not mean it is thrashing or making any noise whatsoever.

    Hard disk activity =/= audible disturbance. A completely idle disk would mean you aren't doing anything at all. Who cares at that point? I have absolutely no troubles with Vista's sleep or hibernate features.
     
  19. The Forerunner

    The Forerunner Notebook Virtuoso

    Reputations:
    1,105
    Messages:
    3,061
    Likes Received:
    0
    Trophy Points:
    105
    Vita sp1 is supposed to fix some issues with HD activity.
     
  20. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    With XP the HDD is completely OFF when the system is at idle.

    With Vista, you have the option to have the disk turn off after an idle timeout period (eg. 1 minute, 5 minutes.) What good is that option if the disk is never idle for more than 20 seconds max?

    Sleep works fine for me too, but I'm talking about the case when the system is awake but not doing anything. I care because I would like some additional battery life.
     
  21. SRG01

    SRG01 Notebook Enthusiast

    Reputations:
    0
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    15
    In my experience, the problem is with the ReadyCache service, and not Superfetch.
     
  22. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
  23. eyecon82

    eyecon82 Notebook Deity

    Reputations:
    70
    Messages:
    1,800
    Likes Received:
    0
    Trophy Points:
    55
    I also think that this is associated with the turbo cache and superfetch combined
     
  24. lowlymarine

    lowlymarine Notebook Deity

    Reputations:
    401
    Messages:
    1,422
    Likes Received:
    1
    Trophy Points:
    56
    I have a ThinkPad T61 with Vista Ultimate SP1 RC and 1GB Intel TurboMemory. I still have the constant thrashing. My university is flush with Vista computers, because of course everyone buys a new computer before going off to college, and every single one of them has constant HDD activity. Every bloody one. And unless something is changed in SP1 from RC to RTM, it doesn't fix the problem.
     
  25. Evolution

    Evolution Vox Sola

    Reputations:
    413
    Messages:
    1,293
    Likes Received:
    0
    Trophy Points:
    55
    Hard disk thrashing only occurs on my notebook (vista ultimate) when I first start windows from a "cold boot". This is when superfetch is caching everything into memory this goes on for about ~2 mins. Once it is finished then hard disk activity goes back to normal (like how it was in XP). So to minimize this all I do is use sleep so that everything stays in memory, I hardly ever restart windows unless I have too.

    So I am convinced that it is superfetch alone that is causing this as my notebook doesn't have any turbomemory and I don't use readyboost.
     
  26. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    You've checked every one of them? Want to drive south on I-71 and see one that is NOT thrashing? Please be a bit more precise by what you mean as "constant activity". I am sitting here running SP1 RC1 on a Vaio FZ190 and only see a blink in the HD light once every 15-20 seconds.

    Gary
     
  27. pitz

    pitz Notebook Deity

    Reputations:
    56
    Messages:
    1,034
    Likes Received:
    70
    Trophy Points:
    66
    I had a lot of issues with thrashing, random crashing of Aero (and reversion to the standard Vista interface), and some major issues when playing back Windows Media Player content in web windows and issues when plugging the computer in.

    As of last night, and the latest Windows Vista update, all those issues are gone.

    I don't know what Microsoft did, but their update improved my experience dramatically.
     
  28. eyecon82

    eyecon82 Notebook Deity

    Reputations:
    70
    Messages:
    1,800
    Likes Received:
    0
    Trophy Points:
    55
    what did you do last night?
     
  29. pitz

    pitz Notebook Deity

    Reputations:
    56
    Messages:
    1,034
    Likes Received:
    70
    Trophy Points:
    66
    Microsoft pushed about 300mb of updates to my machine through Windows Update. Don't know exactly what was in the updates, but it made a dramatic difference.

    BTW, I'm running Vista32, so I don't know if my comments are applicable to Vista64.
     
  30. eyecon82

    eyecon82 Notebook Deity

    Reputations:
    70
    Messages:
    1,800
    Likes Received:
    0
    Trophy Points:
    55

    oh i see..yes i had about 200mb worth of updates a few days ago as well. I think it was the office sp1 that was the largest, others were just security updates
     
  31. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    Last night I manually installed this KB patch from Microsoft:
    http://support.microsoft.com/?kbid=943899

    On its own it didn't seem to make any difference (HD was still blinking every 5-10 seconds even after initial flurry of activity following a boot.)

    I turned off prefetch using this Vispa tweaking utility:
    http://vispa.whyeye.org/

    Then I changed all my services according to Viper's 'Tweaked' settings that can be found here:
    http://www.blackviper.com/WinVista/servicecfg.htm

    The only thing I left on Automatic that deviated from the Tweaked settings was the Auto WLAN management - without it my computer wouldn't even boot properly. (I don't remember the name, but it's toward the very end of the list.)

    But now I can enjoy a full minute of NO disk activity whatsoever! :D (Crazy isn't it, I'm sure some Mac user out there is feeling pretty smug right now over all the pain with Vista.) With the Tweaked settings I can still do everything I normally do: browse the web, download photos from my camera, listen to music - the computer behaves well and is 100% usable.

    I'm almost to my goal of having no HD activity at all. The only thing that's left is the write to lastalive0.dat and lastalive1.dat at 1-minute intervals. Anyone know what the heck that is? Examples can be found here, so I'm not the only one seeing this:
    http://forums.microsoft.com/technet...2&siteid=17&sb=0&d=1&at=7&ft=11&tf=0&pageid=1
    http://www.vistax64.com/vista-performance-maintenance/35069-lastalive0-dat-lastalive1-dat.html
     
  32. comper

    comper Notebook Consultant

    Reputations:
    15
    Messages:
    207
    Likes Received:
    0
    Trophy Points:
    30
    Sorry, I thought you were trying to say that with Vista, the HD will make audible disturbance no matter what. How are you testing this? Are you just leaving the performance monitor open and then letting the system sit for however long you set until the disk should turn off? You say you want to gain battery life, but leaving the computer on without doing anything seems kind of odd. Why not just turn off your LCD or put you computer to sleep instead?
     
  33. coolguy

    coolguy Notebook Prophet

    Reputations:
    805
    Messages:
    4,679
    Likes Received:
    12
    Trophy Points:
    106
    My hard drive doesn't make any noise other than the one at start up. I didn't tweak any service profile.
     
  34. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    I'm not worried about the noise, but I don't want my hard drive to wear out from constant access and it is supposed to spin down and park itself if I have set an idle timeout in my power management profile.

    That's exactly how I'm testing it. I open the tool with "perfmon /res", then expand the Disk section and let the system thrash around after booting it. After about 10 minutes activity tapers off and finally it becomes quite quiet. Until yesterday's tweaks the HD would perform an access at least every 5-10 seconds even when the system was at complete idle and powered up.

    Yes, I do put my computer to sleep when I walk away from it and I'm happy with how the sleep works. I just don't want the hard drive chattering away unless there's a good reason for it (eg. virus checking, defrag, opening a program, downloading SW - anything that I have intentionally started or scheduled.) With XP you can expect the HD to also be in a complete idle state once the system has fully booted and I'm hoping I can coerce Vista to behave the same way. Otherwise there's no point in even having an HD idle timeout setting in the first place - the disk will currently never reach the point where the idle timeout would be effective.

    Right now the disk behavior is the same whether I'm plugged in or unplugged. The fact that it still chatters once per minute after all my tweaking is mostly a concern when I'm unplugged. NOTE: I don't actually boot my system very often, perhaps every 2-3 weeks. Most of the time it's just sleeping on my desk when I'm away.

    The daily use scenario I'm thinking of is when I'm reading news in the morning. Maybe I'm not on the machine for very long (~30 minutes), but I'm not really running anything and I'm just reading. I don't see why the HD should be active during that time.

    I'm surprised more people don't think this is a problem and most haven't even noticed this. It's too bad Vista has some other cool features like the built in DVD burning SW or else I would have abandoned it already.
     
  35. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    Would you mind posting a snapshot of your performance monitor showing the disk usage 20 minutes after booting your machine? I'll be very surprised if your HD is actually idle.
     
  36. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    Heh, to me even 15-20 seconds is needless. I would definitely call that "constant activity". You're right there with the rest of us Vista users, albeit more satisfied than most :D
     
  37. -Amadeus Excello-

    -Amadeus Excello- Notebook Evangelist

    Reputations:
    277
    Messages:
    505
    Likes Received:
    0
    Trophy Points:
    0
    What kind of antivirus are you HD thrashers using? Is the a/v set to scan your system at intervals throughout the day?

    Suggestion: Make use of Readyboost (4GB should suffice just nicely), make those pagefiles static (set to one number), and defrag those systems.
     
  38. Ingvarr

    Ingvarr Notebook Deity

    Reputations:
    292
    Messages:
    1,090
    Likes Received:
    115
    Trophy Points:
    81
    Your drive will wear more from single spin up/spin down than from several hours of constant access. Spin up/spin down is a very weary operation, thats why its even a counter in the SMART for it.

    Actually for more people it goes otherwise - they will want to disable automatic spindown (or parking) to prevent the major cause of HDD wear and problems.

    BTW in the power saver profile HDD activity in Vista should automatically be drastically reduced. At least it does for me. I have a Turbo Memory though, though I dont know, maybe ReadyDrive+ReadyBoost have such an impact.
     
  39. ari_m

    ari_m Notebook Consultant

    Reputations:
    10
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    30
    Perhaps you're right about this point.

    Having spent enough time tweaking my system, I'm prepared to give it a rest and just live with the system performance. Maybe SP1 will indeed come with more power saving goodies.

    Thanks for your input everyone!
     
  40. AKAJohnDoe

    AKAJohnDoe Mime with Tourette's

    Reputations:
    1,163
    Messages:
    3,017
    Likes Received:
    0
    Trophy Points:
    105
    Has anyone found the definitive answer to what that pair of lastalive files actually are and do?
     
  41. swarmer

    swarmer beep beep

    Reputations:
    2,071
    Messages:
    5,234
    Likes Received:
    0
    Trophy Points:
    205
    Well I couldn't read the files (due to them being in use) but the resource monitor's disk usage section says it's being used by svchost.exe (services), and gives a process ID (PID), so I checked the Services tab of Task Manager to see what services are running with that PID. They are: Windows Audio, DHCP Client, Windows Event Log, TCP/IP NetBIOS Helper, and Security Center. Just looking at those... my initial hunch is that it's Windows Event Log. Although, with a filename like lastalive[01].dat, and the file size never seems to change... it could be one of the network services I mentioned. Windows Audio and Security Center just don't seem like they'd be likely candidates... but what do I know. I'm sure I could find the culprit by stopping these services one by one... but I'll leave that as an exercise for the reader. ;)
     
  42. AKAJohnDoe

    AKAJohnDoe Mime with Tourette's

    Reputations:
    1,163
    Messages:
    3,017
    Likes Received:
    0
    Trophy Points:
    105
    It looks a little like a brute force method of keeping the disk "awake" to keep hibernation from causing the PC to go into a coma.
     
  43. eyecon82

    eyecon82 Notebook Deity

    Reputations:
    70
    Messages:
    1,800
    Likes Received:
    0
    Trophy Points:
    55
    this whole hd thrashing thing used to bother me..but it doesnt...why? because the computer saves certain tasks for when I am off the computer and I appreciate that...who cares what is going on in ure computer when you're not using it?
     
  44. Fade To Black

    Fade To Black The Bad Ass

    Reputations:
    722
    Messages:
    3,841
    Likes Received:
    1
    Trophy Points:
    106
    The HDD trashing is caused by ReadyBoost and mostly by SuperFetch. It is highly improved in SP1. If anyone wants to install it there is a hack in my signature (for the RTM).
    Windows Server 2008 doesn't suffer from this issue (as it's 6001 and SuperFetch is disabled by default). Microsoft even acknowledged that the HDDs don't spin down when they should with Vista (without patch/SP1), so this is a bug.
     
  45. AKAJohnDoe

    AKAJohnDoe Mime with Tourette's

    Reputations:
    1,163
    Messages:
    3,017
    Likes Received:
    0
    Trophy Points:
    105
    Actually, my HDD does not thrash; I was just curious about those two lastalive files and whether anyone really knew what they were. ;) I don't, other than conjecture.
     
  46. Fade To Black

    Fade To Black The Bad Ass

    Reputations:
    722
    Messages:
    3,841
    Likes Received:
    1
    Trophy Points:
    106
    I was replying to the thread's title.
     
  47. hydra

    hydra Breaks Laptops

    Reputations:
    285
    Messages:
    2,834
    Likes Received:
    3
    Trophy Points:
    56
    LOL, all this is making solid state drives look good, no?
     
  48. Fade To Black

    Fade To Black The Bad Ass

    Reputations:
    722
    Messages:
    3,841
    Likes Received:
    1
    Trophy Points:
    106
    No, it has nothing to do with SSDs.
     
  49. kegobeer

    kegobeer 1 hr late but moving fast

    Reputations:
    836
    Messages:
    3,682
    Likes Received:
    0
    Trophy Points:
    105
  50. hydra

    hydra Breaks Laptops

    Reputations:
    285
    Messages:
    2,834
    Likes Received:
    3
    Trophy Points:
    56
    Of course!
    bad joke..

    After recent updates and two minutes during a restart, drive activity is low.
     
 Next page →