Subject: Re: 1:1 threading model
To: Bang Jun-Young <>
From: Noriyuki Soda <>
List: tech-kern
Date: 01/10/2003 20:55:14
>>>>> On Fri, 10 Jan 2003 20:24:00 +0900,
	Bang Jun-Young <> said:

> For that matter, Sun's paper would be helpful. It includes actual
> benchmark results with two models.

I have some doubts about the Sun's paper.

Theoretically, M:N thread should be faster on some benchmarks which
creates lots of userland threads which only do computational work.
Because carefelly implemented scheduler activations don't have to
use any system call for mutex and condition variable handlings,
and a system-call is 10 times slower than a function-call with today's
processor even on recent linux.

Sun's paper doesn't show any results which match with this theory,
and there is no excuse or explanation why 1:1 is always faster on
their benchmarks.