Re: [Lug-Nuts] compile otpimization

From: Brian Lavender (brian@brie.com)
Date: Fri Oct 22 1999 - 17:21:40 PDT


Uh, it's the second option under

make menuconfig

Processor type and features --->

I compile mine for 586.

brian

On Fri, Oct 22, 1999 at 04:52:57PM -0700, Scott Tyson wrote:
> Does anyone out there optimize their kernel compile for a specific Chip
> I.E. Pentium, PentiumPro, PII etc? IF you have I'd be curious as to how
> you did this. I've played with the /usr/src/linux/arch/i386/Makefile
> and changed the -m486 to -mpentiumpro for my dual PII400 box and I also
> tried the -march=686. The march option created some problems most
> notably Quake2 didn't want to run for more than 20 minutes at a stretch.
> A big deal when that is the reason for the server being in existence. .
> I guess not having any instructions compatible with the 386 is a bad
> thing (the -march option dictates what chipset to create instructions
> for and the -m option deals with instruction scheduling from what I
> know). Now if I had the source I could re-compile it with the same
> optimizations :) The -pentiumpro option seems to help a bit from what I
> can gather, maybe a few % in CPU cycles showing in top on large CPU
> consuming processes but I'm not sure. Anyone else played with this?
>
> Scott

-- 
Brian Lavender
http://www.brie.com/brian/



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:07 PST