Date: Tue, 8 Nov 2011 06:09:11 +0900 From: Takuya ASADA <syuu@dokukino.com> To: George Neville-Neil <gnn@neville-neil.com>, Vlad Galu <dudu@dudu.ro> Cc: net@freebsd.org Subject: Re: Multiqueue support for bpf Message-ID: <CALG4x-UQm0DqW9OV9xFvJBE6rRE5P7A-7bbEnmaBfmPE_4VFRw@mail.gmail.com> In-Reply-To: <CALG4x-VxG3hwg=U205a%2BcEE32YMxs_rtYQfQRFQsbdc8egsjxg@mail.gmail.com> References: <CALG4x-VwhLmnh%2BRq0T8zdzp=yMD8o_WQ64_eqzc_dEhF-_mrGA@mail.gmail.com> <2AB05A3E-BDC3-427D-B4A7-ABDDFA98D194@dudu.ro> <0BB87D28-3094-422D-8262-5FA0E40BFC7C@dudu.ro> <CALG4x-VFC0yJK_dB9Z%2BDoBvBv1FGjOuVYWd=jtTBs0FeArjALg@mail.gmail.com> <CALG4x-Vvu=LsRjdvaz19%2B_QTr2uAqcY514OxA3dy=L%2BnY-qV5g@mail.gmail.com> <567B01DF-7D52-4C5C-8F69-96CDB20FAC92@neville-neil.com> <CALG4x-VxG3hwg=U205a%2BcEE32YMxs_rtYQfQRFQsbdc8egsjxg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.htm= l 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@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. =C2=A0The 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? =C2=A0I.= e. how many slots >> do they have in their queues etc.? =C2=A0If 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=3D//depot/projects/soc2011/mq= _bpf/src/sys/dev/ixgbe/ixgbe.c&REV=3D2 > > and line 105 of > http://p4db.freebsd.org/fileViewer.cgi?FSPC=3D//depot/projects/soc2011/mq= _bpf/src/sys/dev/ixgbe/ixgbe.h&REV=3D2 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALG4x-UQm0DqW9OV9xFvJBE6rRE5P7A-7bbEnmaBfmPE_4VFRw>