Web lists-archives.com

Re: Disable SATA LPM (Link Power Management)




On Fri, Apr 06, 2018 at 07:05:00PM +0200, basti wrote:
> Hello,
> is there a way to disable LPM for mv_sata driver by commandline?
> 

per-disk, not per-driver:

echo STATE  >  /sys/class/scsi_host/host0/link_power_management_policy


where STATE can be:

max_performance     
medium_power       
med_power_with_dipm
min_power           WARNING: possible data loss

med_power_with_dipm appears in kernel 4.15.

In general, none of these are good ideas. Make backups. Consider
suspend-to-ram and suspend-to-disk if you don't need the system 
active.

-dsr-