Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Will upgrading my CPU brick my Gentoo rig?
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
Jimbow500
n00b
n00b


Joined: 24 Jan 2018
Posts: 10

PostPosted: Tue Jun 05, 2018 8:50 pm    Post subject: Will upgrading my CPU brick my Gentoo rig? Reply with quote

Sometime soon I'm upgrading my cpu to a 4790k or 4770k from a 4460.

My main boot drive is all XFS other than my kernel and grub, they're etx4


and my make.conf

Code:
 CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CXXFLAGS="${CFLAGS}"


I've heard that XFS doesn't work with CPUs with more or less cores. Both the 4790k and 4460 have 4, but the 4790k has 8 threads and hyperthreading
while the 4460 has only 4 cores and 4 threads.
Back to top
View user's profile Send private message
fourchannel
n00b
n00b


Joined: 21 Jul 2006
Posts: 17

PostPosted: Wed Jun 06, 2018 12:51 am    Post subject: Re: Will upgrading my CPU brick my Gentoo rig? Reply with quote

Jimbow500 wrote:
I'm upgrading my cpu to a 4790k or 4770k from a 4460.


I don't know about the XFS core limitations, but I can tell you that you should be ok with changing out the cpu without having to recompile everything.

4790k

4460

Both of these cpus are 64bit, with the same extended instruction set.

Code:
Intel® SSE4.1, Intel® SSE4.2, Intel® AVX2


If you wanted to be ultra sure that everything will be ok, you can recompile everything for a generic x86_64 instruction set beforehand, and then change it back to the cpu specific set once you make the switch.

Update your /etc/portage/make.conf to use this.
Code:
-mtune=generic -march=x86-64


Then, recompile everything.

Code:
emerge -ave @world


Then change it back once you switch out, and rebuild @world again.
_________________
---FourChannel---

Put your spare cpu cycles to good use
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