Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 17:02:27 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        mikej@trigger.net
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: HTT on current
Message-ID:  <XFMail.20030825170227.jhb@FreeBSD.org>
In-Reply-To: <1764.63.139.119.223.1061605432.squirrel@webmail.trigger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Aug-2003 mikej@trigger.net wrote:
>> On Fri, Aug 22, 2003 at 07:03:03PM -0400, mikej@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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030825170227.jhb>