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

Bill Huey (billh@gnuppy.monkey.org)
Sun, 22 Sep 2002 19:04:51 -0700


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.

bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/