Re: [PATCH] HZ change for ix86

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Sun, 10 Jan 1999 16:12:40 +0100


Hi!

> I think you didn't describe the tradeoff correctly. The amount of time a
> process gets are independent of HZ. HZ just defines its granularity.
>
> Let me describe this with a picture, where we have two runnable processes A
> and B: . . . . . . . .
> HZ = 100: AAAAAAAABBBBBBBBAAAAAAAABBBBBBBB
> HZ = 400: AABBAABBAABBAABBAABBAABBAABBAABB

Sorry, but default timeslice is defined as something relative to HZ
(and it is in jiffies), so no matter how you change HZ, timeslices are
constant (in seconds).
Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- 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/