[Gllug] Hard drive spindown

Paul Nasrat pauln at truemesh.com
Wed Nov 12 11:43:55 UTC 2003


On Wed, Nov 12, 2003 at 09:24:33AM +0000, Richard Jones wrote:
> On Thu, Nov 06, 2003 at 04:16:47PM +0000, Nix wrote:
> > On Thu, 06 Nov 2003, Martin A. Brooks yowled:
> > > You'll need to use noflushd.
> > And mount things with noatime (particularly whatever fs /dev is on).
> 
> Unfortunately it seems that noflushd is incompatible with journaling
> filesystems (I'm using ext3), so it looks like there is no solution to
> my problem.

Hmm, have a look at the laptop-mode patches in the current fedora kernel
src.rpm, they may help from the release notes:

 The Fedora Core 1 kernel now includes support for laptop mode. When
placed in laptop mode, the kernel batches disk I/O, allowing the disk
drive to become idle long enough for the drive's power-saving features
to take affect. This can result in significant increases in battery
runtime.
 
To enable laptop mode, issue the following command:
echo 1 > /proc/sys/vm/laptop_mode
To disable laptop mode, issue the following command:
echo 0 > /proc/sys/vm/laptop_mode
 
NOTE: The APM scripts included with Fedora Core 1 automatically
enable laptop mode when switching to battery power.

Paul

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list