Re: Number of Threads per process in Java

Date: Tue 14 Sep 2004 - 10:50:08 IDT

Quoting Muli Ben-Yehuda <>:

I can not say anything about the performance of 1:1 linux threading model.
I can not say that it is supperior or anything like that. I have not
done any benchmarks. I can just say that the design of this model has
some drawbacks.

"However, the two major types of thread implementation available - user threads
and kernel threads - both have significant drawbacks in overhead and
concurrency that can limit the performance of applications.

A potential solution to this problem exists in the form of a hybrid, two-level
thread system known as scheduler activations that divides the work between the
kernel and the user levels. Such a system has the potential to achieve the high
performance of user threads while retaining the concurrency of kernel threads."

"This system has several advantages: like other M:N systems, kernel resource
usages is kept small in comparison to the number of user-level threads;
voluntary thread switching is cheap, similar to user-level threads, and like
1:1 systems, an application's concurrency is fully maintained."

> On Mon, Sep 13, 2004 at 08:08:29PM +0200, wrote:
> > So it is better to switch to NetBSD.
> I'll assume for a second that you aren't just trolling. Care to
> elaborate on why you think M:N is superior, considering the details
> and performance of the Linux implementation of 1:1?
> Cheers,
> Muli
> --
> Muli Ben-Yehuda
> |

To unsubscribe, send mail to with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail

This archive was generated by hypermail 2.1.7 : Tue 14 Sep 2004 - 11:03:26 IDT