From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:47:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E44C316A4B3 for ; Fri, 10 Oct 2003 09:47:51 -0700 (PDT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 112C043F3F for ; Fri, 10 Oct 2003 09:47:49 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.10/8.12.9) with ESMTP id h9AGlk8j026156; Fri, 10 Oct 2003 12:47:46 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031010105833.GK80210@mir.stevecole.org> References: <20031010105833.GK80210@mir.stevecole.org> Date: Fri, 10 Oct 2003 12:47:44 -0400 To: freebsd-questions@markdrayton.info, freebsd-questions@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: /usr/local/etc/rc.d/*sh and slow build world in FreeBSD 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 16:47:52 -0000 At 11:58 AM +0100 10/10/03, freebsd-questions@markdrayton.info wrote: >1) I can't get /usr/local/etc/rc.d/*sh to work. I don't have any ideas to offer on this. >2) Building kernels/worlds is MUCH slower than under 4.X. A kernel > used to take around an hour; it's taking about 4 under 5.1 > (Cyrix 166mhz/64Mb RAM). Is there still a lot of debugging > code in 5.1 which could slow things down? a) I assume you've read /usr/src/UPDATING in your 5.x system, which explains some settings that you can look at if you are wondering about performance. b) the 5.x-series uses gcc 3.3.x for its compiler, while freebsd-4.x has stayed with gcc 2.94. gcc 3.3.x is definitely much slower at *compiling* code. If your only performance measurement is buildworld and buildkernel, then this difference in compile times is the reason for most of the slowdown that you're seeing. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu