Problem on AMD64
Ian Smith
smithi at nimnet.asn.au
Tue Dec 23 18:01:54 PST 2008
On Tue, 23 Dec 2008, Dmitry Kolosov wrote:
> On Tuesday 23 December 2008 06:40:50 Ian Smith wrote:
> > On Mon, 22 Dec 2008, Dmitry Kolosov wrote:
> > [..]
> >
> > > Could you give to us some links about powersaving with EST? For now, i'm
> > > using powerd:
> > > powerd_enable="YES"
> > > powerd_flags="-a maximum -b adaptive -n adaptive -r 30 -i 35"
> > > in my rc.conf. I'm not on AMD64, so i'm sorry, powerd works well to me
> > > (125 MHz on battery and 2.16GHz on AC), BUT battery life time is equal
> > > in both cases and something about 50 minutes, so i think powerd is not
> > > so powerfull for me.
> >
> > -i percent Specifies the CPU idle percent level when adaptive mode
> > should begin to degrade performance to save power. The
> > default is 90% or higher.
> >
> > -r percent Specifies the CPU idle percent level where adaptive mode
> > should consider the CPU running and increase performance.
> > The default is 65% or lower.
> >
> > I don't think your powerd running and idle percentages are likely to
> > work too well; too close together, and too close to the 'busy' end.
> >
> > Try stopping powerd (/etc/rc.d/powerd stop) then running powerd manually
> > in verbose mode in its own console (powerd -v [flags]) to watch how it
> > behaves under varying loads.
> >
> > I suspect that you will find it 'flapping' between some frequencies too
> > often at constant load, as there's insufficient hysteresis between the
> > idle/running marks. Compare it with using the default -i and -r and if
> > those aren't suitable, try rather smaller variations from the defaults.
> >
> > If it lacks responsiveness, try decreasing the polling interval.
> >
> > cheers, Ian
>
> Thanks Ian,
> -i and -r values was selected (3 month ago) by long playing with `powerd -v
> [flags]` in foreground, as you advice to me. The behavior of powerd is correct,
> and parameters was selected correctly to my environment. Also,
> debug.cpufreq.lowest was set to 500, and it starts to increase with 30% of CPU
> load, and decrease (to 500) with 35%. It's just good to me and it perfectly
> works.
Fine if it works for you. However your settings are 30% idle (70% busy)
and 35% idle (65% busy), not percent loaded as you've expressed it here.
> I'm realy think it's all about my hdd (WD), its toooooo hot, even when no file
> activity, even when lid is closed, on battery or on AC, no matter. It's about
> 60-65C.
I agree, 60C is too hot for a HDD. I'd get nervous over ~50C myself.
Have you tried cleaning out the dust from the air passages and fan/s?
> How to decrease the polling interval?
-p ival Specifies a different polling interval (in milliseconds) for
AC line state and system idle levels. The default is 500 ms.
With a shorter interval, say 250ms, you may find that a lower value of
debug.cpufreq.lowest will be responsive enough, which might save power.
cheers, Ian
More information about the freebsd-acpi
mailing list