Received: with ECARTIS (v1.0.0; list netdev); Fri, 03 Jan 2003 05:11:53 -0800 (PST) Received: from robur.slu.se (robur.slu.se [130.238.98.12]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h03DBf3v025593 for ; Fri, 3 Jan 2003 05:11:44 -0800 Received: (from robert@localhost) by robur.slu.se (8.9.3/8.9.3) id OAA13667; Fri, 3 Jan 2003 14:25:21 +0100 From: Robert Olsson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15893.36673.476788.286469@robur.slu.se> Date: Fri, 3 Jan 2003 14:25:21 +0100 To: Steffen Persvold Cc: linux-kernel@vger.kernel.org, , netdev@oss.sgi.com Subject: One-way Gigabit Ethernet TCP performance with Jumbo frames In-Reply-To: References: <3E142D85.71FFA06C@digeo.com> X-Mailer: VM 6.92 under Emacs 19.34.1 X-archive-position: 1442 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: Robert.Olsson@data.slu.se Precedence: bulk X-list: netdev Steffen Persvold writes: > Hi all, > > Lately I've been testing out two Gigabit Ethernet adapters on Pentium 4 > Xeon platforms; onboard Intel 82544GC (e1000 driver) and onboard Broadcom > BCM5701 (tg3 driver), and I'm experiencing some wierd behaviour on > one-way tests (ping-ping). The machines I'm testing is connected back to > back (i.e no switch) and are fairly fast systems (Dual Xeon 2.4 GHz, 1GB > memory) configured to use Jumbo frames (9000 bytes). > But, when running a one-way test (where one machine only sends, and the > other only receives, i.e ping-ping) there is a serious dip in the > performance curve at ~768 bytes and the bandwidth levels out at approx > 60 MByte/sec (about half of peak) regadless of application and GbE device. I've seen similar problems... and most of the times this seems due to incorrect tuned mitigation. Think of what happens if you don't have TX- interrupts enough to clean your TX-ring. Which means your app. can not fill it at full speed -- and as long you have RX traffic it contributes with interrupts so the problem is not visile. If you test IP-forwarding with RX soly on one interface and TX soly on the other and routing between them. You'll see drops at the qdisc in such case. Cheers. --ro