
Code: Select all
CFLAGS="-O2 -march=athlon64 -msse3 -pipe"
MAKEOPTS="-j3"
USE="mmx mmxext sse sse2 3dnow 3dnowext nptl threads ithreads"Yup, the Turions have the pni flag. As for the stage1 install I know it's not supported anymore, but still I will do it. Stage1 gives me an incredible speed boost (OOffice compiles in 7 hours instead of 10, kernel compiles in under 25 minutes).Hopeless wrote:I believe "-msse3" is okay for all X2's, however I'm not completely sure about turions, so you should check if you have pni listed in the flags section of /proc/cpuinfo.
You can also mess around with LDFLAGS, but there isn't really any consensus on those so you should look them up yourself (LDFLAGS="-Wl,-O1 -Wl,--as-needed" would be a decent minimum though).
It should be pointed out though that stage 1 installs aren't really supported anymore, doing an `emerge -e system && emerge -e world` what a later stage install will give you an equally "optimised" installation.
That can't be because of the stage1 install.dnadesign wrote:Yup, the Turions have the pni flag. As for the stage1 install I know it's not supported anymore, but still I will do it. Stage1 gives me an incredible speed boost (OOffice compiles in 7 hours instead of 10, kernel compiles in under 25 minutes).
Hopeless wrote:doing an `emerge -e system && emerge -e world` what a later stage install will give you an equally "optimised" installation.
Stage 1 is one and the only way to goYup, the Turions have the pni flag. As for the stage1 install I know it's not supported anymore, but still I will do it. Stage1 gives me an incredible speed boost (OOffice compiles in 7 hours instead of 10, kernel compiles in under 25 minutes).

I still do stage 1 installs too, but only because I do "naughty" things to the install which are easier to do during a bootstrap.Dagger wrote:Stage 1 is one and the only way to goYup, the Turions have the pni flag. As for the stage1 install I know it's not supported anymore, but still I will do it. Stage1 gives me an incredible speed boost (OOffice compiles in 7 hours instead of 10, kernel compiles in under 25 minutes).
I can't agree. I have Asus A6 laptop with Turion64 x2. Few days ago i installed (stage 3) i686 version of gentoo with athlon-xp cflag.Yup, the Turions have the pni flag. As for the stage1 install I know it's not supported anymore, but still I will do it. Stage1 gives me an incredible speed boost (OOffice compiles in 7 hours instead of 10, kernel compiles in under 25 minutes).

Possibly, there really isn't much reason to stick with i686 on amd64 hardware anymore.pietia wrote:I can't agree. I have Asus A6 laptop with Turion64 x2. Few days ago i installed (stage 3) i686 version of gentoo with athlon-xp cflag.
oo.org compialtion took 7.5 hours.
today i want to install 64-bit version gentoo - can i expect any boost ?
I'm still prefer amd, but even I have to admit that the core 2's are simply faster than the current athlon64 X2's, and I have absolutely no doubt that that's why your compile of openoffice went so much faster.Dagger wrote:Duo Core 2 2.13Ghz intel 82975X - OO around 5h 35 min. Of course I'm not saying its because of stage1.
Actually compilation times might actually be slower on 64bit, even though the overall performance should be better.pietia wrote:I can't agree. I have Asus A6 laptop with Turion64 x2. Few days ago i installed (stage 3) i686 version of gentoo with athlon-xp cflag.Yup, the Turions have the pni flag. As for the stage1 install I know it's not supported anymore, but still I will do it. Stage1 gives me an incredible speed boost (OOffice compiles in 7 hours instead of 10, kernel compiles in under 25 minutes).
oo.org compialtion took 7.5 hours.
today i want to install 64-bit version gentoo - can i expect any boost ? 8O
As we can read in wiki - LDFLAGS for Turion are not listed in safe flags. May i ask - why ?Hopeless wrote:You can also mess around with LDFLAGS, but there isn't really any consensus on those so you should look them up yourself (LDFLAGS="-Wl,-O1 -Wl,--as-needed" would be a decent minimum though).
Perhaps not tested? I don't know.pietia wrote:As we can read in wiki - LDFLAGS for Turion are not listed in safe flags. May i ask - why ?Hopeless wrote:You can also mess around with LDFLAGS, but there isn't really any consensus on those so you should look them up yourself (LDFLAGS="-Wl,-O1 -Wl,--as-needed" would be a decent minimum though).
Is it too dangerous ?
sry, i new to gentoo (debian user... )

Code: Select all
LDFLAGS="-Wl,-O1"Code: Select all
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
CFLAGS="-march=native -O2 -fgcse-after-reload -fno-ident -fweb -msse3 -pipe"
CXXFLAGS="-march=native -O2 -fgcse-after-reload -fno-ident -fweb -msse3 -pipe -fno-enforce-eh-specs -fvisibility-inlines-hidden"
Code: Select all
loser@Purgatory ~ $ cat /etc/make.conf
ACCEPT_KEYWORDS="~x86"
CFLAGS="-march=k8"
CFLAGS="${CFLAGS} -O2"
CFLAGS="${CFLAGS} -fgcse-after-reload"
CFLAGS="${CFLAGS} -fno-ident"
CFLAGS="${CFLAGS} -fomit-frame-pointer"
CFLAGS="${CFLAGS} -fweb"
CFLAGS="${CFLAGS} -msse3"
CFLAGS="${CFLAGS} -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
CXXFLAGS="${CXXFLAGS} -fno-enforce-eh-specs"
CXXFLAGS="${CXXFLAGS} -fvisibility-inlines-hidden"
FEATURES="fixpackages parellel-fetch"
LDFLAGS="-Wl,-O1"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PORT_LOGDIR=/var/log/portage
PORTAGE_ELOG_CLASSES="warn error log info"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_NICENESS="0"
PORTDIR_OVERLAY="/usr/local/portage"
USE="3dnow 3dnowext x86 a52 aac aalib acpi apach2 bash-completion bzip2
cdparanoia cdr crypt dbus dio directfb dvd dvdr dvdread encode fam
fbcon ffmpeg firefox flac ftp gif glibc-omitfp gnome gpm gtk gtk2
ithreads java javascript jpeg kdeenablefinal kdehiddenvisiblity
lm_sensors mikmod mmx mmxext mng mp3 mpeg mysql nptl nptlonly
nsplugin offensive ogg openal opengl pdf png pni quicktime samba
sse sse2 ssl svga symlink threads tiff truetype unicode usb vorbis
wifi win32codecs xml xv xvid zlib
-arts -dri -eds -esd -kde -qt -qt3 -qt4"
VIDEO_CARDS="nv nvidia"Code: Select all
loser@Purgatory ~ $ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 79
model name : AMD Sempron(tm) Processor 3000+
stepping : 2
cpu MHz : 1607.338
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm extapic cr8legacy ts ttp tm stc
bogomips : 3231.47
clflush size : 64


Hey, shouldn't this be parallel-fetch?LoSeR_5150 wrote:Code: Select all
... FEATURES="fixpackages parellel-fetch" ...

