LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multiprocessor Kernel question (https://www.linuxquestions.org/questions/linux-newbie-8/multiprocessor-kernel-question-163820/)

vmikalinis 03-29-2004 01:20 PM

Multiprocessor Kernel question
 
Hi All,

I'm looking to find out if I can add a second processor to my Red Hat 9 system. I am currently running one hyperthreading Xeon processor. The kernel sees this as two processors and has installed with SMP support, so I currently see 2 processors. I want to know if I can add another identical processor to the machine without recompiling or anything.


I guess the question is .....If I already have the SMP kernel can I just pop in additional processors without having to reconfigure things.

BTW this is a Samba(latest stable release) server with Red Hat version 9 using our windows 2000 active directory user accounts via winbindd if any of that matters.

Tinkster 03-29-2004 01:42 PM

The question is only if DeadRat has set a number
of CPU's during compilation, and if so, what this
number is :} ... if it were 4+ you'd be all right, were it
2 you'd have to recompile.


Cheers,
Tink

vmikalinis 03-29-2004 01:44 PM

How can I find out how many it has set? When I do "top" it displays two. Which is actually one.

Tinkster 03-29-2004 01:48 PM

Not too familiar with DeadRat, didn't touch one
in about 2 years :}

Have a look in /boot ... is there a file with config
in its name? Does it match the version of your
running kernel?

grep CONFIG_NR_CPUS /boot/<yourconfigfilesname>



Cheers,
Tink

vmikalinis 03-29-2004 03:31 PM

Thanks
 
Thank you for your responses, I appreciate the help. The grep command returned CONFIG_NR_CPUS=8. Soooo I guess when you install redhat in a dual processor enviroment, The default must be eight. I assume I should be good to go on my second processer addition as it will show up as 4 total. ( Two dual hyperthreaded ) I guess I will find out for sure. I'll just pop it in there and see what happens.

Once again thanks for your help tinkster.

Tinkster 03-29-2004 03:37 PM

Any time mate ... and don't take my bashing
of your distro of choice as a personal attack ;)



Cheers,
Tink

vmikalinis 03-29-2004 04:00 PM

Nah,
No think nothing of it, I just figured I would use a distro that I though would have the most possible support and some kind of company to link to it. It just seems that when drivers are released for linux there is always one for redhat specificly. I am a little bit of a newbie, but I have gotten this server to the point at which it is using dual nics (bonded) and the usernames from my Win 2k domain, printing pdf's etc..... I have lost a few handfuls of hair over it, but for the most part I haven't hit any really impossible roadblocks. I have tried Mandrake, Knoppix, Caldera and they seem to be very similar as far as configuring things...but for the most part I have been happy with RedHat's stuff. I know that many linux guys look at redhat like they are the next microsoft. I am willing to run other distro's though once I get the hang of this.


All times are GMT -5. The time now is 08:51 PM.