Re: [RFC][PATCH 00/10] taskstats: Enhancements for preciseaccounting

From: Michael Holzheu
Date: Thu Sep 30 2010 - 09:56:41 EST


Hello Andi,

On Thu, 2010-09-30 at 10:38 +0200, Andi Kleen wrote:
> Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx> writes:
> >
> > Compared to the old top command that has to scan more than 1000 proc
> > directories the new ptop consumes much less CPU time (0.05% system time
> > on my s390 system).
>
> Sounds like a nice advantage (and in a way goes back to old kmem ps)
>
> Are there plans to make the standard top command use this new interface
> or will it be only something for specialized utilities?

Currently there are no plans. We first have to discuss, if this should
be done at all. But if the new interface is there, of course the
standard top command could also use it. Especially, if we have an easy
to use user space library.

One problem when converting the standard top command to use the new
interface will be that currently not all information that is in proc is
in taskstats (and also the other way round).

Michael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/