List Archive: gentoo-ppc-user
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Mi, Jun 29 2005 at 10:13:10 -0400, Jason Cooper wrote:
> > Now _that_ is strange: I recently changed that back from 1000 to 100 but
> > with no visible (or audible that is) effect whatsoever.
> This is correct behavior. The value of HZ defines the minimum
> resolution of system calls like usleep() and select(). At 100Hz, the
> minimum resolution is ~20ms (= 2 * 1 / f) for usleep and ~10ms (= 1 / f)
> for select(). Setting it to 1000Hz adjusts those values down to ~2ms
> and ~1ms respectively. I've only found this useful with old/half-assed
> code that polls interfaces. They'll use usleep() to throttle the
> polling and not max out the CPU.
> But that is background info, the main point is that it has no effect on
> power consumption.
> Do your system monitors (gkrellm, top, whatever) show a maxed out cpu?
Nope. There's no indication that there is anything going on. The system
load is flat at 0.00 and the cpu seems to be idle according to top.
Also i tried to stop all daemons (even those i'd rather not turn off
under every-day circumstances) so that there is hardly more than init
and a few getties running (not even X) and still the fan would go off
after a few minutes and never stop 'til i shut down the computer.