Re: HTT on current

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 25 Aug 2003 17:02:27 -0400 (EDT)
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/
Received on Mon Aug 25 2003 - 12:02:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC