Date: Thu, 22 Sep 2011 19:52:35 +0900 From: Takuya ASADA <syuu@dokukino.com> To: George Neville-Neil <gnn@neville-neil.com> Cc: net@freebsd.org Subject: Re: Multiqueue support for bpf Message-ID: <CALG4x-VxG3hwg=U205a%2BcEE32YMxs_rtYQfQRFQsbdc8egsjxg@mail.gmail.com> In-Reply-To: <567B01DF-7D52-4C5C-8F69-96CDB20FAC92@neville-neil.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>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for late replying, > One comment, one question. > > First, I think we should try to integrate this work and then tune it up m= ore. =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_b= pf/src/sys/dev/ixgbe/ixgbe.c&REV=3D2 and line 105 of http://p4db.freebsd.org/fileViewer.cgi?FSPC=3D//depot/projects/soc2011/mq_b= pf/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-VxG3hwg=U205a%2BcEE32YMxs_rtYQfQRFQsbdc8egsjxg>