Skip site navigation (1)Skip section navigation (2)
Date:      04 Nov 2002 22:15:18 -0600
From:      James McNaughton <jtm63@enteract.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>, Walter <walterk1@earthlink.net>, "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: kernel optimization
Message-ID:  <86u1iwmz3d.fsf@jamestown.21stcentury.net>
In-Reply-To: <20021024213548.GA54124@xor.obsecurity.org>
References:  <3DB80AF6.4559ED25@earthlink.net> <44bs5j24kb.fsf@be-well.ilk.org> <20021024213548.GA54124@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@obsecurity.org> writes:

> On Thu, Oct 24, 2002 at 12:18:44PM -0400, Lowell Gilbert wrote:
> > Walter <walterk1@earthlink.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86u1iwmz3d.fsf>