Messages in this thread | | | Subject | Re: [RFC][PATCH v2 5/7] taskstats: Improve cumulative CPU time accounting | From | Peter Zijlstra <> | Date | Mon, 15 Nov 2010 19:10:06 +0100 |
| |
On Mon, 2010-11-15 at 19:00 +0100, Martin Schwidefsky wrote: > On Mon, 15 Nov 2010 18:51:57 +0100 > Peter Zijlstra <a.p.zijlstra@chello.nl> wrote: > > > On Mon, 2010-11-15 at 18:49 +0100, Martin Schwidefsky wrote: > > > > To what purpose? > > > > > > Is that a trick question? Why do we have tools like "top"? Or process > > > accounting? The point is that the quality of the numbers we get right > > > now is rather bad, the overhead of scanning /proc is horrendous and > > > the 10ms granularity is rather coarse. > > > > But you're not just replacing top, you're adding all kinds of new > > accounting crap all over the place. > > We DO replace top. Patch #7 of 7.
You _also_ replace top, but its not by far the only thing you do. If you simply replaced top you wouldn't need to add tons of extra accounting, would you?
| |