View previous topic :: View next topic |
Author |
Message |
piginacage n00b
Joined: 14 Apr 2008 Posts: 1
|
Posted: Mon Apr 14, 2008 8:26 pm Post subject: cpu number upgrade |
|
|
Hi all Gentoo gurus!
I've a stable system running Gentoo 1.4
the server has got only one CPU and now it is used for 80 - 90%
I would like to upgrade the system using the SMP with a second CPU.
The questions are:
1) is "intelligent" do this? will I improve the performance from single to double CPUs?
2) Should I rebuild the system or the server packages with emerge?
Really thank you |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Mon Apr 14, 2008 8:37 pm Post subject: |
|
|
Quick answers; 1=Yes, 2=No
While it depends on the usage, in most cases simply having more than one cpu/core can help due multitasking, and seeing as how in your the cpu is almost tasked to it's limit then it would definitely be a good move.
Unless that 80 - 90% is all from one process, of course...
Apart from the kernel, you shouldn't need to rebuild anything, just remember to change the MAKEOPTS setting in make.conf. _________________ "You have to invite me in"
Last edited by Sadako on Mon Apr 14, 2008 8:38 pm; edited 1 time in total |
|
Back to top |
|
|
paulbiz Guru
Joined: 01 Feb 2004 Posts: 508 Location: St. Louis, Missouri, USA
|
Posted: Mon Apr 14, 2008 8:38 pm Post subject: |
|
|
Hi,
"It depends" If the load is coming from multiple processes, then yes I think SMP will definitely help. I don't think you need to emerge anything new, you just have to compile your kernel with SMP support (if it is not already). Everything else should just work automatically. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Mon Apr 14, 2008 8:56 pm Post subject: |
|
|
what's gentoo 1.4? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Mon Apr 14, 2008 9:02 pm Post subject: |
|
|
DaggyStyle wrote: | what's gentoo 1.4? | It's the last "version" of the stage tarballs/profiles/live cd's used before they switched to the year.release naming scheme with 2004.0.
Damnit, I feel old. _________________ "You have to invite me in" |
|
Back to top |
|
|
|