Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuration for Core 2 Duo
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
Coin Coin
n00b
n00b


Joined: 28 Oct 2008
Posts: 42

PostPosted: Sun Sep 06, 2009 4:58 pm    Post subject: Configuration for Core 2 Duo Reply with quote

Hi

I didn't find any thread which explain clearly how to configure gentoo on a core 2 duo desktop (kernel and gcc)

I want to regroup in this thread any information on how to configure it

I'm on a 2008.0 gentoo with an Intel Core 2 Duo E8400 in 32 bits with GCC 4.3.2 (actual stable) with 2.6.24-gentoo-r7 kernel

I've found how to configure the make.conf file:

Code:
CFLAGS=""march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"


But I didn't find anywhere how to configure the kernel.

I've set Core 2/newer Xeon for the Processor family, but I don't know what I should set (or unset) to optimize the kernel for core 2 duo processors.

Any suggestion? I will edit this post to regroup all information which will help to configure gentoo on an Intel Core 2 Duo
Back to top
View user's profile Send private message
Bircoph
Retired Dev
Retired Dev


Joined: 27 Jun 2008
Posts: 261
Location: Moscow

PostPosted: Sun Sep 06, 2009 6:04 pm    Post subject: Re: Configuration for Core 2 Duo Reply with quote

Coin Coin wrote:

I didn't find any thread which explain clearly how to configure gentoo on a core 2 duo desktop (kernel and gcc)

There are some universal guides: http://www.gentoo.org/doc/en/gcc-optimization.xml

Quote:

I've set Core 2/newer Xeon for the Processor family, but I don't know what I should set (or unset) to optimize the kernel for core 2 duo processors.

Any suggestion? I will edit this post to regroup all information which will help to configure gentoo on an Intel Core 2 Duo

Do not ever tamper with kernel CFLAGS, kernel is very special. Just use Core2 optimization option, use SMP and HyperThreading.
_________________
Per aspera ad astra!
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Sun Sep 06, 2009 7:15 pm    Post subject: Re: Configuration for Core 2 Duo Reply with quote

Coin Coin wrote:
Hi

I didn't find any thread which explain clearly how to configure gentoo on a core 2 duo desktop (kernel and gcc)

I want to regroup in this thread any information on how to configure it

I'm on a 2008.0 gentoo with an Intel Core 2 Duo E8400 in 32 bits with GCC 4.3.2 (actual stable) with 2.6.24-gentoo-r7 kernel

I've found how to configure the make.conf file:

Code:
CFLAGS=""march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"


But I didn't find anywhere how to configure the kernel.

I've set Core 2/newer Xeon for the Processor family, but I don't know what I should set (or unset) to optimize the kernel for core 2 duo processors.

Any suggestion? I will edit this post to regroup all information which will help to configure gentoo on an Intel Core 2 Duo


you might want to check the config that puppy posted for me here: https://forums.gentoo.org/viewtopic-t-790895-highlight-.html I have a similar cpu, notice that the config is for tuxonice-sources
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
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