How do I balance bandwidth over several virtual NICs?

Julian Elischer julian at freebsd.org
Tue Sep 23 15:47:21 UTC 2014


On 9/23/14, 8:05 PM, Eliezer Croitoru wrote:
> Just wanted to make sure I understand the issue:
> Snort is not utilizing from some reason the CPU by not threading or 
> by something else with the NIC configuration?
> From my point of view Snort has to do the changes and not the OS, am 
> I misunderstanding something?
No, but asking them to change acording to one's internal project 
schedule is not realistic..
so in the interest of time one has to live with (and work around) the 
problem.
>
> Thanks,
> Eliezer
>
> On 09/22/2014 10:46 PM, 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.
>>
>> 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 haven't wrapped all of this up and thrown it into FreeBSD-HEAD yet,
>> but i know that a symmetric RSS key works fine on 82599 hardware with
>> a fixed driver.
>>
>>
>> -a
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>



More information about the freebsd-net mailing list