cannot compile sched_ule without options SMP

pluknet pluknet at gmail.com
Thu Apr 30 19:32:33 UTC 2009


2009/4/30 Jeff Roberson <jroberson at jroberson.net>:
> On SMP machines you should now see output like this:
> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
> FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
>
> If you detect any irregularities with kern.sched.topology_spec or this dmesg
> line please report them.
>

Hi, Jeff.

I have such mismatch. This is an Intel E7200.

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1

So it should be instead: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

kern.sched.topology_spec: <groups>
 <group level="1" cache-level="0">
  <cpu count="2" mask="0x3">0, 1</cpu>
  <flags></flags>
  <children>
   <group level="3" cache-level="1">
    <cpu count="2" mask="0x3">0, 1</cpu>
    <flags><flag name="HTT">HTT group</flag>
</flags>
   </group>
  </children>
 </group>
</groups>



-- 
wbr,
pluknet


More information about the freebsd-current mailing list