Re: first NPT vs. NGPT vs. LinuxThreads benchmark results

From: Hui (
Date: Sun Sep 22 2002 - 21:04:51 EST

On Sun, Sep 22, 2002 at 04:57:52AM -0700, Ulrich Drepper wrote:
> The results of this test series are:
> - - LinuxThreads indeed had several problems
> - - NGPT indeed run much faster (twice the performance)
> - - NPTL runs four times faster than NGPT in a benchmark which by all
> means should favor an M-on-N implementation.

Which could mean that they, NGPT, have slower thread allocation algorithms
for many reason. Some M:N systems will red zone protect a page of the thread
stack adding overhead to creation and deletion (FreeBSD'c -current does
this), the memory allocation algorithms might not be able to take advantage
of short term stack recycling and other things. It's not clear that these
benchmarks are meaningful without outlining the conditions that surround it.

Not to take the show away from you folks, but it's definitely something
that I immediately though about once I saw the graphs.

> We will soon have more benchmarks showing the thread libraries in
> other real-world situations, such as IO-intensive workloads.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:37 EST