Red Hat Bugzilla – Bug 60030
/proc doesn't scale.
Last modified: 2007-04-18 12:40:28 EDT
Under high load, top/ps spend excessive time in the kernel, and cease to
function in a useful way. On UP, they simply don't work at all beyond a
certain point; on SMP, you can see why. See attachment.
Created attachment 45941 [details]
Known issue; top asks the kernel to calculate how much memory there is shared
between processes; that's a rather expensive calculation if you have lots of
processes with shared components...
Might the rmap patches speed things up at all?
Doesn't help too much unfortionatly. top still asks it per process...
sort of the same amount of work that way.