Re: HZ, preferably as small as possible

From: Robert Love (rml@tech9.net)
Date: Thu Jul 11 2002 - 19:55:20 EST


On Thu, 2002-07-11 at 17:50, Thunder from the hill wrote:

> On Thu, 11 Jul 2002, Stevie O wrote:
> > Why must HZ be the same as 'interrupts per second'?
>
> s/interrupts/scheduler calls/

Uh, HZ is not scheduler calls per second.

Neither exactly is it interrupts per second, but _timer_ interrupts per
second. It is the frequency of the timer interrupt.

> But what exactly does this question mean to be? I don't fully understand.
> We define HZ to have an interval for the calls of the scheduler. That's
> why it is the number of scheduler calls per second, because that's what it
> was invented to be.

No no no...

        Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:21 EST