From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 15:24:13 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 095F516A41F for ; Mon, 14 Nov 2005 15:24:13 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp3.suscom.net (smtp3.suscom.net [64.78.119.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 795BF43D73 for ; Mon, 14 Nov 2005 15:24:04 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (unknown [127.0.0.1]) by smtp3.suscom.net (Postfix) with ESMTP id D64A7210187 for ; Mon, 14 Nov 2005 10:23:35 -0500 (EST) Received: from smtp3.suscom.net ([127.0.0.1]) by localhost (smtp3.suscom.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13298-01-80 for ; Mon, 14 Nov 2005 10:23:23 -0500 (EST) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp3.suscom.net (Postfix) with SMTP id EF0662101AA for ; Mon, 14 Nov 2005 10:23:22 -0500 (EST) Received: from [192.168.0.2] (//gerard [192.168.0.2]) by seibercom.net (8.13.4/8.13.4) with ESMTP id jAEFNKuY010710 for ; Mon, 14 Nov 2005 10:23:20 -0500 (EST) (envelope-from gerard@seibercom.net) Date: Mon, 14 Nov 2005 10:23:22 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20051114102308.7515.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.22.02 [en] X-Virus-Scanned: amavisd-new at suscom.net Subject: Makefile and Kernel Optimizations in 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 15:24:13 -0000 I am presently running FreeBSD 5.4, but am considering upgrading to version 6.0 in the near future. I have read on this forum that the /etc/make.conf file has been moved in version 6.0. I assume that although it has been moved, that it still serves the same purpose as it did in the 5.4 version. Is that correct? I also read somewhere that version 6 has CFLAGS=O2 set by default. Does it also have COPTFLAGS=-O2 set or does it make any difference? Finally, I was using something I found in the BSD Hacks book distributed by O'Reilly. It has a section on Kernel Optimizations and recommends assigning this to the kernel immediately after the i386 line. Makeoptions COPTFLAGS="O2 - pipe" Actually it goes on to recommend '-funroll-loops' and '-ffast-math' as well. Since I do not know what those two are about, I never used them. In any case, is it recommended to use any optimization in the kernel in the new 6.0 version? Thanks! -- Gerard Seibert gerard@seibercom.net