From owner-freebsd-net@freebsd.org Sat Jan 23 19:16:47 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB20AA8E79F for ; Sat, 23 Jan 2016 19:16:47 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B18A19A9 for ; Sat, 23 Jan 2016 19:16:47 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pa0-x22d.google.com with SMTP id cy9so58940625pac.0 for ; Sat, 23 Jan 2016 11:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=2BINt3TXegoUrwc8OMcBvzz11flKcMtV3y1NP6Q6uYY=; b=RWpCVuFqy/Z05+jLLz0+7McwWZJADzm9lyxTRqrRHsIVOXmwlZdNCbQEtyjQ3EO1Xz 1Hznk54rMgqnfF9V1+vNe+/Fg75ucPzdnKPL5wG5lypKylFe0qlNrhnAg7Jmzdb08yE2 IbLWtni1EgrL6vOwWajZa5/JRpQCsz0tvH+/g8Yll+q/8bDP6SWOjC8y4PFDkFV6djGd pwCaC1XX60eIJd1kQXRzOQJkV3YEGhqHPuStvje5t0zKHaeovVGKCyCpIKYNzov7kr6f roOQJVjwhMnkgeFfPyoZgIydjrmR3ayk1w5z9/VC9ZOB3ZBofQMUXv312+Ux4vtTTCvh 71OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=2BINt3TXegoUrwc8OMcBvzz11flKcMtV3y1NP6Q6uYY=; b=Xk/zbEYv6tESUf85Y+ueqNAK102ugxgvXgYRGlrlxcNdYh/ktKvXrX426T+eM8KA33 ssuzHgn58PQSKFkwYK/x7VuE+pVEhlI8hhzOcxQ9L0uVo27RVCy3dggxfPQSxVp5Cat6 NbxCG75hCFsiufHUGSnshMQN1+iZN/TR69GBSHHJLUHvVjixGyLooP0420yMIlWqiLGM N9DEpOxrAZye9MQB9AlGOXYjEL3FfIXkjmTPlGch5/OxspafrdTwL2hB4sqfe0U2IEXC IzC6YzHarNdT5+KcpcO+Xl9WlVfbcQBLZyLmzrUeuAkWMJeHEpQ+AMcFAv3VKyq/nIJQ 9gVg== X-Gm-Message-State: AG10YOQAfcL80ZBgpJPec+QZhKxLdKTMYnYDEWM+2fMAaxl4blOfDwrnM7D7c506vBmhVw== X-Received: by 10.66.140.79 with SMTP id re15mr13618659pab.127.1453576607292; Sat, 23 Jan 2016 11:16:47 -0800 (PST) Received: from ox ([2601:641:c001:8a00:591d:d471:ff4a:b8bf]) by smtp.gmail.com with ESMTPSA id cl3sm18065060pad.11.2016.01.23.11.16.45 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 23 Jan 2016 11:16:46 -0800 (PST) Date: Sat, 23 Jan 2016 11:16:43 -0800 From: Navdeep Parhar To: Marcus Cenzatti Cc: Luigi Rizzo , freebsd-net@freebsd.org Subject: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX Message-ID: <20160123191643.GD4574@ox> Mail-Followup-To: Marcus Cenzatti , Luigi Rizzo , freebsd-net@freebsd.org References: <20160123053428.2091EA0121@smtp.hushmail.com> <20160123154052.GA4574@ox> <20160123171300.0F448A0121@smtp.hushmail.com> <20160123174840.32B1DA0121@smtp.hushmail.com> <20160123183836.GB4574@ox> <20160123185453.0FA7CA0128@smtp.hushmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160123185453.0FA7CA0128@smtp.hushmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 19:16:47 -0000 On Sat, Jan 23, 2016 at 04:54:52PM -0200, Marcus Cenzatti wrote: ... > here is the output for netstat when I pkt-gen -f tx un-throttled (14Mpps): > > input (Total) output > packets errs idrops bytes packets errs bytes colls drops > 900k 0 0 55M 3 0 550 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 9 0 2.4K 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 3 0 422 0 0 > 900k 0 0 55M 3 0 422 0 0 This means that the chip really is getting ~900K packets per second from the wire. If it was receiving 14.8M and delivering 900K you'd have seen 14.8M in packets and 13.9M (14.8 - 900K) in idrops. Regards, Navdeep