From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out1.informatik.tu-muenchen.de (mail-out1.informatik.tu-muenchen.de [131.159.0.8]) by dpdk.org (Postfix) with ESMTP id 6AB135A41 for ; Fri, 10 Apr 2015 02:42:48 +0200 (CEST) Received: from charizard-wifi.fritz.box (p5DCD6CAC.dip0.t-ipconnect.de [93.205.108.172]) by mail.net.in.tum.de (Postfix) with ESMTPSA id 9B90A19A5835; Fri, 10 Apr 2015 02:42:47 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) From: Paul Emmerich In-Reply-To: <20150409142437.203fed44@urahara> Date: Fri, 10 Apr 2015 02:42:46 +0200 Content-Transfer-Encoding: 7bit Message-Id: <9DF6C88A-AD12-4B04-899C-23C30FA760F1@net.in.tum.de> References: <5D6C8629-393C-4195-8063-8168E206335B@arbor.net> <16D8F22D-333F-499F-8B5A-4839E582054D@arbor.net> <20150409142437.203fed44@urahara> To: Stephen Hemminger X-Mailer: Apple Mail (2.2070.6) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Polling too often at lower packet rates? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 00:42:48 -0000 Stephen Hemminger wrote: > Your excess polling consumes PCI bandwidth which is a fixed resource. I doubt that this is the problem for three reasons: * The poll rate would regulate itself if the PCIe bus was the bottleneck * This problem only occurs with 82599 chips, not with X540 chips (which are virtually identical except for 10GBase-T vs. fiber) * This effect already appears with relatively low poll rates (batch size 1). The overhead would have to be > 128 bytes per poll to saturate the PCIe bus at this rate. (Even if this was the case, my first point still applies) I unfortunately don't have a test system with a CPU that supports PCIe performance counters with a 82599 card. Otherwise I'd measure this since I think this effect is really interesting (I'm a co-authors of the paper linked above). Paul