From owner-freebsd-java@FreeBSD.ORG Thu Apr 19 02:32:59 2007 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 0B90E16A401 for ; Thu, 19 Apr 2007 02:32:59 +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 D293C13C484 for ; Thu, 19 Apr 2007 02:32:58 +0000 (UTC) (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 F281C4CB85; Thu, 19 Apr 2007 02:33:19 +0000 (GMT) Received: from smitch7.jumbuck.com (p82.jumbuck.com [206.112.99.82]) by p4.roq.com (Postfix) with ESMTP id C041A4CB44; Thu, 19 Apr 2007 02:33:19 +0000 (GMT) Received: from smitch7.jumbuck.com (mail.jumbuck.com [206.112.99.82]) by smitch7.jumbuck.com (Postfix) with ESMTP id 3BBBC411299; Thu, 19 Apr 2007 02:32:56 +0000 (UTC) Received: from beaste5.jumbuck.com (melbourne.jumbuck.com [150.101.166.27]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smitch7.jumbuck.com (Postfix) with ESMTP id DF17B411248; Thu, 19 Apr 2007 02:32:55 +0000 (UTC) Received: from beaste5.jumbuck.com (beast5 [192.168.46.105]) by beaste5.jumbuck.com (Postfix) with ESMTP id BD310209D1A9; Thu, 19 Apr 2007 12:32:54 +1000 (EST) Received: from beast2.jumbuck.com (unknown [192.168.46.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by beaste5.jumbuck.com (Postfix) with ESMTP id 8E2E8209D195; Thu, 19 Apr 2007 12:32:54 +1000 (EST) Message-ID: <4626D4D5.7030303@thebeastie.org> Date: Thu, 19 Apr 2007 12:32:53 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.2) Gecko/20070314 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-performance@freebsd.org Subject: Java performance on AMD64 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: Thu, 19 Apr 2007 02:32:59 -0000 Hey All, I been benchmarking Diablo Java under AMD64 on 6.2R and using the same methods I posted a while ago detailed somewhat here http://lists.freebsd.org/pipermail/freebsd-java/2006-August/005576.html The difference here is that libthr now works under Amd64. But it appears libthr to be about half the speed of libpthread under AMD64 mode which is the opposite behavior when using it under i386. The only other difference is that I am now using a 4 core server (total) Intel Core2 cpus, I tried testing under a dual core (total) server and the performance was just about exactly neck and neck between libpthread and libthr which is also somewhat wierd. The servers are under stock 6.2R and I did have a multi IP jail patch applied and I tried removing that and it had no difference on performance. Does any one know with there is such a large amount of difference of behavior between i386 and Amd64 on Java? Thanks, Mike