Re: [rfc] "laptop mode"

Andreas Dilger (adilger@clusterfs.com)
Tue, 4 Jun 2002 17:31:24 -0600


On Jun 04, 2002 15:54 -0700, Andrew Morton wrote:
> laptop_writeback_centisecs
> --------------------------
>
> This tunable determines the maximum age of dirty data when the machine
> is operating in Laptop mode. The default value is 30000 - five
> minutes. This means that if applications are generating a small amount
> of write traffic, the disk will spin up once per five minutes.

Just FYI, this is probably an optimally bad choice for the default disk
spinup interval, as many laptops spindown timers in the same ballpark.
I would say 15-20 minutes or more, unless there is a huge amount of
VM pressure or something. Otherwise, you will quickly have a dead
laptop harddrive from the overly-frequent spinup/down cycles.

Yes, minutae, I know. Otherwise a nice idea.

Cheers, Andreas

--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/