Reducing SATA power consumption

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Stephan

Well-Known Member
Apr 21, 2017
934
710
93
Germany
This will not work on some configurations, producing write errors and ATA bus errors in kernel log. If you use it, make sure to watch your system log like a HAWK for some days for anything remotely suspicious. There is a reason this is not activated by default.

Also the usually used udev-rule produces errors when USB thumb drivers are inserted, those do not have this tweakable property and the kernel will complain. This udev rule limits the tweaks to AHCI ports:

Code:
# cat 93-sata-lower-power.rules
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{proc_name}=="ahci", ATTR{link_power_management_policy}="med_power_with_dipm"
 
  • Like
Reactions: gb00s

EffrafaxOfWug

Radioactive Member
Feb 12, 2015
1,394
511
113
This seems to be the default on my debian laptop at least, although not my servers.

Edit: after a little digging, this setting is governed by a kernel config option CONFIG_SATA_MOBILE_LPM_POLICY
 
Last edited:
  • Like
Reactions: gb00s