Mailinglist Archive: opensuse (4344 mails)

< Previous Next >
Re: [opensuse] Compiling from source
  • From: "Andreas Girardet" <agirardet@xxxxxxxxxx>
  • Date: Thu, 11 Aug 2005 15:22:37 -0600
  • Message-id: <42FC6A5D.4906.0018.0@xxxxxxxxxx>
I use an /etc/rpmrc

optflags: i686 -O2 -mtune=i686 -march=i686 -fomit-frame-pointer -funroll-loops -fforce-mem -fforce-addr -fexpensive-optimizations
optflags: i586 -O2 -mtune-i686 -march=i686 -fomit-frame-pointer -funroll-loops -fforce-mem -fforce-addr -fexpensive-optimizations
#############################################################
# Canonical arch names and numbers
arch_canon: i686: i686 1
#############################################################
# Canonical OS names and numbers
os_canon: Linux: Linux 1
#############################################################
# For a given uname().machine, the default build architecture
buildarchtranslate: i686: i686
buildarchtranslate: i586: i686
#############################################################
# Architecture compatibility
arch_compat: i686: i686
buildarch_compat: i686: i686



>From my experience the difference comes in "snappyness" of the desktop and much faster performance on starting applications. Personally I have done tests that show an up to 200%+ performance increase (based on tests /comparisons we did with Yoper a while back). Depending of course on which distro you compare it too.

Don't forget that in i686 you have all those nice little features like mmx and 3dnow, which make GUI applications just so much faster. From real life experience with Yoper/Gentoo I can only say that I can't wait to have my SuSE optimised.

One could actually just optimise glibc, xorg, kde, qt, firefox and the majour gnome libs, plus kernel (with performance patches) and probably get really close without having to recompile the whole distro.


IMHO ...... of course.


>>> vfernandez@xxxxxxxxxxxxxx 08/11/05 9:23 pm >>>
You may use y2pmbuild to recompile the packages. It's included in the package
"y2pmsh". Perhaps tweaking the .rpmrc in a way like this you can make the
packages compile for i686 by default:

buildarchtranslate: i386: i686
buildarchtranslate: i486: i686
buildarchtranslate: i586: i686
buildarchtranslate: i686: i686

But I don't think you're going to see any difference from the default
compilation for i586. Tweaking things like hdparm will probably have more
impact in the performance. BTW, I get DMA disabled in Suse 9.3 by default
when I install it. I really wonder why. :S


El Jueves, 11 de Agosto de 2005 11:08, Renegade Penguin escribió:
> Where do I find a tutorial on compiling OpenSUSE from source? I'd like
> to recompile for my own machine, 686 vs. 386, and possibly do a couple
> other tweaks.
>
> If there's no tutorial - is there one on compiling SUSE?
>
> Anything else I need to know?
>
> RP

--
Víctor Fernández Martínez
Gabinete de prensa de PoLinux [www.polinux.upv.es]. Usuario de Linux
registrado #312284 en http://counter.li.org.

---------------------------------------------------------------------
To unsubscribe, e- mail: opensuse- unsubscribe@xxxxxxxxxxxx
For additional commands, e- mail: opensuse- help@xxxxxxxxxxxx





< Previous Next >