From owner-freebsd-emulation Tue Jan 4 21:28:27 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 4AA2214BB8 for ; Tue, 4 Jan 2000 21:28:16 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id AEA871CC6; Wed, 5 Jan 2000 13:28:12 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: nate@mt.sri.com (Nate Williams) Cc: Amancio Hasty , Bob Shaw , emulation@FreeBSD.ORG Subject: Re: linux_base-6.1: Are Linux threads supported? In-Reply-To: Message from Nate Williams of "Tue, 04 Jan 2000 14:35:50 MST." <200001042135.OAA15019@mt.sri.com> Date: Wed, 05 Jan 2000 13:28:12 +0800 From: Peter Wemm Message-Id: <20000105052812.AEA871CC6@overcee.netplex.com.au> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > > > > I'd like to install Blackdown JDK 1.2.2 RC3 on FreeBSD 3.4 > > > > with linux_base-6.1. I know there are some Blackdown problems with > > > > native threads, but I have not been able to determine whether there > > > > are any FreeBSD-specific problems that will remain once Blackdown > > > > gets their release fixed. Will native threads at the JDK level map to > > > > native threads at the FreeBSD 3.4 level? (If so, is there any idea how > > > > performance will compare to native Linux?) > > > > > > FreeBSD has no native 'kernel threads', so it won't help out. However, > > > the Linux JIT is a *big* improvement. > > > > I could have sworn to have used linux kernel threads in FreeBSD 8) > > Linux kernel threads are not native kernel threads. They are not part > of the standard distribution, they have an incompatible license, and do > not scale very well on most Java applications. However, for *certain* > applications they do work, but these are limited to mostly CPU-bound > applications that do light I/O. Applications that have lots of I/O > threads will not work well with the Linux-threads stuff. (While > applications run with the green-threads version tends to work *very* > well, almost as well as C code.) Also, beware, rfork(2), linux's emulated clone(2) etc are only supported under single processor mode in 3.x kernels. If you want to use linuxthreads under SMP, you will have to use 4.x. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message