From owner-freebsd-stable@FreeBSD.ORG Wed Jul 27 19:40:50 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A7EA16A41F for ; Wed, 27 Jul 2005 19:40:50 +0000 (GMT) (envelope-from bob@immure.com) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 646A143D45 for ; Wed, 27 Jul 2005 19:40:49 +0000 (GMT) (envelope-from bob@immure.com) Received: from pimout2-ext.prodigy.net (pimout2-int.prodigy.net [207.115.4.217]) by ylpvm43.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j6RJerfU016850 for ; Wed, 27 Jul 2005 15:40:53 -0400 X-ORBL: [66.136.206.1] Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by pimout2-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j6RJegbQ340292; Wed, 27 Jul 2005 15:40:43 -0400 Received: from luke.immure.com (luke.immure.com [10.1.132.3]) by maul.immure.com (8.13.3/8.12.11) with ESMTP id j6RJeZRX072300; Wed, 27 Jul 2005 14:40:35 -0500 (CDT) (envelope-from bob@immure.com) Received: from luke.immure.com (localhost [127.0.0.1]) by luke.immure.com (8.13.1/8.13.1) with ESMTP id j6RJeYGh015401; Wed, 27 Jul 2005 14:40:34 -0500 (CDT) (envelope-from bob@luke.immure.com) Received: (from bob@localhost) by luke.immure.com (8.13.1/8.12.11/Submit) id j6RJeYpI015400; Wed, 27 Jul 2005 14:40:34 -0500 (CDT) (envelope-from bob) Date: Wed, 27 Jul 2005 14:40:34 -0500 From: Bob Willcox To: Martin Message-ID: <20050727194034.GG12576@luke.immure.com> References: <42E67972.4000700@nurfuerspam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42E67972.4000700@nurfuerspam.de> User-Agent: Mutt/1.5.9i X-immure-MailScanner-Information: Please contact the ISP for more information X-immure-MailScanner: Found to be clean X-MailScanner-From: bob@immure.com Cc: freebsd-stable@freebsd.org Subject: Re: i386 vs amd64 - benchmark results X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 19:40:50 -0000 On Tue, Jul 26, 2005 at 07:57:06PM +0200, Martin wrote: > > Hi, > > I've tried two benchmarks to check the speed of my > system on two FreeBSD architectures i386 and amd64. > I've never seen anyone posting this kind of benchmark, > so here is what I found out: > > here the results of nbench: > http://phpfi.com/71540 > > here is what openssl speed gives me: > http://phpfi.com/71545 > > Sorry for posting it there, but I don't want to > send attachments to this list. > > Please notice the memory speed penalties while the > system is running on amd64 kernel. I would like to > know what causes this kind of low performance when > memory is being accessed. > > Is this a hardware problem or a problem with FreeBSD? > Generally, FreeBSD-amd64 performs slightly better > than FreeBSD-i386 and it's stable as expected, but > I cannot find any solution to the memory problems > that affect memory intensive applications as you can > see. > > Martin As another data point, below is the nbench output from one of my systems. It's an Athlon 64 3800+ w/ venice core running FreeBSD 6.0-BETA1. Motherboard is an ASUS A8V Deluxe (socket 939) with 1GB of DDR400 RAM (2 512MB sticks). BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97) TEST : Iterations/sec. : Old Index : New Index : : Pentium 90* : AMD K6/233* --------------------:------------------:-------------:------------ NUMERIC SORT : 2326 : 59.65 : 19.59 STRING SORT : 202.35 : 90.41 : 13.99 BITFIELD : 5.2938e+08 : 90.81 : 18.97 FP EMULATION : 153.36 : 73.59 : 16.98 FOURIER : 18608 : 21.16 : 11.89 ASSIGNMENT : 27.817 : 105.85 : 27.46 IDEA : 3400 : 52.00 : 15.44 HUFFMAN : 1869.4 : 51.84 : 16.55 NEURAL NET : 24.696 : 39.67 : 16.69 LU DECOMPOSITION : 1237.9 : 64.13 : 46.31 ==========================ORIGINAL BYTEMARK RESULTS========================== INTEGER INDEX : 72.257 FLOATING-POINT INDEX: 37.759 Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0 ==============================LINUX DATA BELOW=============================== CPU : L2 Cache : OS : FreeBSD 6.0-BETA1 C compiler : cc libc : /lib/libc.so.6 MEMORY INDEX : 19.388 INTEGER INDEX : 17.076 FLOATING-POINT INDEX: 20.942 Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38 * Trademarks are property of their respective holder. -- Bob Willcox Reality is nothing but a collective hunch. bob@immure.com -- Lily Tomlin Austin, TX