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

bert hubert (ahu@ds9a.nl)
Wed, 6 Nov 2002 01:10:07 +0100


On Tue, Nov 05, 2002 at 04:57:47PM -0800, Martin J. Bligh wrote:

> > 'To measure is to know'
>
> Errm... we have profiled it. Look at the subject line ... this started
> off as a dcache_rcu discussion. The dcache lookup ain't cheap, for
> starters, but that's not really the problem ... it's O(number of tasks),
> which sucks.

Ok - but if opening a few files is the problem, the solution is not to roll
those files into one but to figure out why opening the files is slow in the
first place.

Apologies for misinterpreting some of the comments I saw, I'm a bit hyper
from my futex documenting spree.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
-
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/