[ltp] Aggressive Powersaving

Tino Keitel linux-thinkpad@linux-thinkpad.org
Wed, 10 Feb 2010 12:01:12 +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