Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]What Is Required (i.e.Recompilation?) If I Swap CPU?
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
sk3l
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 78
Location: CT USA

PostPosted: Thu Aug 01, 2013 11:51 am    Post subject: [SOLVED]What Is Required (i.e.Recompilation?) If I Swap CPU? Reply with quote

I currently roll with a i7-920 quad core. It's a great chip, but I found a steal of a bargain on eBay for an i7-970 hexacore that I couldn't pass up. The i7-970 is due to arrive any day, and after I swap it in, I'm wondering what I should do, if anything, in the way of recompiling my kernel (and any other installed software). I am using -march=native as my CFLAGS, so no chip specific options are explicitly enabled. My assumption is that everything will Just Work(tm) but that I ~may~ benefit from a recompile of kernel/world. I know I should adjust my -j and -load-average options now, as I will effectively go from 8 to 12 logical cores. Also interested in how this will impact my Windows guest in KVM, but that is another topic.

Last edited by sk3l on Thu Aug 01, 2013 7:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Aug 01, 2013 1:38 pm    Post subject: Reply with quote

heh, NOTHING. i switched from a sempron x1 to change motherboard bios to a phenom 9950 x4 with nothing changed.
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Aug 01, 2013 2:02 pm    Post subject: Reply with quote

UPgrading should never be a problem. Worst case your environment won't use any of the newer CPU features.
DOWNgrading and changing CPU vendor is another story and might get you "illegal instruction" errors for example.
Back to top
View user's profile Send private message
Mac Tzu
n00b
n00b


Joined: 13 May 2007
Posts: 44
Location: Melbourne, Australia

PostPosted: Thu Aug 01, 2013 2:53 pm    Post subject: Reply with quote

roarinelk wrote:
UPgrading should never be a problem. Worst case your environment won't use any of the newer CPU features.
DOWNgrading and changing CPU vendor is another story and might get you "illegal instruction" errors for example.


Sk3l,

As abundantly state the short answer is not much. Also it might be hard to tell CPU options have might have changed because you used native and haven't explicitly directly GCC . Depending on the generation of you have new AVX enabled on new CPU. (http://en.wikipedia.org/wiki/Advanced_Vector_Extensions). Which I call in my make.conf with march='icore7-avx'.

While it is unnecessary you could try out your new beastie with a emerge -e @system @world and ask genlop how much more awesome your new CPU is.

I pretty sure genlop will say you machine is pretty awesome ;-)
Back to top
View user's profile Send private message
sk3l
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 78
Location: CT USA

PostPosted: Thu Aug 01, 2013 7:36 pm    Post subject: Reply with quote

Mac Tzu wrote:
roarinelk wrote:
UPgrading should never be a problem. Worst case your environment won't use any of the newer CPU features.
DOWNgrading and changing CPU vendor is another story and might get you "illegal instruction" errors for example.


Sk3l,

As abundantly state the short answer is not much. Also it might be hard to tell CPU options have might have changed because you used native and haven't explicitly directly GCC . Depending on the generation of you have new AVX enabled on new CPU. (http://en.wikipedia.org/wiki/Advanced_Vector_Extensions). Which I call in my make.conf with march='icore7-avx'.

While it is unnecessary you could try out your new beastie with a emerge -e @system @world and ask genlop how much more awesome your new CPU is.

I pretty sure genlop will say you machine is pretty awesome ;-)


Looks like AVX first appeared in Sandy Bridge architecture, of which the i7-970 (AFAIK) is not based on.
Back to top
View user's profile Send private message
sk3l
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 78
Location: CT USA

PostPosted: Thu Aug 01, 2013 7:44 pm    Post subject: Reply with quote

Thanks everyone, seems like everything should be fine without a recompile, as I suspected. Now that I look at the chip architectures side by side, 920 (Nehalem) against 970 (Westmere), the only real difference I see is enhanced support for AES encryption (AES-NI) built into the 970's instruction set. Apparently besides shoving 2 more cores onto the die, there wasn't much progression between the two architectures.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Aug 03, 2013 3:34 pm    Post subject: Reply with quote

roarinelk wrote:
UPgrading should never be a problem. Worst case your environment won't use any of the newer CPU features.
DOWNgrading and changing CPU vendor is another story and might get you "illegal instruction" errors for example.

The one exception to this is going from an AMD Phenom to a Bulldozer — they removed the 3DNow instruction sets between those.
Back to top
View user's profile Send private message
PatomaS
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2006
Posts: 128

PostPosted: Fri Aug 30, 2013 2:57 am    Post subject: Reply with quote

Hi

Although it shouldn't be a problem, sometimes there may be a lot of them

Recently I switched from an Intel I5-2500K, to an Intel I5-3330, and I'm still trying to get my system to work.

The easy guess is that the virtualization options are affecting, but in this case, all those options are off, in the UEFI and in the kernel.

So, I'd say, always keep the original at hand or at least don't do changes if you are short on time or close to any kind of deadline.

Bye
_________________
¡ hey, hou, hou, hey !
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