Hard drive sleep issues
|
|
Notes:(All tested on Windows 10 x64) Hard drives tend to go to sleep after just a couple of seconds, completely ignoring Windows power plan settings, even when your notebook is plugged into AC. When this happens and you access your HDDs they need to wake up, and this might happen very often, blocking the whole system on wakeup which usually takes another 2-4 seconds. This issue can be worked around using the Windows version of the 'hdparm' tool by changing the HDD's APM (Advanced Power Management) setting with the -B parameter. You will have to run 'hdparm' with administrator rights and possibly might have to 'Run this program in compatibility mode for: Windows XP (Service Pack 3)' (file properties.) Ignore FAST_CWD warnings if you get any. Assuming you have a notebook with two internal drives (SDD + regular HDD) then your regular HDD would be '/dev/hdb'. You want to check on the current APM level using the following command: hdparm -I /dev/hdb | find "power management level" It will show something like this: "Advanced power management level: unknown setting (0x0080)" where 0x80 (128) is your current harddisk timeout. Play around with the values and change them using this command: hdparm -B 128 /dev/hdb which will make your HDD fall asleep a little slower. Downloads:
Hard drive sleep workaround.zip (20 kB)
8 ¼ years ago
Links:Pictures: (click to enlarge) |