From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ducrot Bruno Subject: Re: ACPI + Laptop Power Management Date: Fri, 21 Nov 2003 11:12:32 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20031121101232.GL32464@poupinou.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ow Mun Heng Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Fri, Nov 21, 2003 at 12:01:03PM +0800, Ow Mun Heng wrote: > Hi, > > This is a question (not a solution) to determine how to gain maximum > batt life on a laptop. > > More details on http://bellet.info/~bellet/laptop/t40.html > > Currently, following the recommendations in the link above, I have set > 'noatime' for my HDs as well as placing commit=600. > > so in /etc/fstab > > /dev/hda / etx3 defaults,noatime,commit=600 1 1 > > The commit=600 is supposed to stop Kjournal from committing to disk every 5 > seconds and to give a chance to the HD to spin down (not happening!) (can > check via hdparm -C /dev/hda) > > Doing a hdparm -y /dev/hda (to place the disk into standby) will only work > for like 10-30 seconds before it spins up again. I have no idea what is > causing it to spin up again.. (what I/O is going on??) > > There is the option of changing bdflush as well, changing this (5th & 6th) > to 6000 & 12000 does not yield anything better > I'm using laptop-mode which is now in linux-2.4 since 2.4.23-pre7. You should really look at. Look at linux/Documentation/laptop-mode.txt for more details. -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/