Re: /proc reliability & performance
From: Zan Lynx
Date: Fri Oct 17 2003 - 02:47:31 EST
On Thu, 2003-10-16 at 20:07, Albert Cahalan wrote:
> I created a process with 360 thousand threads,
> went into the /proc/*/task directory, and did
> a simple /bin/ls. It took over 9 minutes on a
> nice fast Opteron.
Did you try using find instead of ls? ls loads all entries and then
sorts them, so it can create an alphabetical display.
Try using find. It will not take quite so long.
--
Zan Lynx <zlynx@xxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part