From owner-freebsd-java@FreeBSD.ORG Tue Dec 19 10:43:07 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2765916A580 for ; Tue, 19 Dec 2006 10:43:07 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from office.redwerk.com (office.redwerk.com [85.90.206.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C67A43CA7 for ; Tue, 19 Dec 2006 10:43:06 +0000 (GMT) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GwcR2-0000n2-Uw for freebsd-java@freebsd.org; Tue, 19 Dec 2006 12:43:00 +0200 Date: Tue, 19 Dec 2006 12:43:00 +0200 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20061219104300.GG1006@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org References: <20061110203714.GA89006@ace.b020.ceid.upatras.gr> <200612191141.12890.achill@matrix.gatewaynet.com> <20061219094541.GF1006@office.redwerk.com> <200612191151.37416.achill@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200612191151.37416.achill@matrix.gatewaynet.com> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Performance of Java on FBSD vs. others... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 10:43:07 -0000 On Tue, Dec 19, 2006 at 11:51:37AM +0200, Achilleas Mantzios wrote: > ???????? ?????????? 19 ???????????????????? 2006 11:45, ??/?? Eugeny N Dzhurinsky ????????????: > > On Tue, Dec 19, 2006 at 11:41:12AM +0200, Achilleas Mantzios wrote: > > > ???????? ?????????? 19 ???????????????????? 2006 10:04, ??/?? Eugeny N > Dzhurinsky ????????????: > > > > On Mon, Dec 18, 2006 at 09:19:06AM -0800, Nick Johnson wrote: > > > > > It should also be run with libthr as the > > > > > threading library, as the consensus seems to be that this provides > > > > > better performance than libpthread (libkse). > > > > > > > > Very interesting. Could you please clarify how to use libthr on > > > > 5.5/6.2, will there be a need to recompile everything? > > > > > > no just setup /etc/libmap.conf, like > > > [/usr/local/diablo-jdk1.5.0/bin/java] > > > libpthread.so.2 libthr.so.2 > > > > Nice, is it possible to see does it really uses libthr.so.2? > smth like > smadev# ldd /usr/local/diablo-jdk1.5.0/bin/java > /usr/local/diablo-jdk1.5.0/bin/java: > libz.so.3 => /lib/libz.so.3 (0x28083000) > libpthread.so.2 => /usr/lib/libthr.so.2 (0x28093000) > libc.so.6 => /lib/libc.so.6 (0x280a5000) > smadev# ldd /usr/local/jdk1.5.0/bin/java /usr/local/jdk1.5.0/bin/java: libz.so.2 => /lib/libz.so.2 (0x28088000) libpthread.so.1 => /usr/lib/libpthread.so.1 (0x28098000) libc.so.5 => /lib/libc.so.5 (0x280bc000) looks like I need to map libpthread.so.1 - not libpthread.so.2? -- Eugene N Dzhurinsky