From owner-freebsd-net@FreeBSD.ORG Mon Nov 7 21:38:54 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864AC106566B for ; Mon, 7 Nov 2011 21:38:54 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3EF8FC08 for ; Mon, 7 Nov 2011 21:38:54 +0000 (UTC) Received: by qyc1 with SMTP id 1so3606554qyc.13 for ; Mon, 07 Nov 2011 13:38:53 -0800 (PST) Received: by 10.229.236.145 with SMTP id kk17mr1695517qcb.168.1320700191154; Mon, 07 Nov 2011 13:09:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.26.143 with HTTP; Mon, 7 Nov 2011 13:09:11 -0800 (PST) In-Reply-To: References: <2AB05A3E-BDC3-427D-B4A7-ABDDFA98D194@dudu.ro> <0BB87D28-3094-422D-8262-5FA0E40BFC7C@dudu.ro> <567B01DF-7D52-4C5C-8F69-96CDB20FAC92@neville-neil.com> From: Takuya ASADA Date: Tue, 8 Nov 2011 06:09:11 +0900 Message-ID: To: George Neville-Neil , Vlad Galu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: net@freebsd.org Subject: Re: Multiqueue support for bpf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 21:38:54 -0000 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 : > 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 >