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

From: bert hubert (ahu@ds9a.nl)
Date: Tue Nov 05 2002 - 18:16:49 EST


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

> The locking of walking the tasklist seems non-trivial, but we may well
> end up with something like that. By the time you finish, it looks more
> like a /dev device thing than /proc (which I'm fine with), and looks

Can people just oprofile this instead of guessing? Opening a file is not
very expensive anymore, so if ps is noticeably slow, it must be something
else.

'To measure is to know'

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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:40 EST