From owner-freebsd-net@FreeBSD.ORG Fri Mar 12 06:44:14 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 600ED106566B for ; Fri, 12 Mar 2010 06:44:14 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E74D48FC13 for ; Fri, 12 Mar 2010 06:44:13 +0000 (UTC) Received: by wyb33 with SMTP id 33so439568wyb.13 for ; Thu, 11 Mar 2010 22:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vQukajLmgmtelXbWIBOQ2Af3vUvZrC79cIVrRh2FeDM=; b=wR516EEEEV1UYd/nwDptrQPxEuovptXzRXWzukyxyfc1gUYYdubnHn5Mh40+zourGM OB1WlvtvBnoqV7OKw9uPphnJw3DdnQPRkRY2c4Z/lPw2inrnOPhjMKOedaj0Z8IilOqw 7dEI4K63YhR8qq9/MnYmFx8zxoytXEZ1rRNbY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BsdyzpPSJ2em0qJx9Mz3CfTx/bYcj3s9Vhl+FAyL1MDPdP2WifVfXXHDs4dHeJBKBd D6MkNzgAJ6RsAdrJVrbZFlUw4CfZ7t71wblvy8JKyvWPv1UXTCUHNbmnNLwJ1a19feoU paIr2ePVYRoXq/1UlZy/heFa46BfOEpPevoBY= MIME-Version: 1.0 Received: by 10.216.87.143 with SMTP id y15mr373669wee.42.1268376252904; Thu, 11 Mar 2010 22:44:12 -0800 (PST) In-Reply-To: <201003121420185625042@yahoo.com.cn> References: <4B99114E.7060909@mail.ru> <2a41acea1003110942u717e2222hd984bd2859c3e477@mail.gmail.com> <4B9938F1.7090906@mail.ru> <2a41acea1003111056k42d9a188x3310bcedd2ae9e6a@mail.gmail.com> <201003121420185625042@yahoo.com.cn> Date: Thu, 11 Mar 2010 22:44:12 -0800 Message-ID: <2a41acea1003112244n6a62083ag39696be4d37e134c@mail.gmail.com> From: Jack Vogel To: beezarliu Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: rihad , "freebsd-net@freebsd.org" Subject: Re: Re: ixgbe input errors at high data rates 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: Fri, 12 Mar 2010 06:44:14 -0000 There is no user control, on the TX side there is a check of the FLOWID of the packet which it gets on RX, if there is one it uses that to determine the right TX queue to use. The TX side also has a flow control but this only exists on the 82599, not 598. The RX/TX queue pairs are bound to a cpu via their MSIX vector, so I believ= e you will see the results you wish. As I implement more virtualization features more control may become possible, we'll see. Regards, Jack 2010/3/11 beezarliu > > Speaking of multiqueue support in intel 10G, such as 82598, > if we use RSS feature, can we select certain ip/port pair to open a tcp > connection, > so that the returning packet will come back from a pre-known > receive queue? > > > 2010-03-12 > ------------------------------ > beezarliu > ------------------------------ > *=B7=A2=BC=FE=C8=CB=A3=BA* Jack Vogel > *=B7=A2=CB=CD=CA=B1=BC=E4=A3=BA* 2010-03-12 02:57:15 > *=CA=D5=BC=FE=C8=CB=A3=BA* rihad > *=B3=AD=CB=CD=A3=BA* freebsd-net@freebsd.org > *=D6=F7=CC=E2=A3=BA* Re: ixgbe input errors at high data rates > I have typically not had the bandwidth to do performance work on the > drivers, I am the > only FreeBSD engineer in the wired network division here at Intel, howeve= r > for 10G I > have changed the rules and have been working to make the driver perform > well. > > 10G is quite different from 1G, in order for it to work well its not just= a > matter of slapping > in the hardware, the OS must be tuned, and the driver. Further, its an > ongoing effort, > so by recommending the CURRENT driver what I'm saying is that is my most > recent > code and thus, if all is well :), its also the best performing. > > The difference between things being tweaked vs not is quite dramatic, li= ke > getting > > only 2 or 3 Gb versus getting 9.5 when properly set up. The multiqueue st= ack > support > in 8.0 is part of the equation, and in 7.X you wont have that. > > Hope this clarifies things some, > > Jack > > > On Thu, Mar 11, 2010 at 10:39 AM, rihad wrote: > > > Jack Vogel wrote: > > > > > Similarly, I have done lots of work in two years to the ixgbe driver, > > > I would even suggest that once you have 8 installed you get the drive= r > > > from HEAD. > > > > > > > You mean the driver in 8.0 isn't good enough and I'd need to somehow m= ix > > the driver from CURRENT with the rest of 8.0? > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >