From owner-freebsd-mobile Wed Dec 19 3: 0:27 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from tabby.kudra.com (gw.kudra.com [199.6.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 19DD737B405 for ; Wed, 19 Dec 2001 03:00:23 -0800 (PST) Received: (from robert@localhost) by tabby.kudra.com (8.11.6/8.11.5) id fBJB0Mo72645; Wed, 19 Dec 2001 06:00:22 -0500 (EST) (envelope-from robert) Date: Wed, 19 Dec 2001 06:00:22 -0500 From: Robert Sexton To: freebsd-mobile@FreeBSD.ORG Cc: hanspeter_roth@hotmail.com Subject: Re: IDE standby timeout (hdparm) Message-ID: <20011219060022.A72034@kudra.com> References: <20011219104954.A5747@bs82.bsag.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011219104954.A5747@bs82.bsag.ch>; from hanspeter_roth@hotmail.com on Wed, Dec 19, 2001 at 10:49:54AM +0100 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Dec 19, 2001 at 10:49:54AM +0100, Hanspeter Roth wrote: > > Hello, > > is it possible to finetune the standby timeout (spindown) of > IDE-disks? > -Hanspeter As far as I know, the answer is still no. But heres a patch (good against -CURRENT and recent -STABLE that adds it. To activate the patch, put the following in /boot/loader.conf: hw.ata.suspend=180 # 180 seconds I've found that a few things make a big difference in getting the disk to spin down and stay that way. /etc/syslog.conf - needless logging Its also good to look over /etc/crontab. Theres stuff in there that isn't so important. newsyslog can run daily instead of hourly. You may want to disable 'at' altogether. Lastly, consider turning in 'noatime' for all of your filesystems in /etc/fstab. I used to fiddle with the syncer parameters, but I found that it didn't do as much good as eliminating a lot of the background IO. Since I made these changes, my machine routinely spins down the disk, and it generally stays down when I'm not actively using the machine. For some reason, using ssh always seems to spin up the disk, even when I connect to machine that I recently connected to. -- Robert Sexton - robert@kudra.com, Cincinnati OH, USA Put your Nose to the Grindstone! -- Amalgamated Plastic Surgeons and Toolmakers, Ltd. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message