PDA

View Full Version : SMP question


alexx
08-08-2005, 08:22 AM
Hi there,
I've just installed PC-BSD 0.7.8 and I was wondering if it supports SMP.
I am running a 2xPIII@850MHz, no hyperthreading.
Does the default kernel support SMP or I have to dowload the source from cvs and recompile? How can I guess that SMP is enabled?
Thanks for reply.

bhna
08-08-2005, 08:27 AM
Hi there,
I've just installed PC-BSD 0.7.8 and I was wondering if it supports SMP.
I am running a 2xPIII@850MHz, no hyperthreading.
Does the default kernel support SMP or I have to dowload the source from cvs and recompile? How can I guess that SMP is enabled?
Thanks for reply.

pc-bsd supports smp. you have to download the sources and recompile the kernel.

http://www.freebsd.org/doc/en_US.ISO885 ... onfig.html (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html)

please check the dmesg output.

alexx
08-08-2005, 09:44 AM
you have to download the sources and recompile the kernel.
please check the dmesg output.

10x.

pcbsdusr
08-08-2005, 06:51 PM
just wondering... what happens if one uses a smp kernel with one processor?

does it work?

Is there a effenciency decrease?

Does hyperthreading work on a 1p kernel?


Thanks in advance!

Cheers!

Renato Flórido

bhna
08-09-2005, 08:20 AM
just wondering... what happens if one uses a smp kernel with one processor?

does it work?

Is there a effenciency decrease?

Does hyperthreading work on a 1p kernel?


Thanks in advance!

Cheers!

Renato Flórido

the smp kernel works on a single processor. efficiency decrease? maybe, i don't know.

you need an smp kernel for hyperthreading.

sblevin
08-09-2005, 08:36 AM
just wondering... what happens if one uses a smp kernel with one processor?

does it work?

Is there a effenciency decrease?

Does hyperthreading work on a 1p kernel?


Thanks in advance!

Cheers!

Renato Flórido

the smp kernel works on a single processor. efficiency decrease? maybe, i don't know.

you need an smp kernel for hyperthreading.

Then perhaps the default supplied kernel should have smp functionality as standard if there is no efficiency decrease.

bhna
08-09-2005, 09:39 AM
in freebsd 5.2.1 smp was in the default-kernel.

pcbsdusr
08-09-2005, 12:30 PM
Sblevin wrote:

Then perhaps the default supplied kernel should have smp functionality as standard if there is no efficiency decrease.


You got my point perfectly

yakman
08-10-2005, 07:31 PM
I have a Dual cpu PC, an old AP400 Compaq workstation, I have now set up the smp kernel.

Being new to BSD, I found the following link explained the process step by step.

http://michael-and-mary.net/intro/?q=node/23

I started from the 'Updating source code, ports tree and docs' section about a 1/4 of the way down.

Good site, not sure if i agree with the anit pbi stance expressed there, but a great tutoral by any measure.

yakman
08-11-2005, 09:10 AM
Sucess.
CPU: Intel Pentium III (596.92-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x681 Stepping = 1
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 1073741824 (1024 MB)
avail memory = 1028624384 (980 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 1
cpu1 (AP): APIC ID: 0


I needed a line thats not inthe guide I posted above, but is in the 1st link

Besure to have option SMP in your kernel config file.