Date: Tue, 12 Mar 2013 12:38:18 +0200 From: Sami Halabi <sodynet1@gmail.com> To: Freddie Cash <fjwcash@gmail.com> Cc: Mark Saad <nonesuch@longcount.org>, FreeBSD-Stable ML <freebsd-stable@freebsd.org> Subject: Re: netisr issues Message-ID: <CAEW%2BogY1kUK4AgsK5kj-gRKFurKP_dDSaKu=DpcFJYn47swDKA@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
Hi, is there any decent documentation what netisr is , what relevant sysctls/loader options are there, and in what cases it should/better be used, ie best practice? Thanks, Sami On Mon, Mar 11, 2013 at 6: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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Sami Halabi Information Systems Engineer NMS Projects Expert FreeBSD SysAdmin Expert
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogY1kUK4AgsK5kj-gRKFurKP_dDSaKu=DpcFJYn47swDKA>
