From owner-freebsd-stable@FreeBSD.ORG Wed Mar 21 07:42:07 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53AE1106564A for ; Wed, 21 Mar 2012 07:42:07 +0000 (UTC) (envelope-from mgamsjager@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0971F8FC0C for ; Wed, 21 Mar 2012 07:42:06 +0000 (UTC) Received: by vcmm1 with SMTP id m1so1124252vcm.13 for ; Wed, 21 Mar 2012 00:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=y55EQtVDbUw86Td38esDWxdcCkBT/w3MDNdgLG/nPQg=; b=I1gu2T0JC+bUeyuhJlJsjCzmKZPFz7FKhys82uebXK8x2w1kV2eE/ln0rVpMx8n7pf l0OF/7ia2+ooJxHzXgN3rKXXRlf6t0u+QW/yJ5Bd0YCP1pY6L+X0Z8kgQFs1u3Ar7aHY vScLLziFxpkr2e64I6L5mYgP4xFnn1StGqB6jkke+mSF0iTWbCiLRS+OmWbyW6cLbfHS kq55Jd/baAZvkNIqqfljzN/9IRlcNAKbDkiO4zaVzGGEatnXRyGxBQqFnaSQyzUVq1aP L4WfDU0Jh7RDEPU5Gx8vo/hhq/LCaXlhzF6/b6vwc3B8yzuHsM78ykt+2ULVamCNVvMh KBqw== Received: by 10.52.67.115 with SMTP id m19mr1231200vdt.53.1332315726308; Wed, 21 Mar 2012 00:42:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.157.76 with HTTP; Wed, 21 Mar 2012 00:41:36 -0700 (PDT) In-Reply-To: <20120321000058.177F8256@server.theusgroup.com> References: <20120321000058.177F8256@server.theusgroup.com> From: Matthias Gamsjager Date: Wed, 21 Mar 2012 08:41:36 +0100 Message-ID: To: John Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: powerd and increase in energy need X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 07:42:07 -0000 On Wed, Mar 21, 2012 at 1:00 AM, John wrote: > >my zfs nas has an Asus p5e motherboard (x38 chip) and an intel q9300 (quad > >core 2,5Ghz) processor with all the energy save setting enabled in the > >bios. Today I connected the power cord to a voltcraft energy meter to see > >how much energy the whole system needs in idle mode. > > > >I found out that with powerd running the cpu get clocked down to 499 mhz > >with is nice. The funny thing is that this doesn't decrease the amount of > >watts the machine need. 2,5ghz or 499mhz doen't matter at all. It gets > even > >funnier. With powerd running the systems actually needs 4 watts more then > >without powerd running. > > > >Isn't the whole point of powerd to to decease the energy needs of a > >machine? or is it utterly broken with this cpu generation? > > Powerd does decrease energy on my more modern hardware. This machine is > used > for backups and is idle much of the time. It runs Freebsd 8.3-Prerelease > with > the turbo-boost patch on an i5-650 in an intel DH55HC motherboard. > > The following power measurements were made with a Kill-A-Watt meter. > > 91w while doing a compile, dev.cpu.0.freq: 3193 (turbo boost enabled) > 81w compile complete, disks quiet, top reports between 99.9 and 100% idle > dev.cpu.0.freq: 3193 > 71w idle for several seconds, powerd running in hiadaptive mode, > dev.cpu.0.freq: 1197 > > > sysctl dev.cpu |grep cx > dev.cpu.0.cx_supported: C1/3 C2/205 C3/245 > dev.cpu.0.cx_lowest: C2 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 259us > > sysctl dev.cpu |grep freq ~ > dev.cpu.0.freq: 1197 > dev.cpu.0.freq_levels: 3193/9875 3192/9125 3059/8250 2926/7500 2793/6875 > 2660/6250 2527/5750 2394/5250 2261/4750 1197/2750 > > /etc/rc.conf > powerd_flags="-n hadp" > performance_cx_lowest="C2" > economy_cx_lowest="C2" > performance_cpu_freq="HIGH" > > John Theus > TheUs Group > TheUsGroup.com > I will give these setting a try thx..