Date: Tue, 01 Aug 2006 15:22:46 +1000 From: Michael Vince <mv@thebeastie.org> To: Greg Lewis <glewis@eyesbeyond.com> Cc: freebsd-performance@freebsd.org, Achilleus Mantzios <achill@matrix.gatewaynet.com>, freebsd-java@freebsd.org Subject: Re: AMD64 Diablo 1.5 JDK and libthr Message-ID: <44CEE526.60603@thebeastie.org> In-Reply-To: <20060726144831.GA40775@misty.eyesbeyond.com> References: <Pine.LNX.4.44.0607241000310.7626-100000@matrix.gatewaynet.com> <44C47D64.6010804@thebeastie.org> <20060725150931.GA31017@misty.eyesbeyond.com> <44C6B826.5080308@thebeastie.org> <20060726144831.GA40775@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44CEE526.60603>