Re: One-shot-oriented event timers management

From: Kevin Oberman <oberman_at_es.net>
Date: Tue, 07 Sep 2010 10:45:57 -0700
> From: Ian FREISLICH <ianf_at_clue.co.za>
> Date: Tue, 07 Sep 2010 13:40:33 +0200
> Sender: owner-freebsd-current_at_freebsd.org
> 
> Peter Jeremy wrote:
> > On 2010-Sep-02 13:08:25 +0200, Ian FREISLICH <ianf_at_clue.co.za> wrote:
> > >It's a compaq mini-110:
> > >CPU: Intel(R) Atom(TM) CPU N270   _at_ 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_at_es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
Received on Tue Sep 07 2010 - 15:46:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC