|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Apr 2003
Città: Genova
Messaggi: 673
|
[Gentoo] Cflags
Ciao a tutti ho una gentoo stage 1.
Ho delle incertezze per quanto riguarda la scelte delle ottimizzazioni. Posseggo questa CPU: Codice:
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 3.20GHz stepping : 3 cpu MHz : 3199.514 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid bogomips : 6324.22 Codice:
CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" USE="X a52 alsa audiofile avi bmp bzip2 bzlib cdparanoia cdr cups divx4linux dv dvd dvdr encode fbcon ffmpeg fftw flac font-server foomaticdb freetype ftp gif gimpprint gtk iconv ieee1394 imagemagick imlib java jpeg perl blackdown-jre lesstif live lm_sensors lzo mad mp3 mpeg mng network nls nptl nvidia oggvorbis oggvorbis opengl pdflib png ppds qt quicktime readline real sndfile spell svg svga theora threads tiff truetype truetype-fonts unicode usb userlocales wmf bluetooth xine xmms xml xscreensaver xvid ssl -acl -esd -gnome -ipv6 -ldap oss -xprint -arts -kde" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.easynet.nl/mirror/gentoo/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" Ho cercato un po sul forum di gentoo ma non sono riuscito a trovare un livello di ottimizzazione "hard" Avete consigli in proposito. ![]() Grazie in anticipo ![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
io suggerirei:
CFLAGS="-O2 -march=prescott -ftracer -pipe -mmmx -msse2 -fomit-frame-pointer -fpmath=sse,387" se vuoi spingere un po' di piu' puoi mettere -O3, ma secondo me tra il tempo che ci mette in + a compilare non ne vale la pena. -Os invece lo eviterei proprio perchè con un prescott 3Ghz non mi compilava della roba.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Iscritto dal: Apr 2003
Città: Genova
Messaggi: 673
|
Quote:
con le tue cflags ho un buon gap di prestazioni rispetto alle mie? |
|
![]() |
![]() |
![]() |
#5 | |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
Quote:
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Jan 2004
Città: Gatteo
Messaggi: 2955
|
Occhio però, a spingere troppo a volte ci is perde.
__________________
And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed down upon the unbelievers and cast fire and thunder upon them. For the beast had been reborn with its strength renewed, and the followers of Mammon cowered in horror. |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 09:22.