Feedback Needed - CPU Count
-
Trying to figure out the best way to see/retrieve not only the count of CPUs, but how they are arranged in a system.
From what I can see/test here, I think I have a good idea, but what I really need is to see the output from a whole bunch of different setups. Especially those with multiple physical CPUs
So if everyone could run these commands from Diagnostics > Command or the shell and copy the results here, it would help a ton, thanks!
sysctl kern.smp.cpus; grep "SMP.*package.*core" /var/log/dmesg.boot
Sample output:
kern.smp.cpus: 2 FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
If you have a CPU count greater than 1, but the second line doesn't show, please run:
grep "SMP" /var/log/dmesg.boot
Results so far (collected from pfSense and FreeBSD servers):
kern.smp.cpus: 1 / (empty) kern.smp.cpus: 2 / FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads kern.smp.cpus: 2 / FreeBSD/SMP: 1 package(s) x 2 core(s) kern.smp.cpus: 2 / FreeBSD/SMP: 2 package(s) x 1 core(s) kern.smp.cpus: 4 / FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads kern.smp.cpus: 4 / FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads kern.smp.cpus: 4 / FreeBSD/SMP: 1 package(s) x 4 core(s) kern.smp.cpus: 4 / FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads kern.smp.cpus: 8 / FreeBSD/SMP: 2 package(s) x 4 core(s) kern.smp.cpus: 16 / FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads
If your results are identical to ones already on the list, no need to post them. Thanks!
-
Older AMD64 x2Ā (home router)
kern.smp.cpus: 2
FreeBSD/SMP: 1 package(s) x 2 core(s)Runs without any issue.
-
Atom N270 1.6 GHz CPU (1x)
kern.smp.cpus: 2
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads -
Intel
Core i3-2120T
kern.smp.cpus: 4 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
-
Intel Atom D2500:
kern.smp.cpus: 2 FreeBSD/SMP: 1 package(s) x 2 core(s)
-
Intel Core i5-3470S
ESXi 5.1kern.smp.cpus: 2
FreeBSD/SMP: 2 package(s) x 1 core(s) -
Dual Intel L5520 system with HT turned off in BIOS running 2.1RC1:
[2.1-RC1][root@fw04]/root(1): sysctl kern.smp.cpus; grep "SMP.*package.*core" /var/log/dmesg.boot kern.smp.cpus: 8 FreeBSD/SMP: 2 package(s) x 4 core(s) [2.1-RC1][root@fw04]/root(2): grep "SMP" /var/log/dmesg.boot Ā Ā root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64 FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 2 package(s) x 4 core(s) SMP: AP CPU #1 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #4 Launched!
-
I added a summary to the initial post with results so far, if your results are identical to ones already listed, no need to report them.
Thanks!
-
Hello,
Supermicro Mother Board pair of XEON 5450
kern.smp.cpus: 8
FreeBSD/SMP: 2 package(s) x 4 core(s)