From owner-freebsd-current@FreeBSD.ORG Tue Sep 7 17:46:44 2010 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 231771065696 for ; Tue, 7 Sep 2010 17:46:44 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0E3D48FC13 for ; Tue, 7 Sep 2010 17:46:44 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id o87HjvFu029664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 7 Sep 2010 10:45:57 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7D0C41CC3A; Tue, 7 Sep 2010 10:45:57 -0700 (PDT) To: Ian FREISLICH In-reply-to: Your message of "Tue, 07 Sep 2010 13:40:33 +0200." Date: Tue, 07 Sep 2010 10:45:57 -0700 From: "Kevin Oberman" Message-Id: <20100907174557.7D0C41CC3A@ptavv.es.net> Cc: FreeBSD-Current , Peter Jeremy Subject: Re: One-shot-oriented event timers management 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, 07 Sep 2010 17:46:44 -0000 > From: Ian FREISLICH > Date: Tue, 07 Sep 2010 13:40:33 +0200 > Sender: owner-freebsd-current@freebsd.org > > Peter Jeremy wrote: > > On 2010-Sep-02 13:08:25 +0200, Ian FREISLICH wrote: > > >It's a compaq mini-110: > > >CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.22-MHz 686-class CPU) > > > > Hmmm... I have a N270 in an Aspire One. > > > > >dev.cpu.0.freq_levels: 1600/25000 1400/21875 1333/18000 1166/15750 1067/11= > > 000 933/9625 800/5000 700/4375 600/3750 500/3125 400/2500 300/1875 200/1250= > > 100/625 > > > > That's rather more frequencies than I would expect. Do you have > > acpi_throttle enabled? If so, you might like to disable it - it's not > > particularly effective (and caused regular hands on my AMD Turion > > laptop). > > No acpi_throttle in my sysctl mib: > [mini] ~ $ sysctl -a |grep acpi_throttle > [mini] ~ $ > > I can set all of these frequencies. They don't really save any > power, they just make the system slow. > > > >dev.cpu.0.cx_supported: C1/1 C2/1 C3/17 C4/57 > > > > I'm also intrigued as to where C4 comes from. I have: > > > > dev.cpu.0.freq_levels: 1600/2000 1333/1533 1066/1066 800/600 > > dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 > > And I can set C4. But the acpi battery method can't determine the > discharge rate so I don't know if it actually reduces power either. > > [mini] ~ $ acpiconf -i 0 > Design capacity: 5100 mAh > Last full capacity: 4952 mAh > Technology: secondary (rechargeable) > Design voltage: 10800 mV > Capacity (warn): 496 mAh > Capacity (low): 347 mAh > Low/warn granularity: 0 mAh > Warn/full granularity: 100 mAh > Model number: Primary > Serial number: > Type: LION > OEM info: Hewlett-Packard > State: discharging > Remaining capacity: 100% > Remaining time: unknown > Present rate: unknown > Voltage: 12363 mV > > It might have something to do with the hardware verdor or bios vendor. Throttling is currently (unfortunately) on by default. You need to turn it off by adding: hint.p4tcc.0.disabled="1" hint.acpi_throttle.0.disabled="1" to your /boot/loader.conf file. You really only want EST or equivalent. I'd love to see throttling/TCC removed. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751