From owner-freebsd-current@FreeBSD.ORG Tue Feb 5 13:45:18 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 5FBA516A473; Tue, 5 Feb 2008 13:45:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 06F5A13C516; Tue, 5 Feb 2008 13:45:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JMO6p-0006Pw-D4; Tue, 05 Feb 2008 15:45:17 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id m15DipQ3072615 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Feb 2008 15:44:51 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m15DjA7d018041; Tue, 5 Feb 2008 15:45:10 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m15DjA07018040; Tue, 5 Feb 2008 15:45:10 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 5 Feb 2008 15:45:10 +0200 From: Kostik Belousov To: Vince Hoffman Message-ID: <20080205134510.GR57756@deviant.kiev.zoral.com.ua> References: <20080205130210.GQ57756@deviant.kiev.zoral.com.ua> <47A85FA5.9050704@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JCpo+QZzvOT3juay" Content-Disposition: inline In-Reply-To: <47A85FA5.9050704@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Scanner-Signature: bb9f355b5be917825c280d06cf0e20ab X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2171 [Feb 05 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release 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:45:18 -0000 --JCpo+QZzvOT3juay Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 05, 2008 at 01:07:49PM +0000, Vince Hoffman wrote: > 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). > >=20 > > 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. > >=20 > /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. I never looked into it, and I have heard that it has an architectural problems. BTW intent of my patch is to have the ability to turn APM off. Can ataidle do this ? >=20 > Vince >=20 > > Any comments or objections against committing this ? > > http://people.freebsd.org/~kib/misc/ata_setcap.1.patch --JCpo+QZzvOT3juay Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkeoaGUACgkQC3+MBN1Mb4hHogCdEbMbor0ZLkOPA/G1GIxrgzBq tzsAn3Es4Pa4Mp7/1i4E5XibFrJHvFod =sCKb -----END PGP SIGNATURE----- --JCpo+QZzvOT3juay--