From owner-freebsd-current@FreeBSD.ORG Tue Mar 17 12:28:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44C21106564A for ; Tue, 17 Mar 2009 12:28:53 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 1912E8FC0A for ; Tue, 17 Mar 2009 12:28:53 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so3507899wfd.7 for ; Tue, 17 Mar 2009 05:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1dQkEVaKUTHeIXUmPRrXBRYwk54mOgt4mUA7e8ymLWc=; b=HMLNE0lZ+r/WI25N/aNOKR4ZmQeGYXeRBcH+pSIG1P3Wyqk6e2n+BMwiATe+aO6qlF /WfoPnknyDZ534rqlnepBOIpk50WobO+xclfrMrwsoC+NzNrgv2a9hJb1y81rujwUidl 9m2xQj1l9wtC9gNMMzgisWqlgaudS1xj4O8No= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KIKIrY4PD2seYv2EbH82w4qrosoK3Q+Cmdg8E5iT2CvfDoAhXKn3JPFulJBn3TNZ4/ BJyk9Yo0SqMSUcGjaqt9519qmSEQ6BVlrHRKNO+o1BPo2OCqH/8JyCLMWDqZCrExzihQ tbyno5YkOtoYx6+9IOY2bVR7I2/297T2vWgaU= MIME-Version: 1.0 Received: by 10.142.71.16 with SMTP id t16mr2745582wfa.273.1237292932816; Tue, 17 Mar 2009 05:28:52 -0700 (PDT) In-Reply-To: <49BEB449.9090302@googlemail.com> References: <49BE7C5A.2080103@icyb.net.ua> <49BEB449.9090302@googlemail.com> Date: Tue, 17 Mar 2009 05:28:52 -0700 Message-ID: <7d6fde3d0903170528g656e9edfn4fe5afc013c42999@mail.gmail.com> From: Garrett Cooper To: "army.of.root" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Andriy Gapon Subject: Re: ata: printf on every spinup/spindown? 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, 17 Mar 2009 12:28:53 -0000 On Mon, Mar 16, 2009 at 1:19 PM, army.of.root wrote: > Andriy Gapon wrote: >> >> I am playing with ata spindown feature and I think that it is really >> unnecessary >> to print a message each time ata driver is going to spindown a disk or let >> it be >> spinned up: >> ad6: Idle, spin down >> ad6: request while spun down, starting. >> ad6: drive spun down. >> ad6: Idle, spin down >> ad6: request while spun down, starting. >> >> Especially this is not useful when "Idle, spin down" messages are going >> spin up >> the disk via syslog logging to disk :-) >> >> Maybe put these under verboseboot if not drop entirely? >> > > Hi, > > yah, I had some unpleasant experience with spinning down disks. That really > is only useful for backup disks or similar disks which are not accessed > frequently or used by any programs. > > :) The HDD consumes in Idle mode only something like 1W so it isnt really > economic to spin it down. Spinning down to a lower RPM seems legitimate, compared to spinning it down, which kills the drives. Look at WD's green drives -- they claim to get 30% ~ 50% better power efficiency than standard drives. It may not seem like much, but HDD's really kill laptop batteries and also really suck up juice in data centers. Any way to reduce energy consumption without killing off hardware is really good in my book 8-). Thanks PHK! -Garrett