Re: How is it possible ???

Peter <[email protected]>
Newsgroups gmane.linux.gentoo.performance
Organization GPI RAS
Message-ID <[email protected]>
On Wed, 05 Jan 2005 17:56:36 +0300, Peter wrote:

> On Mon, 28 Jun 2004 21:25:41 +0200, Andrea Pretto wrote:
> 
>> The situation does not improve....
>> The ram usage and the speed are the same....
>> 
>> If I use -mcpu=i686 instead of -march=athlon-xp ?? What will change???
> 
Sorry for my previous mail.

In this thread I saw at least twice suggestions to use -Os flags. Never
use this flags for all your system. For example compilling of glibc with
this flags results in unusable system.

Another thought about boot speed. Try to use prelink. I know that Red Hat
Linux has it by default.

Also note. May be it's good to use both -mcpu and -marh. Sometimes march
is striped away so if you set only march then you stay without any
optimisations...

Usage of -fPIC can break your system. Try to rebuild your system (I mean
emerge -e world) with such flags:
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mcpu=athlon-xp"
Then enable prelink and make your tests...



--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.