Re: ps performance sucks (was Re: dcache_rcu [performance results])

Alexander Viro (viro@math.psu.edu)
Tue, 5 Nov 2002 19:34:47 -0500 (EST)


On Tue, 5 Nov 2002, Martin J. Bligh wrote:

> It's not a few files if you have large numbers of tasks. It's an
> interface that fundamentally wasn't designed to scale, and futzing
> around tweaking the thing isn't going to cut it, it needs a different
> design. I'm not proposing throwing out any of the old simple interfaces,
> just providing something efficient as a data gathering interface for
> those people who wish to use it.

That's odd, to say the least. Userland side is at least linear by
number of tasks, regardless of the way you gather information. So
I really wonder how opening O(number of tasks) files can show up
when you scale the things up - pure userland parts will grow at
least as fast as that.

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