Bug 36956 - Default DRIVE_POWER_MGMT_BAT is bad
Summary: Default DRIVE_POWER_MGMT_BAT is bad
Status: RESOLVED WONTFIX
Alias: None
Product: pm-utils
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 02:46 UTC by bay
Modified: 2018-06-29 19:57 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description bay 2011-05-08 02:46:08 UTC
In http://cgit.freedesktop.org/pm-utils/tree/pm/power.d/harddrive:
DRIVE_POWER_MGMT_BAT="${DRIVE_POWER_MGMT_BAT:-1}"

This default value causes hdd spin-ups/spin-downs every minute. This can't be a good for a drive and it creates 2 second delay whenever user do something, while it waits for the HDD to spin up.

There are lot of discussions about it:
http://www.google.com/search?q=Load_Cycle_Count

I think the default value should be increased to 128 because value 1 is bad for hard drive, causes a delay, and likely don't extend the battery live time(because spin up consumes a lot of energy).
Comment 1 Enrico Tagliavini 2012-11-10 19:15:51 UTC
I totally agree with the original reporter. Setting APM to 1 by default on battery is almost insane. This will make the harddrive to spin down every few seconds of inactivity. The user expirience in this case is very bad. Every now and then the pc freeze while the drive spins up again.

A more sane default might be 128, but also 127, or in the middle of 1 and 128. Spin down, if done ot a sane frequency, is not a bad thing.

Please correct this issue. pm-utils is used by almost every linux running with HDDs.

For a quick workaround just create a file in /etc/pm/conf.d and write DRIVE_POWER_MGMT_BAT=128 (or whatever you like) in it:
echo DRIVE_POWER_MGMT_BAT=128 > /etc/pm/conf.d/localhdd
Comment 2 Adam Jackson 2018-06-29 19:57:19 UTC
pm-utils hasn't been touched in eight years, none of this is likely to get addressed. Closing bugs and disabling the bz product.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.