From owner-freebsd-emulation Tue Jan 4 13:44:20 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id AD77414ED5 for ; Tue, 4 Jan 2000 13:44:18 -0800 (PST) (envelope-from kip@lyris.com) Received: from luna.shelby.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id NAA22932; Tue, 4 Jan 2000 13:43:50 -0800 (PST) Received: from (luna.shelby.com [207.90.155.6]) by luna.shelby.com with SMTP (MailShield v1.50); Tue, 04 Jan 2000 13:43:50 -0800 Date: Tue, 4 Jan 2000 13:43:50 -0800 (PST) From: Kip Macy To: Nate Williams Cc: emulation@FreeBSD.ORG Subject: Re: linux_base-6.1: Are Linux threads supported? In-Reply-To: <200001042135.OAA15019@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna.lyris.com X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: nate@mt.sri.com,emulation@FreeBSD.ORG X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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.) > A friend of mine at Berkeley did some benchmarking of some native threads vs. green threads jave code on Linux and found that the native threads implementation at times ran 100x more slowly. At least on Linux, kernel threads are very heavy weight. This is, at least in part due to the way they handle scheduling and synchronization. -Kip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message