PDA

View Full Version : Dual CPU FreeBSD 5.3



BrianUK
03-31-2006, 07:03 AM
After enabling SMP on my kernel and a reboot my dmesg shows....

CPU: Intel Pentium III (797.48-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x683 Stepping = 3

SNIP

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 3
cpu1 (AP): APIC ID: 0

SNIP

cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0

SNIP

SMP: AP CPU #1 Launched!

However DA shows Processor Name Intel Pentium III (797.48-MHz 686-class CPU) and top only shows one CPU, so the question is how do I find out that both are being used?

thanks

BrianUK
03-31-2006, 07:23 AM
Appologies meant to be in 5.x forum can someone please move.

existenz
04-05-2006, 02:46 PM
First run "dmesg | grep FreeBSD/SMP"

Check it live by running "top"

You will see a col named C. DirectAdmin does not report in the admin each processor.

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
640 mysql 5 20 0 44348K 24704K kserel 0 0:34 0.00% mysqld
1421 root 1 76 0 2388K 1652K CPU0 0 0:19 0.00% top
729 apache 1 20 0 23824K 19432K lockf 0 0:06 0.00% httpd
651 apache 1 4 0 23712K 19324K kqread 1 0:06 0.00% httpd
649 apache 1 20 0 23624K 19276K lockf 0 0:05 0.00% httpd
650 apache 1 20 0 23656K 19276K lockf 0 0:05 0.00% httpd

The_cobra666
04-08-2006, 05:12 AM
Not running freebsd but here it does report it ==>

Processor Name Intel(R) Pentium(R) 4 CPU 3.00GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 3007.722
Processor Name Intel(R) Pentium(R) 4 CPU 3.00GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 3007.722

In the system information.

eds132
05-06-2006, 12:36 AM
never noticed that before, directadmin only reports a single proc on smp FreeBSD 5.4 I know both procs are working there little souls off. But it would be nice for DA to show it lol.