Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 10:58:25 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        Nate Williams <nate@mt.sri.com>, Fulvio Risso <F.Risso@cs.ucl.ac.uk>, "'freebsd-java@FreeBSD.org'" <freebsd-java@FreeBSD.ORG>
Subject:   Re: Native thread on JDK 1.1.7 
Message-ID:  <199903171758.KAA10564@mt.sri.com>
In-Reply-To: <199903171744.JAA12285@rah.star-gate.com>
References:  <199903171712.KAA10340@mt.sri.com> <199903171744.JAA12285@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> We do support kernel threads and they are virtually the same as the
>>> linux threads.
>
>> Not quite.  We support *LINUX* threads in emulation mode with a GPL
>> add-on package, but we don't have native kernel threads in a form usable
>> by native FreeBSD software.
> 
> We support Linux kernel threads "natively". Post on current for
> further inquiries or see http://lt.tar.com.

I mis-spoke.  We support linux binaries in 'emulation' w/out any add-on
package.  But, in order to have the 'native' port it requires a GPL
add-on, and I don't consider that acceptable.

> As for the blanket statement that green threads are faster than kernel
> threads . The current kernel thread implementation is not optimal and
> it needs to be improved specially in the area of locking.

Are you stating that the Solaris kernel threads implementation does a
poor job of locking, since that's what I was doing my comparison against
(Solaris green-threads vs. Solaris native-threads , since I can't
compare a FreeBSD native threads implementation since one doesn't
exist)?

I can also state that TowerJ has found that it's 'internal'
implementation of threads tends to run faster than using the native
threads implementation.

Finally, check out the Volano benchmark in JavaWorld.  Almost all of the
unix benchmarks are using 'green' threads.


Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903171758.KAA10564>