Luke-Jr wrote:
Did it actually solve it or just hide it? IIRC, NPTL causes 'ps' to show process trees differently..

NPTL actually changes the way linux creates threads. Instead of just using the clone method to create threads, NPTL still uses clone, but it now has actual kernel support for the resource management. This makes it easier and faster for the kernel to context switch between processes (and threads within a process).

A prime example of this is a test from the LKML, where Ulrich Drepper wrote he was able to start and stop 100,000 threads in about 2 seconds. In further messages, Ingo Molnar confirms this and also points out that before these changes, it would have taken upwards to 15 minutes for the same thing.

http://kerneltrap.org/node/422
--
[email protected] mailing list

Reply via email to