HTT on current
John Baldwin
jhb at FreeBSD.org
Mon Aug 25 14:02:04 PDT 2003
On 23-Aug-2003 mikej at trigger.net wrote:
>> On Fri, Aug 22, 2003 at 07:03:03PM -0400, mikej at trigger.net wrote:
>>> > That is not an SMP kernel. An SMP kernel (with APIC_IO) would not
>>> print
>>> > out
>>> > the pcib0 interrupt routing messages.
>>> >
>>> > --
>>>
>>> So whats the problem here?
>>
>> See above.
>>> How come the CPUs dont show up in top.
>>
>> See above.
>>
>>> How do i realy know the system sees 2, and actually utilizes them?
>>> Is there anything else i have to do other than enable SMP options in
>>> the kernel?
>>
>> Enable *ALL* of the SMP options in the kernel. See above.
>>
>> Kris
>
> Well i've enabled all SMP options, recompiled and rebooted. The CPUs now
> properly show up in dmesg and i can see the C header in top. However no
> processes seem to be being assigned to cpu 1. Why is the schedueler only
> using CPU 0? This wasnt the behaviour in stable.
This is intentional since HTT usually makes things slower. Check out
sysctl machdep.hlt_logical_cpus. If you set it to zero, you're CPU will
be used.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
More information about the freebsd-current
mailing list