Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optimal make.conf for Intel Core 2 Duo T9400
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Mon Oct 20, 2008 7:20 am    Post subject: Optimal make.conf for Intel Core 2 Duo T9400 Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Oct 20, 2008 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Mon Oct 20, 2008 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Oct 21, 2008 12:25 am    Post subject: Reply with quote

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

Code:

# emerge -v ccache
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Oct 21, 2008 12:49 am    Post subject: Reply with quote

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 :P

Good luck
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum