Re: CPU usage (Read by `top`)

From: Pavel Machek (pavel@suse.cz)
Date: Thu Jan 20 2000 - 13:42:32 EST


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

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:23 EST