Windows 7 very slow to startup and restore from hibernate

7

2

My Windows 7 64 bit ultimate machine is extremely slow to restore from hibernation. It spends minutes on a black screen with a blinking cursor, longer than to restart. It is also glacially slow to start programs after startup. Once a program has started, it runs great. It used to be faster.

I've done all the usual things to speed up Windows:

  • Defragmented the hard drive
  • Checked the disk for errors and bad blocks
  • Turned off unnecessary startup items
  • Checked for viruses (just Microsoft Security Essentials, no other anti-virus)
  • Turned off indexing
  • Gave it plenty of memory (8 gigs)
  • Uninstalled unnecessary programs
  • Tried turning hibernation off, defragmenting, and on again
  • Dusted out interior and fans
  • Unplugged all other SATA devices
  • Verified the drive is plugged into a SATA II port
  • Switched the SATA II port
  • Changed the SATA cable

I suspect the problem lies with the hard drive, a Western Digital Caviar Green 1.5TB (WD15EADS). The drive isn't exactly a screamer, but it shouldn't be this slow. In the Resource Monitor I see disk response times of 500-1000ms when loading programs. The drive is 75% full.

FWIW the "Windows Experience Index" is all above 7 except the disk which is 5.9.

Some more information... in the Disk tab of Resource Monitor, most of the active I/O processes are MsMpEng.exe.

Yet more information... a lot of the disk I/O is in an svchost.exe process which includes these services:

  • Wlansvc: WLAN AutoConfig
  • UxSms: Desktop Window Manager Session Manager
  • SysMain: Superfetch
  • PcaSvc: Program Compatibility Assistant Service
  • Netman: Network Connections
  • HomeGroupListener
  • hidserv
  • AudioEndpointBuilder

This is a custom build machine. Hardware is...

  • ASRock M3A770DE motherboard
  • AMD Athlon II X3 450 Rana 3.2GHz CPU
  • G.SKILL Ripjaws X Series 2 x 4 gig
  • Antec EarthWatts Green EA-430D Green 430W
  • NVIDIA GeForce GTX 560

I'm out of ideas. What's my next option?

Schwern

Posted 2013-07-14T23:51:16.680

Reputation: 1 978

Windows Defender is NOT anti-virus at least not the Windows 7 version. You want to install Microsoft Security Essentials at the very least. – Ramhound – 2013-07-15T00:56:05.353

@Ramhound My mistake, it's MSE. – Schwern – 2013-07-15T05:38:06.500

Answers

3

What version of the BIOS are you using? If you go onto Toms Hardware there have been a few people with problems booting up with more the 4GB of RAM. Also seems there is some issues with the BIOS on the M3A770DE motherboard as there is an update 1.6 for 4GB instant boot http://www.asrock.com/mb/download.asp?Model=M3A770DE&o=BIOS Might be a quick solution just to see if it is faster with just 4GB if you have two 4GB sticks. Just remove one. My gut feeling is its a BIOS issue or corrupted RAM.

Justin

Posted 2013-07-14T23:51:16.680

Reputation: 146

1I was using 1.70. Upgrading to 1.80 fixed hibernation, now it comes back in about 15 seconds. It also blew away my BIOS settings, so that may have been it. Thank you! – Schwern – 2013-08-23T23:33:56.960

Great stuff. Glad to have helped ! ;-) – Justin – 2013-08-30T08:18:41.333

4

Windows Performance Toolkit

Download Windows ADK, and select during installation only Windows Performance Toolkit. Now you can test with Windows Performance Recorder why it takes you so long to restore from hibernation. In the Performance scenario select the option you need and set the times of iteration to 1. Also uncheck everything on the left. I hope this helps and you find the cause of your problem.

Windows Performance Recorder


Windows Assessment Console

If for some reason Windows Performance Recorder and Analyzer is not enough you could also try the Windows Assessment Console. You can also install it through Windows ADK if I remember right, you have just to select instead of Performance Toolkit the Assessment Console. This one runs for hours and generates tons of XML / WPT data for you to analyze. You need to play a little bit around and find out how the generate the data that is interesting for you to analyse.

Windows Assessment Console


Devid

Posted 2013-07-14T23:51:16.680

Reputation: 5 566

WPR sucks, I prefer the old xbootmgr which adds more details to the ETL, so that you can generate a summary XML. This XML often shows you what is wrong: http://www.msfn.org/board/index.php?showtopic=140247

– magicandre1981 – 2013-07-15T03:57:17.337

I tried this, but couldn't make much of the output. I'll try xbootmgr. – Schwern – 2013-08-16T20:05:42.190

@magicandre1981 I would like to see this as an answer. With some more details how to use and this nice screen where you visually see the delay times – nixda – 2013-08-16T21:49:57.173

@nixda ofter users don't agree and deleted a lot of such replies from my. – magicandre1981 – 2013-08-17T05:46:23.063

@Schwern create the XML and look for long suspend/resume values (remember the values are µs). If you can't read it correctly, upload the (compressed as 7z with LZMA2 and ULTRA) ETL (but use xbootmgr, the new WPR doesn't add the data which are needed to generate the XML). – magicandre1981 – 2013-08-17T05:48:59.620

@magicandre1981 I would also encourage you to post this as an answer. Posting answers in comments side steps the whole StackOverflow system and is stepping on Devid. So far your advice has been good, and it's cramped to get it like this on someone else's answer. – Schwern – 2013-08-17T20:34:41.277

@Schwern do you experience the same problem under other Windows Account? Try to close the internet and then disable Microsoft Security Essentials. Then check again if you experience the same problem. – Devid – 2013-08-17T22:42:31.110

@Devid I've tried disabling MSE to no avail. I'll make another account and try that. What do you mean by "close the internet"? – Schwern – 2013-08-17T22:54:37.857

Looking at the ETL in WPA, there's very little in Services. Under DeviceIO LoginUI.exe, WmiPrvSE.exe and dllhost.exe all take 230 seconds from start to end. I looked into it a bit, seems WmiPrvSE.exe is a common source of problems, but I can't find solutions. – Schwern – 2013-08-17T23:03:36.393

@Schwern closing the internet before disabling MSE is a bit more secure. To disable MSE (Microsoft Security Essential) you have to do it from the services (services.msc). In Windows 8 the service is called Windows Defender Service, i do not remember if it is the same in Windows 7, search the web to be sure. WmiPrvSE might be the problem but check your system a few more times just to be sure. Just to be sure you have downloaded all the updates for your system right ? – Devid – 2013-08-17T23:14:34.590

@Devid What do you mean by "closing the internet"? You mean disconnect my network connection? Yes, Windows Update says everything is up to date. I made a new standard account, it has the same hibernation problem. I disabled both Windows Defender Service and WMI in services.msc, no change. – Schwern – 2013-08-17T23:46:55.103

upload the ETL file (compressed as 7z to your dropbox/skydrive) and I'll post an answer. – magicandre1981 – 2013-08-18T06:16:56.777

Is uploading an ETL file safe? – Schwern – 2013-08-18T20:13:31.727

yes. zip it to reduce the size. – magicandre1981 – 2013-08-19T17:50:59.377

2

Gave it plenty of memory (8 gigs)

Having more RAM could actually make hibernation slower. Hibernation works by writing the contents of the RAM to the harddrive, and while it might not write a full 8GB every time, it will have to manage a larger file on disk.

Even so, this can't account for your issues. My 4GB PC only takes about 15 - 20 seconds to restore from hibernation

My two best guesses here would be it's either a Harddrive issue, like you suggested, or just something unspecified that's gone wonky with your Windows install. How long is it since you installed Windows?

  1. Get your hands on a spare HD.

  2. Swap out the current one for the spare, install fresh Windows on the spare and see if the issue persists.

    • If the issue persists, then something in the hardware (possibly corrupt RAM) is the culprit

    • If the issue is gone, then it was either the drive or the install. So then we move onto step 3.

  3. Try a fresh install of Windows on your existing drive.

    • If the issue persists, then the harddrive itself is at fault.

    • If the issue is gone, then it was just an issue with your install of Windows

Yes, it'll be painful to save and restore 1.1 TB of data. However since you've got a GTX 560 in there I'm guessing it's a gaming rig, so most of that is probably your Steam directory. The good news is you can just copy your steam folder over and back, although you'll still need another drive to do this.

Your motherboard doesn't have USB 3.0 ports, but it does have 4 eSATA ports so I'd suggest you invest in a HD dock that can run over eSATA. You'll get one for around $20-25. This will speed up your backup enormously.

roryok

Posted 2013-07-14T23:51:16.680

Reputation: 672

Yes, it is a gaming rig, and it'll likely be less hassle to just re-download most of the content. I think I will try a clean install. – Schwern – 2013-08-23T11:19:26.910

I may be getting outside the remit of SuperUser here, but I think that a clean install not only fixes most issues like this on windows, but it can also be emotionally helpful. The cluttered mess that everyone's PC eventually becomes can be quite stressful! – roryok – 2013-08-23T14:25:39.543