netisr issues

Mark Saad nonesuch at longcount.org
Mon Mar 11 18:06:05 UTC 2013


On Mon, Mar 11, 2013 at 12:48 PM, Freddie Cash <fjwcash at gmail.com> wrote:
> On Mon, Mar 11, 2013 at 9:40 AM, Mark Saad <nonesuch at longcount.org> wrote:
>>
>> Freddie
>>    So should I be adjusting the numbers of threads or is this
>> determined somewhere ?
>>
> I think it's supposed to be automatic, 1 thread per CPU, but I manually set
> it  via /boot/loader.conf:
> net.isr.bindthreads="1"                         # Bind netisr threads to CPU
> cores
> net.isr.maxthreads="8"                          # Set number of threads to
> number of CPU cores
> net.isr.numthreads="8"                          #    ""
>
> The net.isr.dispatch is automatically set to direct on our systems.  Not
> sure if that's the default or not.  We used to set that via
> /boot/loader.conf as well, but it was removed in the upgrade to 9-STABLE
> something as it no longer did anything.
>
> --
> Freddie Cash
> fjwcash at gmail.com

Just so I am clear , prior to r222249 by rwatson  net.isr.direct=1
enabled the same interaction as net.isr.dispatch=deferred after the
commit , with the latter commit enabling netisr to have mulch-threaded
support ?


-- 
mark saad | nonesuch at longcount.org


More information about the freebsd-stable mailing list