Re: Scheduler set to 1000Hz

Andi Kleen (ak@muc.de)
23 Jan 1999 11:47:43 +0100


In article <Pine.LNX.3.96.990122165340.10290A-100000@chiara.csoma.elte.hu>,
mingo@chiara.csoma.elte.hu (MOLNAR Ingo) writes:
> On Fri, 22 Jan 1999, Matti Aarnio wrote:

>> It is somewhat difficult to modifying presentation machinery of some
>> values in e.g. /proc/123/stat "file" to scale them so that they always
>> present their value as if the HZ would be the ``classical constant''
>> for given platform. For example, where would the ``classical constant''
>> be taken from, if the only instance of ``HZ'' is modified ?

> 'Hz' has a physical definition. The Linux HZ constant just says how many
> timer interrupts per second should occur. The requirement is to never let
> this (arbitrary) constant show up, but to have all API components use the
> 'real-world' definition of time.

This requirement is broken in several places currently, mainly in sysctls.

-Andi

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