From owner-freebsd-performance@FreeBSD.ORG Tue Aug 1 05:24:05 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 815BF16B442; Tue, 1 Aug 2006 05:22:51 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1825D43D45; Tue, 1 Aug 2006 05:22:48 +0000 (GMT) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 031C24CEE2; Tue, 1 Aug 2006 05:23:12 +0000 (GMT) Received: from vaulte.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by p4.roq.com (Postfix) with ESMTP id 99EAF4CED7; Tue, 1 Aug 2006 05:23:11 +0000 (GMT) Received: from vaulte.jumbuck.com (localhost [127.0.0.1]) by vaulte.jumbuck.com (Postfix) with ESMTP id C14028A029; Tue, 1 Aug 2006 15:22:46 +1000 (EST) Received: from [192.168.46.102] (unknown [192.168.46.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vaulte.jumbuck.com (Postfix) with ESMTP id BD1D48A027; Tue, 1 Aug 2006 15:22:46 +1000 (EST) Message-ID: <44CEE526.60603@thebeastie.org> Date: Tue, 01 Aug 2006 15:22:46 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.13) Gecko/20060727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis References: <44C47D64.6010804@thebeastie.org> <20060725150931.GA31017@misty.eyesbeyond.com> <44C6B826.5080308@thebeastie.org> <20060726144831.GA40775@misty.eyesbeyond.com> In-Reply-To: <20060726144831.GA40775@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-performance@freebsd.org, Achilleus Mantzios , freebsd-java@freebsd.org Subject: Re: AMD64 Diablo 1.5 JDK and libthr X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 05:24:05 -0000 Greg Lewis wrote: >On Wed, Jul 26, 2006 at 10:32:38AM +1000, Michael Vince wrote: > > >>Greg Lewis wrote: >> >> >>>On Mon, Jul 24, 2006 at 05:57:24PM +1000, Michael Vince wrote: >>> >>> >>>>I just ran it for you now, lower then the others. >>>>libc_r average hits per minute: 6,859 >>>>libc_r session average: 3,441 >>>>libc_r transactions per minute: 2,310 >>>> >>>> >>>Is the machine UP or SMP? >>> >>> >>> >>SMP, it was rebuild using a generic 6.1 SMP kernel for all these tests, >>with HT turned off. >>I did actually record load numbers per minute and Java memory usage. I >>didn't post these numbers as load reports via top vary greatly from the >>various threading libraries. >> >> > >libc_r is pretty much automatically going to lose then, since it can only >use one of the CPUs. It would be interesting to see the comparison on a >UP machine. > > OK I rebuilt the kernel to use GENERIC with no SMP for the Java performance tests. The results between libc_r and libthr are quite similar on single CPU, libc_r runs faster on a single CPU over 2 and is actually one of the better for single CPU machines compared libpthread, as libpthread was surprisingly low on a single CPU. libc_r average hits per minute: 8,841 libc_r session average:4,481 libc_r transactions per minute: 2,947 libthr average hits per minute: 9,020 libthr session average: 4,380 libthr transactions per minute: 3,004 libpthread average hits per minute: 6,128 libpthread session average: 3,139 libpthread transactions per minute: 2,043 For completeness here is a repaste of the SMP kernel results libc_r average hits per minute: 6,859 libc_r session average: 3,441 libc_r transactions per minute: 2,310 libthr average hits per minute: 11,581 libthr session average: 5,573 libthr transactions per minute: 3861 libpthread average hits per minute: 8,823 libpthread session average: 4,500 libpthread transactions per minute: 2891 Mike