From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 13 08:48:28 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 772C237B401; Wed, 13 Aug 2003 08:48:28 -0700 (PDT) Received: from energistic.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A85BB43FBF; Wed, 13 Aug 2003 08:48:26 -0700 (PDT) (envelope-from steve@energistic.com) Received: from energistic.com (steve@localhost [127.0.0.1]) by energistic.com (8.12.9/8.12.9) with ESMTP id h7DFmNCF051653; Wed, 13 Aug 2003 10:48:24 -0500 (EST) (envelope-from steve@energistic.com) Received: (from steve@localhost) by energistic.com (8.12.9/8.12.9/Submit) id h7DFmNOU049869; Wed, 13 Aug 2003 10:48:23 -0500 (EST) (envelope-from steve) Date: Wed, 13 Aug 2003 10:48:23 -0500 From: Steve Ames To: harti@freebsd.org Message-ID: <20030813154823.GA99828@energistic.com> References: <20030807062536.GA68747@dragon.nuxi.com> <20030812213355.M22214@seekingfire.com> <20030813171438.I97608@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030813171438.I97608@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.5.4i 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 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:48:28 -0000 On Wed, Aug 13, 2003 at 05:23:56PM +0200, Harti Brandt wrote: > 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. This may be a red herring... My first post gcc 3.3 kernel took 12 hours to build on my U5. This was a GENERIC kernel since I hadn't recompiled since January (long story). The following two kernels also took 12 hours. Then I cleaned up the kernel config and its back down to around 4.5 hours... It could be a kernel debugging option maybe? Could be that a bit of hit/miss experimenting could find it. Here's my current config (4.5 hour 'make world'). -Steve /sys/sparc64/conf/SPARC ----------------------------------------- machine sparc64 cpu SUN4U ident GENERIC options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options NFSCLIENT #Network Filesystem Client options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Keep this for a while options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores device apb # Sun APB PCI-PCI bridge device ebus device isa device pci device sbus device central device fhc options OFW_NEWPCI device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device ofw_console # OpenBoot firmware console device device genclock # Generic clock interface device eeprom # eeprom (really an ebus driver for the MK48Txx) device "mk48txx" # Mostek MK48T02, MK48T08, MK48T59 clock device miibus # MII bus support device hme # Sun HME (Happy Meal Ethernet) device random # Entropy device device loop # Network loopback device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying/(translation)