Messages in this thread | | | Date | Fri, 17 Oct 2003 01:21:59 -0700 (PDT) | Subject | Re: /proc reliability & performance | From | "David Rees" <> |
| |
On Thu, October 16, 2003 at 9:31 pm, Albert Cahalan sent the following > On Thu, 2003-10-16 at 23:24, Brian McGroarty wrote: >> 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? > > Sure. Run any of: top, ps, lsof, fuser...
I can vouch that with as few as a 3-5 hundred threads/processes started up and not necessarily doing much, top starts using a good deal system time on a somewhat aging dual PIII server on recent 2.4.x kernels.
-Dave - 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/
| |