From owner-freebsd-net@FreeBSD.ORG Mon Jul 5 19:03:25 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 0E1F3106566B for ; Mon, 5 Jul 2010 19:03:25 +0000 (UTC) (envelope-from administrator@shtorm.com) Received: from ns.shtorm.com (ns.shtorm.com [195.62.14.3]) by mx1.freebsd.org (Postfix) with ESMTP id BEDA28FC12 for ; Mon, 5 Jul 2010 19:03:24 +0000 (UTC) Received: from [10.66.6.77] (unknown [10.66.6.77]) by ns.shtorm.com (Postfix) with ESMTP id 0589D2E400E; Mon, 5 Jul 2010 22:03:31 +0300 (EEST) From: "Yuriy A. Korobko" To: Jack Vogel In-Reply-To: References: <1278330234.10826.18.camel@stormi-desktop> Content-Type: text/plain; charset="UTF-8" Date: Mon, 05 Jul 2010 22:06:36 +0300 Message-ID: <1278356796.10826.35.camel@stormi-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Intel 82574L Gigabit Ethernet Controller 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, 05 Jul 2010 19:03:25 -0000 On Mon, 2010-07-05 at 11:11 -0700, Jack Vogel wrote: > Are you defining 'EM_MULTIQUEUE', its off by default and needs to be > defined somewhere by you. > > You will only see the two queues used if you have two different connections > operating at once. > > Jack > > > On Mon, Jul 5, 2010 at 4:43 AM, Shtorm wrote: > > > I just got Supermicro SuperServer 5016I-MRF server with two 82574L > > controllers on board. According to specs this controller can do two > > msi-x vectors for tx and rx, but only one tx-rx pair is used on > > 8.1-prerelease. > > Thanks for you reply Jack, This box working as a router with up to 60 kpps traffic rate , I believe there is enough flows to see both queues running. # netstat -I em0 -w 1 input (em0) output packets errs idrops bytes packets errs bytes colls 60356 0 0 61659974 46803 0 15527523 0 56273 0 0 56429189 44278 0 15199658 0 55405 0 0 55408969 43654 0 14978427 0 Anyway, will try to rebuild em module with CFLAGS += -DEM_MULTIQUEUE and with LEGACY stuff commented out in src/sys/modules/em/Makefile tomorrow. Is this enough or should I put define in the beginning of src/sys/dev/e1000/if_em.c ?