On Sat, 28 Aug 2004 12:56:47 -0700, William Lee Irwin III wrote:> These numbers are somewhat at variance with my experience in the area,> as I see that the internal algorithms actually dominate the runtime> of the /proc/ algorithms. Could you describe the processes used for the> benchmarks, e.g. typical /proc/$PID/status and /proc/$PID/maps for them?

The status/maps numbers below are not only typical, but identical forall tasks. I'm forking off a defined number of children and then querytheir status from the parent.

Because I was interested in delivery overhead, I built on purpose abenchmark without computationally expensive fields. Expensive fieldcomputation hurts /proc more than nproc because the latter allows youto have only the currently needed fields computed.