From owner-freebsd-current@FreeBSD.ORG Tue Feb 5 13:29:45 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D057716A419; Tue, 5 Feb 2008 13:29:45 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id B8CA413C457; Tue, 5 Feb 2008 13:29:44 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m15D5tpI027516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Feb 2008 13:05:56 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47A85FA5.9050704@unsane.co.uk> Date: Tue, 05 Feb 2008 13:07:49 +0000 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.9 (X11/20080124) MIME-Version: 1.0 To: Kostik Belousov References: <20080205130210.GQ57756@deviant.kiev.zoral.com.ua> In-Reply-To: <20080205130210.GQ57756@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, sos@freebsd.org Subject: Re: Load_Cycle_Count and ATA APM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 13:29:45 -0000 Kostik Belousov wrote: > I noted that when idle, my laptop HDD increases the Load_Cycle_Count > (193) approx. each ten seconds, as reported by smartctl. Have recently > read about the Ubuntu and APM mode for hard drives, I searched for the > tool to tune APM (that has functionality similar to linux' hdparm -B). > > It seems that FreeBSD does not have a tool ? Am I wrong ? In case I did > not make a mistake, below is the patch that allows to manage APM state > of the hard drive using atacontrol. > /usr/ports/sysutils/ataidle exists and is usable, (I use it on my laptop.) However it seems it could be a sensible thing to have in atacontrol. Vince > Any comments or objections against committing this ? > http://people.freebsd.org/~kib/misc/ata_setcap.1.patch