From owner-freebsd-questions@FreeBSD.ORG Fri Nov 13 20:15:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D0A61065672 for ; Fri, 13 Nov 2009 20:15:56 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65506.mail.ac4.yahoo.com (web65506.mail.ac4.yahoo.com [76.13.9.50]) by mx1.freebsd.org (Postfix) with SMTP id EDEC28FC08 for ; Fri, 13 Nov 2009 20:15:54 +0000 (UTC) Received: (qmail 92997 invoked by uid 60001); 13 Nov 2009 20:15:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258143353; bh=ld+U1NLxQDMBCUDIZKNvgX8uC5K+sK6mOaxebv3xizI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=6kpQqBbViVkAe6YfdwLXuKmbCMJHxaM6ejpNSJxEqle4vhto5Nmy61jkAESHI26bcMVk89zejEjiLovKEhMw4QetaIj22aYhrVa9z08GXVyggyrpA2ne5iDtQy7CiaeY0+LRJa53rKHivIb5VYQFDDuSZT9Pcoh1CbCQjU8xCV8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=h6/GijWjqX9mTMxeiTEY/VhgRRNq9lnmrJz//S2LnLe5U6rKRFew2/kZjBXfvgd37ih2o/mXDkYlmuRew5L7ztbbOGcPTUw8Hdgs2ngCYm5D1O3zdTLwAjF5MtgQ01r+B1zzZ4HdmbmfKkTaqzJ1or6ehFEj29qeRAjmK3KYzxk=; Message-ID: <474730.92984.qm@web65506.mail.ac4.yahoo.com> X-YMail-OSG: ZGITiTIVM1kzc9H2bDYgO6wpYqEficypMy5yZouvI57D31RevxIS8mYxtwoyGeeQmcygIm56a6ZGNaibPgtdD3x0N6NOln.bwNjaXb6qb82Uq6cK7ZGOIXSpiCwDdw5USsJaLH2KbHjDNclmm9Kra2IDEtWs3NFeYBfNlyvLwOO.vnwTRJil4XKcENzDHjc55zG_aPYJr_SUuI4aL4HcLIE.QQFYT30LmcV.dfQVLgzskldWv4N.z9PJemtMEr5F5B0gC6xqVCspikk4mqa.57KWxSyoUUKrA7qbQjMCLJlqvh5Ta9BM_WIaEPX6ytwf3kMTVM19m9T6j.EQ8ZPLxANCfOcpalaIGVWP_1_XlF3zZqAM_uUEP0FSo2K2E_pnBjl2g1fHGi5PNfslMH4nr5CLEquQ5hHb7.4l4xnMpe9YqiL3_XOV2imF5qJXKB3uxvtk Received: from [208.99.137.71] by web65506.mail.ac4.yahoo.com via HTTP; Fri, 13 Nov 2009 12:15:53 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Fri, 13 Nov 2009 12:15:53 -0800 (PST) From: James Phillips To: freebsd-questions@freebsd.org In-Reply-To: <20091113120016.DDE941065720@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: APM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 20:15:56 -0000 > Date: Thu, 12 Nov 2009 10:28:10 -0800 (PST) > From: James Phillips > Subject: APM > To: freebsd-questions@freebsd.org > Message-ID: <784120.47330.qm@web65508.mail.ac4.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > > I realize the memory can't be shutdown without Hibernation > support, but the disks can be spun down manually (using > atacontrol): > http://forums.freebsd.org/showthread.php?t=1012 > > However, when I try to do that, I find that the disk wakes > within 2 seconds of spinning down. I noticed that the > spindowns are logged. Could the log being written be causing > the drive to spin up again? I initially set the time-out to 60 seconds, then 300 seconds in a vain attempt to see the actual power savings. With a 900 second time-out, the drive only spun down once in the past 12 hours. It appears that syslogd can defer *one* log entry. Understandable, since you don't want to loose too many logs in a power failure. tail /var/log/messages (trimmed entries from the 300 second time-out): Nov 13 07:46:59 dusty kernel: ad4: Idle, spin down Nov 13 07:46:59 dusty kernel: wakeup from sleeping state (slept 00:35:44) Nov 13 07:47:01 ad4: request while spun down, starting. It looks like the logging of the "spin down" woke up the sleeping system. Either that, or the computer did not know the actual spin-down time. The sleep time was reported to be 2144 seconds: 1244 seconds longer than the the set spin-down time (900 seconds). If it was spun-down when I checked this morning, the difference was less than 3W. Though, the current drive (5400RPM) uses ~2 fewer watts than the old (7200 RPM) drive. I'm an not sure, since I replaced RAM, and installed an optical drive since measuring my base-line (with the old drive). My computer case has noise-dampening foam for the hard-disk. I can't hear if the drive is spinning over the inverter in the ADSL modem (9W) and the (quiet) fan noise from both the router (21W) and server. I can heard a "click" when it starts up, that is about it. Regards, James Phillips __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com.