Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2005 15:04:45 +0100
From:      Marco Calviani <marco.calviani@gmail.com>
To:        freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org,  freebsd-questions@freebsd.org
Subject:   Re: cpufreq and changing driver
Message-ID:  <da5cd1900512020604p22e6a18fu@mail.gmail.com>
In-Reply-To: <20051202134913.GD24254@poupinou.org>
References:  <da5cd1900511300337t22728ec8y@mail.gmail.com> <20051201141724.GE17066@poupinou.org> <da5cd1900512020105t60c1191cw@mail.gmail.com> <200512022035.55854.doconnor@gsoft.com.au> <20051202134913.GD24254@poupinou.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi list,

2005/12/2, Bruno Ducrot <ducrot@poupinou.org>:


> > I don't see why you can't run powerd more frequently, I do.. Unless you=
r ACPI
> > has a problem that means the transition is slow.
>
> I'm sure this could not be done under Linux without a lot of
> problems (it is required to use the /proc things and it's too slow in
> that case).
>
> > I can't imagine that doing 5 (or even 50) syscalls a second is a big CP=
U load
> > unless there is a specific problem with sysctls or the cpufreq
> > infrastructure.
>
> If that's possible being not so intrusive with, say 50 syscalls under Fre=
eBSD,
> then all I said above is indeed stupid crap.
>
> > I run powerd like this ->
> > /usr/sbin/powerd -i 90 -r 30 -a adaptive -b adaptive -n adaptive -p 200
> >

Well, i've tried decreasing the polling interval, but there is an
increased powerd cpu load: at 100ms polling interval the cpu load is
to an astonishing 20% circa, which i think it's too much for a normal
use. The sampling rate with ondemand governor in linux kernel is 10ms
but cpufreqd is at 0.6% on average cpu load.

Regards,
MC



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