One-shot-oriented event timers management

Ian FREISLICH ianf at clue.co.za
Tue Sep 7 11:41:07 UTC 2010


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   @ 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.

Ian

-- 
Ian Freislich


More information about the freebsd-current mailing list