Weekly Edition Return to the Kernel pageSponsored link Serve your customers, not your servers, with VERIO Linux VPS. Full-access test-drive here. |
Laptop mode for 2.6
Some months ago, Jens Axboe posted a "laptop mode" patch for the 2.4
kernel. That patch had never been ported forward to 2.6, until now. Bart
Samwel has picked up the laptop mode baton and posted several versions of a
2.6 patch; the latest, as of this writing, is version 6.
The purpose of the patch is to allow laptop users to get the greatest amount of time out of their batteries by minimizing the time the disk spends spinning. Any Linux conference attendee who has ever lost the race for the available power outlets can't help but appreciate this idea. To keep the disk idle, the patch (along with an associated script) changes system behavior in the following ways:
There is also a separate mode which can be enabled which creates a log message every time a process forces some disk activity. This feature is useful for solving those "why is the disk spinning up" mysteries. An older version of the laptop mode patch is currently in the 2.6.1-rc1-mm2 tree, which suggests that it may yet find its way into a 2.6 kernel. Thousands of power-starved laptop users will be grateful. (Log in to post comments)
Laptop mode for 2.6 Posted Jan 9, 2004 1:15 UTC (Fri) by daenzer (subscriber, #7050) [Link] Looking at the script, it even seems to support XFS now, yay. I'll give it a spin.
Laptop mode for 2.6 Posted Feb 29, 2004 5:03 UTC (Sun) by lynz_addict (guest, #19863) [Link] I think this idea of doing the dirty write work while spinning time, is good. This will certainly save the power consumption.
|
Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.