Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 12:08:21 -1000 (HST)
From:      Jeff Roberson <jroberson@jroberson.net>
To:        pluknet <pluknet@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cannot compile sched_ule without options SMP
Message-ID:  <alpine.BSF.2.00.0904301207360.981@desktop>
In-Reply-To: <a31046fc0904301232u1f0bdd15ybe9cdb345bce05a0@mail.gmail.com>
References:  <20090430013428.cb4f804b.nork@FreeBSD.org> <alpine.BSF.2.00.0904291329280.981@desktop> <a31046fc0904301232u1f0bdd15ybe9cdb345bce05a0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 Apr 2009, pluknet wrote:

> 2009/4/30 Jeff Roberson <jroberson@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

Can you please repeat the following steps as I have done here:

# kgdb /boot/kernel/kernel /dev/mem
(kgdb) p/x cpu_high
$1 = 0xb
(kgdb) p/x cpu_cores
$2 = 0x4
(kgdb) p/x cpu_logical
$3 = 0x2
(kgdb) p/x cpu_feature
$4 = 0xbfebfbff
(kgdb) p/x logical_cpus
$5 = 0x0
(kgdb) p/x hyperthreading_cpus
$6 = 0x0
(kgdb)

This should give me the information I need to diagnose the problem.

Thank you.

Jeff

>
> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0904301207360.981>