Multiqueue support for bpf

Takuya ASADA syuu at dokukino.com
Mon Nov 7 21:38:54 UTC 2011


Hi,

Probably my previous mail had been skipped or forgot replying, so I'd
like to try notice again.
# This is original post of this thread, if you don't remember what is
this: http://lists.freebsd.org/pipermail/freebsd-net/2011-August/029585.html

George said "I think we should try to integrate this work and then
tune it up more. in previous mail, then I want to merge this now.

Is there any additional work required to merge, or just fine?

2011/9/22 Takuya ASADA <syuu at dokukino.com>:
> Sorry for late replying,
>
>> One comment, one question.
>>
>> First, I think we should try to integrate this work and then tune it up more.  The API
>> is, I think, fine, and performance tuning takes a bit of work.
>
> Is there good way(I mean tools or something) to find the bottleneck?
>
>> Second, what are the parameters set on buffers for the drivers?  I.e. how many slots
>> do they have in their queues etc.?  If they defaults are too small, and often they are,
>> then that's going to hurt your performance.
>
> It does equals to number of descriptors per queue, right?
> If I'm correct, it's 2048 descriptors per queue by default, and I used
> default parameter when I perform benchmarks.
>
> It's on line 290 of
> http://p4db.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/soc2011/mq_bpf/src/sys/dev/ixgbe/ixgbe.c&REV=2
>
> and line 105 of
> http://p4db.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/soc2011/mq_bpf/src/sys/dev/ixgbe/ixgbe.h&REV=2
>


More information about the freebsd-net mailing list