lkml.org 
[lkml]   [1999]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HZ change for ix86
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site