From owner-freebsd-current@FreeBSD.ORG Sun Dec 17 14:50:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEF5316A40F for ; Sun, 17 Dec 2006 14:50:27 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8563343CA3 for ; Sun, 17 Dec 2006 14:50:26 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1117347uge for ; Sun, 17 Dec 2006 06:50:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=cSRZDIEpJef7dDWVDgN7Y5oh6GSw/aIwj1674R6l8n7lsuF0F9HUUvrzOSctfQHQ+PVbRy+ow4Rm8uuTTH3C9Th0kYJQzJrXk070t2aYOkZ7U13FPFFIeopNFm7j2L5c/hHSz+zTdN3sp5wX36UiMc/8XYT6zxaesvfrwKSJB+I= Received: by 10.67.19.13 with SMTP id w13mr3475366ugi.1166367025174; Sun, 17 Dec 2006 06:50:25 -0800 (PST) Received: from roadrunner.aventurien.local ( [84.149.91.73]) by mx.google.com with ESMTP id b23sm7648028ugd.2006.12.17.06.50.23; Sun, 17 Dec 2006 06:50:24 -0800 (PST) Received: from roadrunner.aventurien.local (localhost [127.0.0.1]) by roadrunner (8.13.8/8.13.8) with ESMTP id kBHEoFv1002215; Sun, 17 Dec 2006 15:50:15 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner (8.13.8/8.13.8/Submit) id kBHEjPgP002026; Sun, 17 Dec 2006 15:45:25 +0100 (CET) (envelope-from uspoerlein@gmail.com) Date: Sun, 17 Dec 2006 15:44:25 +0100 From: Ulrich Spoerlein To: obrien@freebsd.org, Stefan Ehmann , freebsd-current@freebsd.org, Peter Jeremy , Steve Kargl Message-ID: <20061217144425.GA1463@roadrunner.aventurien.local> Mail-Followup-To: obrien@freebsd.org, Stefan Ehmann , freebsd-current@freebsd.org, Peter Jeremy , Steve Kargl References: <20061213192150.CF83D16A417@hub.freebsd.org> <458235EC.80300@samsco.org> <200612151250.10033.shoesoft@gmx.net> <200612151914.53705.shoesoft@gmx.net> <20061215205138.GB55276@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061215205138.GB55276@dragon.NUXI.org> Cc: Subject: Re: Let's use gcc-4.2, not 4.1 -- OpenMP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 14:50:27 -0000 David O'Brien wrote: > On Fri, Dec 15, 2006 at 07:14:53PM +0100, Stefan Ehmann wrote: > > > CPU: AMD Athlon(TM) XP 2700+ (2166.44-MHz 686-class CPU) > .. > > Settings/Compiler | gcc-3.4 | gcc-4.1 | gcc-4.2 > > ----------------------------+---------+---------+--------- > > -O2 | 6.46s | 6.67s | 6.38s > > -O2 -funroll-loops | 4.44s | 4.16s | 4.02s > > -O2 -march=athlon-xp -fun.. | 4.39s | 4.38s | 4.26s > > -O3 | 6.14s | 5.23s | 5.16s > > -O3 -funroll-loops | 4.24s | 4.87s | 4.95s > > -O3 -march=athlon-xp -fun.. | 4.19s | 4.90s | 5.07s > > A fine example that -O3 isn't always better than -O2. > I wonder if you're blowing the L2 cache. IIRC, all Athlon XP 2700+ > are the Thoughbread core, which has only 256KB L2. I'd be very much interested in -Os numbers. It should help with the cache ... Ulrich Spoerlein -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. > >>Q: Why is top posting frowned upon?