From owner-freebsd-java Wed Mar 17 10: 2:36 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 95DDA152AA for ; Wed, 17 Mar 1999 10:02:34 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA04813; Wed, 17 Mar 1999 10:58:39 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA10564; Wed, 17 Mar 1999 10:58:25 -0700 Date: Wed, 17 Mar 1999 10:58:25 -0700 Message-Id: <199903171758.KAA10564@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty Cc: Nate Williams , Fulvio Risso , "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <199903171744.JAA12285@rah.star-gate.com> References: <199903171712.KAA10340@mt.sri.com> <199903171744.JAA12285@rah.star-gate.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> 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