From owner-freebsd-smp Thu Feb 15 23:23:16 2001 Delivered-To: freebsd-smp@freebsd.org Received: from gtei1.bellatlantic.net (gtei1.bellatlantic.net [199.45.40.145]) by hub.freebsd.org (Postfix) with ESMTP id F236E37B503 for ; Thu, 15 Feb 2001 23:23:13 -0800 (PST) Received: from me-513q3sc0zun0.pengar.com (adsl-64-223-148-61.mannh.adsl.bellatlantic.net [64.223.148.61]) by gtei1.bellatlantic.net (8.9.1/8.9.1) with ESMTP id CAA25135; Fri, 16 Feb 2001 02:23:25 -0500 (EST) Message-Id: <5.0.2.1.0.20010216021732.00aae718@hobbiton.shire.net> X-Sender: seth-pc@hobbiton.shire.net X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Fri, 16 Feb 2001 02:20:12 -0500 To: adsharma@sharmas.dhs.org From: Seth Leigh Subject: Re: possible problem with SMP? Cc: freebsd-smp@freebsd.org In-Reply-To: <200102160702.XAA08817@sharmas.dhs.org> References: <5.0.2.1.0.20010215204946.027a3c88@hobbiton.shire.net> <200102160122.RAA08035@sharmas.dhs.org> <5.0.2.1.0.20010215204946.027a3c88@hobbiton.shire.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 11:02 PM 2/15/2001 -0800, Arun Sharma wrote: > > Additionally, with Solaris 8 there is an alternate threads library > > (/usr/lib/lwp/libpthread.so.1) which is strictly 1:1. Ie: bound threads > > are all you get, and all scheduling and such is left to the kernel. > > > >Since JDKs for pre Solaris 8 versions of Solaris exist, I assume that the >JDK is not being linked against this lib. > > -Arun Actually, not that many people are using it yet as far as I know. It's there for people to experiment with, and for people to do actual performance testing against. As a purely bound thread implementation, the code for this library is much simpler than the standard libthread. I just mentioned its existence for completeness. ;-) Actually, if you have Solaris 8 and some multi-threaded libraries, you may well give the alternate threads library a whirl and just see how it performs. You can do this by setting LD_LIBRARY_PATH to /usr/lib/lwp/ and you should run with the alternate threads lib. Seth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message