From owner-freebsd-questions Mon Nov 4 20:15:31 2002 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 02C9937B401 for ; Mon, 4 Nov 2002 20:15:30 -0800 (PST) Received: from smtp-2.enteract.com (smtp-2.enteract.com [207.229.143.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73CFA43E8A for ; Mon, 4 Nov 2002 20:15:29 -0800 (PST) (envelope-from jtm63@enteract.com) Received: from jamestown.21stcentury.net (24-148-18-147.na.21stcentury.net [24.148.18.147]) by smtp-2.enteract.com (Postfix) with ESMTP id A36BC836C; Mon, 4 Nov 2002 22:15:23 -0600 (CST) Received: from jamestown.21stcentury.net (localhost [127.0.0.1]) by jamestown.21stcentury.net (8.12.5/8.12.5) with ESMTP id gA54FMeM082844; Mon, 4 Nov 2002 22:15:23 -0600 (CST) (envelope-from jtm@jamestown.21stcentury.net) Received: (from jtm@localhost) by jamestown.21stcentury.net (8.12.5/8.12.5/Submit) id gA54FKeB082841; Mon, 4 Nov 2002 22:15:21 -0600 (CST) To: Kris Kennaway Cc: Lowell Gilbert , Walter , "freebsd-questions@FreeBSD.org" Subject: Re: kernel optimization References: <3DB80AF6.4559ED25@earthlink.net> <44bs5j24kb.fsf@be-well.ilk.org> <20021024213548.GA54124@xor.obsecurity.org> From: James McNaughton Date: 04 Nov 2002 22:15:18 -0600 In-Reply-To: <20021024213548.GA54124@xor.obsecurity.org> Message-ID: <86u1iwmz3d.fsf@jamestown.21stcentury.net> Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway writes: > On Thu, Oct 24, 2002 at 12:18:44PM -0400, Lowell Gilbert wrote: > > Walter writes: > > > > > Q: Do I comment out the "I386_CPU" and "I486_CPU" > > > lines to optimize for a Pentium, (& if not, how do I,) and > > > > Yes. > > > > > Q: Does it make a significant difference? > > > > It will make the kernel a bit smaller, but it won't speed anything up. > > It will speed up some kernel code, because it will use different > (non-386 compatible) asm code for things like bzero. > > Kris Do the options CPUTYPE=i586/mmx CFLAGS= -O -pipe NOPROFILE=true in /etc/make.conf do anything for the kernel, or do they just affect userland? Just wondering... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message