From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 13 08:23:59 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D3A037B401 for ; Wed, 13 Aug 2003 08:23:59 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB7B943FAF for ; Wed, 13 Aug 2003 08:23:57 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h7DFNuv11771 for ; Wed, 13 Aug 2003 17:23:56 +0200 (MEST) Date: Wed, 13 Aug 2003 17:23:56 +0200 (CEST) From: Harti Brandt In-Reply-To: <20030812213355.M22214@seekingfire.com> Message-ID: <20030813171438.I97608@beagle.fokus.fraunhofer.de> References: <20030807062536.GA68747@dragon.nuxi.com> <20030812213355.M22214@seekingfire.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sparc64@freebsd.org Subject: Re: ponderous 'make world' times post GCC 3.3... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@freebsd.org List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 15:23:59 -0000 T>On Mon, Aug 11, 2003 at 11:51:00AM -0400, Garance A Drosihn wrote: T>> At 1:40 AM -0700 8/9/03, Kris Kennaway wrote: T>> >On Sat, Aug 09, 2003, Garance A Drosihn wrote: T>> > T>> >> So, apparently the problem is something a bit more subtle than T>> >> just gcc 3.3 being slower to compile than gcc 3.2. Apparently T>> >> the August 9th system is a lot slower at *running* than the T>> >> early system. Do we have some other benchmarks we could run? T>> > T>> >This suggests that something might have been pessimized with T>> >the gcc 3.3 code generation on sparc. The problem seems to be in the kernel, not the compiler. I have rebuilt a gcc 3.2.2. The actual kernel (from yesterday) is slightly faster when built with 3.3.1 as opposed to 3.2.2 (in the order of 3-4%), but VERY slow. A kernel from June 1st built with 3.2.2 has its 'normal' speed. I'm trying now I binary search to find the victim. One difference between the kernels is, that a /usr/bin/time -l make something reports twice as much involuntary context switches with the new kernel. I don't know, however, exactly what this means. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org