View previous topic :: View next topic |
Author |
Message |
c707176 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Mar 2005 Posts: 215
|
Posted: Mon Oct 20, 2008 7:20 am Post subject: Optimal make.conf for Intel Core 2 Duo T9400 |
|
|
Hi,
can anybody suggest what I should use in the /etc/make.conf as CFLAGS etc. for a Intel Core 2 Duo T9400 to yield optimal performance? The cpu is 2.53GHz and the 6MB cache and 4GB (2 x 2GB, DDR-3 1066MHz) RAM.
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Oct 20, 2008 4:30 pm Post subject: |
|
|
Hi, you can you this :
Code: |
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
|
On my box, I use that :
Code: |
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
USE="gtk kde -gnome qt3 qt4 kdeenablefinal nls oss alsa dvd dvdread dvdr truetype avi userlocales cups
foomaticdb usb divx ppds unicode jpeg gif png mp3 opengl mpeg real xv quicktime hal dbus pdf"
LINGUAS="fr"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="vesa nvidia"
FEATURES="ccache"
CCACHE_SIZE="2G"
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c707176 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Mar 2005 Posts: 215
|
Posted: Mon Oct 20, 2008 6:51 pm Post subject: |
|
|
d2_racing,
what does CHOST="x86_64-pc-linux-gnu" mean? Does it refer to a 64bit box? I am actually not sure if I have 32 or 64 bit...
And can I use
FEATURES="ccache"
CCACHE_SIZE="6G"
in my case? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Oct 21, 2008 12:25 am Post subject: |
|
|
Hi, yes you can use
Code: |
FEATURES="ccache"
CCACHE_SIZE="2G"
|
but you need to actually install ccache before adding these lines to your /etc/make.conf
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Oct 21, 2008 12:49 am Post subject: |
|
|
Hi, your CPU is a 64 bits compatible, so you can install your Gentoo box with the AMD64 CD or the SystemRescueCD and boot with the rescue64 options
Good luck |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|