From owner-freebsd-newbies@FreeBSD.ORG Tue Apr 29 00:11:08 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 347E937B401 for ; Tue, 29 Apr 2003 00:11:08 -0700 (PDT) Received: from web10506.mail.yahoo.com (web10506.mail.yahoo.com [216.136.130.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B82E43F3F for ; Tue, 29 Apr 2003 00:11:07 -0700 (PDT) (envelope-from frebhed@yahoo.com.au) Message-ID: <20030429071107.92152.qmail@web10506.mail.yahoo.com> Received: from [202.76.136.20] by web10506.mail.yahoo.com via HTTP; Tue, 29 Apr 2003 17:11:07 EST Date: Tue, 29 Apr 2003 17:11:07 +1000 (EST) From: =?iso-8859-1?q?mr=20fred?= To: freebsd-newbies@freebsd.org In-Reply-To: <20030429063543.GA888@home.arachne.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: kernel optimized for Athlon XP 1800+ X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 07:11:08 -0000 --- Jan Stary wrote: > Hi there, > > I installed FreeBSD 5.0 a few days ago and I love it. This is what I > wanted to turn my linux box into for a long time! > > Anyway; it's an Athlon CPU, and when compiling my custom kernel, I > couldn't find any option more specific then CPU_I686 (also said > ATHLON_SSE_HACK). I only want to make sure that it really gets optimized > for my Athlon (so far, all ports compile with -mcpu=pentiumpro). > > Is it so that for FreeBSD5.0 there is just a 'class' of I686 CPUs > (without differentiating more) or is there some other option I missed? > > btw, what is fb50's analogy of what linux names /proc/cpuinfo ? > > Thank you > > Jan I have the same cpu and I have only recently switched to FreeBSD (been enlightened). I am on constant lookout for optimisation tweaks! Asside from disabling debugging and other unneeded options I havent found anything that relates to AthlonXP specific options with the kernel (except for the MAKEOPTIONS (?) flag)... I dont think the SSE_HACK option needs to be enabled if you see SSE in the start of dmseg... but, checkout the compiler options and edit /etc/make.conf accordingly (man make.conf). I cannot remember whether the MAKEOPTIONS in the kernel config override or compliment those in /etc/make.conf... I just put my options in the /etc/make.conf :) It kind of pays to know what youre doing when adding more options though... strange things can happen :) I think its pretty safe to add -msse -mmmx -mcpu=athlon-xp to the CFLAGS option though (I think -march=whatever gets added from that other CPU option) :) I dont have access to my FreeBSD box right now... I would suggest getting a benchmark from the ports tree as well (something which I havent gotten around to yet). BTW I think there is a performance mailing list now (?) maybe give that a go... cheers Fred ===== worry is a missuse of imagination http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.