I'm testing this board D525mw (https://ark.intel.com/products/48952/Intel-Desktop-Board-D525MW) along sysctl to try understanding SMP and HT in FreeBSD. This motherboard has 2 cores and 4 threads per core.
If I set loader.conf
lscpu returns:
Total CPU(s): 1
But I expected 4 total CPUs.
If I set
lscpu returns:
Total CPU(s): 2
This is what I expected as result, OK.
But if I set
lscpu returns:
Total CPU(s): 4
But I expected to see "Total CPU(s): 8"
What's really happening? System is not using SMP sometimes despite my command? Or it's using SMP but limiting HT to 2 threads per core?
There's any general limitation of total number of threads in FreeBSD or hardware specific limitations?
It's difficult to state what's really happening because system (at least on the interface) doesn't differentiate what are the threads or the cores in the output.
Thanks!
If I set loader.conf
Code:
machdep.hyperthreading_allowed=1
kern.smp.disabled=1
Total CPU(s): 1
But I expected 4 total CPUs.
If I set
Code:
machdep.hyperthreading_allowed=0
kern.smp.disabled=0
Total CPU(s): 2
This is what I expected as result, OK.
But if I set
Code:
machdep.hyperthreading_allowed=1
kern.smp.disabled=0
Total CPU(s): 4
But I expected to see "Total CPU(s): 8"
What's really happening? System is not using SMP sometimes despite my command? Or it's using SMP but limiting HT to 2 threads per core?
There's any general limitation of total number of threads in FreeBSD or hardware specific limitations?
It's difficult to state what's really happening because system (at least on the interface) doesn't differentiate what are the threads or the cores in the output.
Thanks!