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
On Sun, 10 Jan 1999, Horvath Karoly wrote:
[SNIPPED]
> >
> > Once you lose the CPU, you may lose it for N time slices because there
> > are N computable tasks that will get it before you get it back. This is a
> > multitasking operating system with many more tasks than just yours. You
> > get it CPU back when it's your turn, not the next timer-tick.
> >
> > If N tasks are CPU bound, you sure want a long time-slice before the
> > CPU gets stolen from you.
>
> Why? Each of the N processes gets the 1/N of the CPU - wheter there are
> long or short timeslices. If you have the CPU for long time, you'll miss
> it for long time...

If I have the CPU for a long time. I get a chance to do some work
with it before I become I/O bound, at which time others can use the
CPU while the kernel's ISRs are writing to screen/disk/network/etc.

Typical interactive usage involves using the CPU to figure something
out, then using kernel services to write results to an output device,
then surrending the CPU while waiting for an input.

If I can get everything done so I can put the results to an output
device, in one 'quantum' it is a definate win because others get to
use the CPU while I'm pondering key-strokes.

[SNIPPED]
>
> Anybody, who agrees with Johnson?
>
Is this a contest?


Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.131 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
Wisdom : It's not a Y2K problem. It's a Y2Day problem.



-
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    [W:3.039 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site