CPU usage (Read by `top`)
Pavel Machek
pavel en suse.cz
Vie Ene 21 12:04:28 CST 2000
Hi!
> > > Now sched_yield(), itself, works well. The problem is that the task
> > > that gave up the CPU is still being 'Charged' for it!
> >
> > Well, I used to had worse case: software that sleeps "just before" it
> > would be charged is charged 0% even if it eats 80% or so.
> >
> > Clearly, cpu metering is broken. There's no easy way to fix it.
> > Pavel
> > --
>
> Just wanted to get it into the queue of things that should be fixed
> before the next big leap into some future improvement project that
> sometimes leaves old bugs unfixed.
Well - it is not quite clear if this bug should be fixed.
Current method is very_low_overhead and wrong.
Is it worth to add overhead?
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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda