Re: /proc reliability & performance

From: Brian McGroarty
Date: Thu Oct 16 2003 - 22:29:51 EST


On Thu, Oct 16, 2003 at 10:07:18PM -0400, 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. (it's the same at top-level
> with processes, but I wasn't about to mess up
> my system that much)

Are there many cases where the /proc directory contents are read in
this fashion?

I'd be more curious about how performance fares with reading a
thousand entries by name with 1k processes and with 360k processes.

Attachment: signature.asc
Description: Digital signature