[ltp] Aggressive Powersaving

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Tue, 9 Feb 2010 23:53:22 +0100


On Tue, Feb 09, 2010 at 22:20:36 +0000, Pedro Ribeiro wrote:

[...]

> Can you get it to work properly with XFS on .32 or .33? I can't spin
> down my hard drive for more than 20 seconds... even with laptop mode.

I use ext3 and ext4, but I saw some XFS related stuff in the
laptop_mode helper script:

    # (2.6.7 upwards)
    # And not for these either. These are in centisecs,
    # not USER_HZ, so we have to use $AGE, not $XFS_AGE.
    echo $AGE > /proc/sys/fs/xfs/age_buffer_centisecs
    echo $AGE > /proc/sys/fs/xfs/xfssyncd_centisecs
    echo 3000 > /proc/sys/fs/xfs/xfsbufd_centisecs

Regards,
Tino