Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2010 10:45:57 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Ian FREISLICH <ianf@clue.co.za>
Cc:        FreeBSD-Current <freebsd-current@FreeBSD.org>, Peter Jeremy <peterjeremy@acm.org>
Subject:   Re: One-shot-oriented event timers management 
Message-ID:  <20100907174557.7D0C41CC3A@ptavv.es.net>
In-Reply-To: Your message of "Tue, 07 Sep 2010 13:40:33 %2B0200." <E1OswXR-000313-HY@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Ian FREISLICH <ianf@clue.co.za>
> 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 <ianf@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100907174557.7D0C41CC3A>