Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 07:36:52 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        "Alexander V. Chernikov" <melifaro@freebsd.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Elof Ofel <elofu17@hotmail.com>
Subject:   Re: How do I balance bandwidth over several virtual NICs?
Message-ID:  <CAJ-VmomamPVwja2Tgfi46EBu8E5Hohr6FcshsOkDeycEvGV51Q@mail.gmail.com>
In-Reply-To: <5421310C.5010406@FreeBSD.org>
References:  <DUB125-W13FDC584F5DF9881CF5FDEBCB30@phx.gbl> <CA%2BP_MZGA_uz_H_QsB%2BdgXEgbXNCjv7w-OToKby=ww%2BvKgnU4_Q@mail.gmail.com> <DUB125-W851F972702452D9809C8E5BCB30@phx.gbl> <CAJ-Vmo=NGGkOkPWQKZ=3gA3vYYyM2kcjd3m85ymdJY3q4ixxLw@mail.gmail.com> <5421310C.5010406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 September 2014 01:36, Alexander V. Chernikov <melifaro@freebsd.org> wrote:
> On 22.09.2014 23:46, Adrian Chadd wrote:
>> Hi,
>>
>> Yes.
>>
>> * grab an ixgbe NIC and the -HEAD driver; (or cxgbe - I haven't gone
>> and written RSS programming code for that just yet);
>> * patch it to use a symmetric RSS key;
>> * configure up N queues;
>> * run an instance of snort on each TX/RX ring from the NIC.
> Oh, wow.
> I have a low priority task to do that.
> Nice to see this in stock fbsd!
>
>>
>> The last step requires that you have snort use netmap rather than just
>> straight bpf - or maybe somehow there's a way to glue bpf into a
>> single netmap ring.
> I've wrote snort netmap DAG once, but it does not play well w/o
> symmetric rss.
> I've see if I can share it.

That'd be great!

I'll see if I can get -HEAD enabled with an optional symmetric RSS key.

It shouldn't be too difficult. The problem is the current RSS setup
uses the same key for all NICs.
I _guess_ that isn't going to /really/ be a problem here - unless you
really want your server to serve lots of traffic /and/ snort :)

Then we just need a netmap enabled snort :)


-a



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