Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dual Processor 1

Status
Not open for further replies.

slurpyx

Programmer
Aug 1, 2002
59
PH
Guys... as my prev post states.. am a newbie :(

i installed FreeBSD 4.9 on a dual processor machince..

1) How would i know if i am using or running on dual processor?

2) By default.. does FreeBSD probes the hardware (dual processor) and then installed it? or do i have to slap a new kernel? if so.. how?
 
If you type "sysctl hw.ncpu", it'll tell you how many CPUs are currently configured, I believe. Otherwise, you can look at the bootup messages which are stored in "/var/run/dmesg.boot".

SMP support isn't in the generic kernel, however. You'll need to uncomment some lines in the kernel config for it, and the comments tell you which ones. As far as how to rebuild the kernel, I suggest reading the FreeBSD handbook/docs, as linked to from the FreeBSD website.
 
is there a bin or a port.. or just an easy way to enable smp? kinda like a port or something... :)
 
You just need to uncomment 2 lines in the kernel config, and recompile it. It isn't very hard.
 
yeah.. ive read it.. but.. the thing is.. am a bit scared.. if my new kernel doesnt work can i rly use the old kernel? is this 100% fault free :(
 
i already did the compile and make... hmm.. it worked! its showing up 2 processor..


how do i check the process? will "top" do the trick?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top