From owner-freebsd-net@FreeBSD.ORG Fri Jul 11 18:07:57 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B32653A for ; Fri, 11 Jul 2014 18:07:57 +0000 (UTC) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DD2025FA for ; Fri, 11 Jul 2014 18:07:57 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id lj1so1868512pab.36 for ; Fri, 11 Jul 2014 11:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=M7ovO7L4zdfh2DsNJmhmuqmjJTHWhkLjokDtQzfm3wQ=; b=BoJDUqKYZke0q/HbpjDlcx7wEpvWOhNTZpNvca1P8CnZjWxABOyGRlnIcg7KFdRSMn LxjYQFRIRwVLD67shp6Ly2i5V+7BD2ViF++Oj4FHh+8cPj1Dad3LM3WadFnBfoZgFNH7 D19b0ufxOBYQ7sMcZklzbIEOl8x4E0cAAph+CKlUtiYv5FIxgVEwfVXr7qrZ+lEi3pWD 5g9ozvDgIlR/xOD5TBtwa7REdbFkTqw97AtSMFKJ2CT/7kbmYCRAMLE6uaXXzBSA5dAY gDKIP0+Wj1gTROTA3BT4TFtljOIOH3C2/kFzkKCzBoDn9EGJqFhtJeR1Wy0+6B44YqHM fsqg== X-Received: by 10.68.171.193 with SMTP id aw1mr271843pbc.117.1405102076811; Fri, 11 Jul 2014 11:07:56 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPSA id xc1sm11840748pab.39.2014.07.11.11.07.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 11:07:56 -0700 (PDT) Message-ID: <53C027FB.7060807@gmail.com> Date: Fri, 11 Jul 2014 11:07:55 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "Bjoern A. Zeeb" , John Jasem Subject: Re: tuning routing using cxgbe and T580-CR cards? References: <53C01EB5.6090701@gmail.com> <01AABF44-4801-45B5-9509-1CA7BAA3CB30@lists.zabbadoz.net> In-Reply-To: <01AABF44-4801-45B5-9509-1CA7BAA3CB30@lists.zabbadoz.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 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, 11 Jul 2014 18:07:57 -0000 On 07/11/14 11:03, Bjoern A. Zeeb wrote: > On 11 Jul 2014, at 17:28 , John Jasem wrote: >=20 >> c) the defaults for the cxgbe driver appear to be 8 rx queues, and >> N tx queues, with N being the number of CPUs detected. For a system >> running multiple cards, routing or firewalling, does this make >> sense, or would balancing tx and rx be more ideal? And would >> reducing queues per card based on NUMBER-CPUS and NUM-CHELSIO-PORTS >> make sense at all? =85 g) Are there other settings I should be >> looking at, that may squeeze out a few more packets? >=20 > If you are primarily forwarding packets (you say =93routing=94 multiple= > times) the first thing you should do is turn off LRO and TSO on all > ports. LRO, sure. But TSO shouldn't really matter unless the packets originate from a local TCP endpoint on the system. Navdeep >=20 > =97 Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames,= > 1983 >=20