From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 13:38:08 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 DB5A637B401 for ; Mon, 14 Jul 2003 13:38:08 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2F3643F85 for ; Mon, 14 Jul 2003 13:38:07 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h6EKbx3M013081; Tue, 15 Jul 2003 08:37:59 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h6EKbtcv013080; Tue, 15 Jul 2003 08:37:55 +1200 (NZST) Date: Tue, 15 Jul 2003 08:37:55 +1200 From: Jonathan Chen To: Vulpes Velox Message-ID: <20030714203755.GB12960@grimoire.chen.org.nz> References: <1058196304.2345.1.camel@ps2.consoledojo.com> <20030714120022.2f8d6c7a.kitbsdlists@HotPOP.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030714120022.2f8d6c7a.kitbsdlists@HotPOP.com> User-Agent: Mutt/1.4.1i cc: email@edylie.net cc: freebsd-questions@freebsd.org Subject: Re: Tuning FreeBSD for HIGH PERFORMANCE Web Server 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: Mon, 14 Jul 2003 20:38:09 -0000 On Mon, Jul 14, 2003 at 12:00:22PM -0500, Vulpes Velox wrote: > Check out /etc/make.conf choose the closest arc for your proc and go with either > O2 or O3 optimizations. > > When using O3 you may end up with a few problems. I have had a bit of problems > compiling some things when I optimized some X stuff using O3. I have not had any > problems with O2 so far. > Compiler options are not a good alternative as tips from the tuning(7) man page. Even more importantly, -O3 compile options can generate bad code. -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III