From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 30 02:05:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB227106564A for ; Tue, 30 Dec 2008 02:05:31 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6ABCC8FC1C for ; Tue, 30 Dec 2008 02:05:31 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 934C3192DB; Mon, 29 Dec 2008 21:05:29 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Mon, 29 Dec 2008 21:05:29 -0500 (EST) Date: Tue, 30 Dec 2008 02:05:24 +0000 From: Bruce Cran To: Christian Weisgerber Message-ID: <20081230020524.2563a6ac@gluon> In-Reply-To: <20081230004747.GA55542@lorvorc.mips.inka.de> References: <20081230004747.GA55542@lorvorc.mips.inka.de> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Nate Eldredge , freebsd-hackers@freebsd.org Subject: Re: lzo2 shows insane speed gap X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 02:05:31 -0000 On Tue, 30 Dec 2008 01:47:47 +0100 Christian Weisgerber wrote: > Nate Eldredge: > > > It might be good first to rule out compiler / library differences. > > Sure. Let's cut this short: > > "Slow" > Athlon 64 X2 5200+ 2.6 GHz, FreeBSD 8.0-CURRENT amd64 ~60 > min Phenom 9350e 2.0 GHz, OpenBSD 4.4-CURRENT amd64 > ~80 min UltraSPARC-IIe 500 MHz (Blade 100), OpenBSD 4.4-CURRENT > sparc64 10 h++ > > "Fast" > Pentium 4 3.0 GHz, FreeBSD 6.4-RELEASE i386 36 s > Xeon E5405 2.0 GHz (PowerEdge 1950), OpenBSD 4.4-CURRENT amd64 47 s > Alpha 21164A 500 MHz (AlphaPC164), OpenBSD 4.4-CURRENT alpha 9 > min > > Let me draw your attention to the fact that the two amd64 systems > that run different operating systems are both slow, whereas the two > amd64 systems that run the same operating system (compiler, libraries) > diverge in speed. > > > Oh, and everybody is invited to run > > $ cd /usr/ports/archivers/lzo2 && make I'm running 8.0-CURRENT amd64 here on a Turion64 X2 machine. Without malloc debugging (malloc.conf -> aj) 'make test' takes 25s; after removing malloc.conf thus turning on debugging, it takes over 10 minutes. -- Bruce Cran