Gentoo Archives: gentoo-server

From: Billy Holmes <billy@××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] nptl
Date: Wed, 10 Aug 2005 15:21:31
Message-Id: 42FA1ACE.3090203@gonoph.net
In Reply to: Re: [gentoo-server] nptl by Luke-Jr
1 Luke-Jr wrote:
2 > Did it actually solve it or just hide it? IIRC, NPTL causes 'ps' to show
3 > process trees differently..
4
5 NPTL actually changes the way linux creates threads. Instead of just
6 using the clone method to create threads, NPTL still uses clone, but it
7 now has actual kernel support for the resource management. This makes it
8 easier and faster for the kernel to context switch between processes
9 (and threads within a process).
10
11 A prime example of this is a test from the LKML, where Ulrich Drepper
12 wrote he was able to start and stop 100,000 threads in about 2 seconds.
13 In further messages, Ingo Molnar confirms this and also points out that
14 before these changes, it would have taken upwards to 15 minutes for the
15 same thing.
16
17 http://kerneltrap.org/node/422
18 --
19 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] nptl "J. Ryan Earl" <ryan@×××××××××××××××.com>