Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 14:06:03 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        FreeBSD-Stable ML <freebsd-stable@freebsd.org>
Subject:   Re: netisr issues
Message-ID:  <CAMXt9Nb-7Zm3jMY84LP-Q4PddrYtrG6nntcNoO6z3XVCCgKMaQ@mail.gmail.com>
In-Reply-To: <CAOjFWZ7U-nNWhaXY05DmXDaccTTHqhC63cgus7B2XvxjqjFhOQ@mail.gmail.com>
References:  <CAMXt9NY6-jm-DEBk6WN5PXgAd4%2BBND4WVfqiSdtqoKzyYcRm3Q@mail.gmail.com> <CAOjFWZ5EC8w6FsjgLPskSEzcw=O6WRSsQf5jbMGFs90P7qVkqA@mail.gmail.com> <CAMXt9NaTSgp0UD5E=8LAC_Q66Ar8YHBp5HqSEGejRWfkmvwjag@mail.gmail.com> <CAOjFWZ5rrAyEu9h7Q3NgmFFY%2B3HQuub=-vUPehU8POyRQ=Jh0A@mail.gmail.com> <CAOjFWZ6r=kbgFgwkujAvVE9K9JGWuRwWc_CZYEqsMMaY4f6DuA@mail.gmail.com> <CAMXt9NaKDEwBE4k4EwriCN8iLMS_xgan=wPO2REq8cOFNO_dKw@mail.gmail.com> <CAOjFWZ7U-nNWhaXY05DmXDaccTTHqhC63cgus7B2XvxjqjFhOQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 11, 2013 at 12:48 PM, Freddie Cash <fjwcash@gmail.com> wrote:
> On Mon, Mar 11, 2013 at 9:40 AM, Mark Saad <nonesuch@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@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@longcount.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9Nb-7Zm3jMY84LP-Q4PddrYtrG6nntcNoO6z3XVCCgKMaQ>