Gentoo Archives: gentoo-server

From: "J. Ryan Earl" <ryan@×××××××××××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] nptl
Date: Wed, 10 Aug 2005 15:48:54
Message-Id: 42FA20B1.2060008@dynaconnections.com
In Reply to: Re: [gentoo-server] nptl by Billy Holmes
1 Billy Holmes wrote:
2
3 > This makes it easier and faster for the kernel to context switch
4 > between processes (and threads within a process).
5 >
6 > A prime example of this is a test from the LKML, where Ulrich Drepper
7 > wrote he was able to start and stop 100,000 threads in about 2
8 > seconds. In further messages, Ingo Molnar confirms this and also
9 > points out that before these changes, it would have taken upwards to
10 > 15 minutes for the same thing.
11 >
12 > http://kerneltrap.org/node/422
13
14 Absolutely true. NPTL is drastically more scalable than linuxthreads.
15 For instance, spawn 1000 worker threads in a JVM and the scheduling
16 overhead alone will cause the system to become unresponsive across the
17 board. Use NPTL and you can get 10000 threads all running no problem.
18
19 -ryan
20 --
21 gentoo-server@g.o mailing list

Replies

Subject Author
RE: [gentoo-server] nptl radu herinean <radu@××××.ro>