From owner-freebsd-stable@FreeBSD.ORG Mon Sep 18 13:52:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE27816A586; Mon, 18 Sep 2006 13:52:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B4D843D7C; Mon, 18 Sep 2006 13:52:16 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3A4F046CDF; Mon, 18 Sep 2006 09:52:12 -0400 (EDT) Date: Mon, 18 Sep 2006 14:52:12 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ingo In-Reply-To: Message-ID: <20060918145122.W1253@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1471660594-1158587532=:1253" Cc: freebsd-performance@freebsd.org, freebsd-stable@freebsd.org Subject: Re: network performance problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 13:52:19 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1471660594-1158587532=:1253 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 13 Sep 2006, Ingo wrote: > I`ve some problems with the network performance on my Soekris NET 4801.= =20 > (Freebsd 6.1 release-p3) > > When I start "netio" on the soekris and do a "netio localhost", I get abo= ut=20 > 8.4 MB/sec, and when I start with "netio 192.168.0.11"(it=B4s localhost= =20 > address) I get only ~2.3 MB/sec. That=B4s what top says when I do: What does "route get 192.168.0.11" return? What happens if you force the localhost MTU from whatever the default is (m= ost=20 likely 16k) to the same as the ethernet interface? Robert N M Watson Computer Laboratory University of Cambridge > > localhost > CPU states: 2.3% user, 0.0% nice, 72.5% system, 25.2% interrupt, 0.0% = idle > > 192.168.0.11 > CPU states: 1.2% user, 0.0% nice, 46.3% system, 52.5% interrupt, 0.0% = idle > > As you can see, the interrupt load is more than doubled when I use the Ip= =20 > address, and > I=B4ve no idea why. > > > Here are some other throughput results of the soekris: > > openbsd# ftp 192.16.8.0.20=092.0 MB/sec > openbsd# iperf localhost 1.4 Mbit/sec > openbsd# iperf 192.168.0.11(it=B4s localhost address) 1.4 Mbit/sec > openbsd# netperf localhost 70MB/sec > openbsd# netperf 192.168.0.11(it=B4s localhost address) 70MB/sec > > freebsd# ftp 192.168.0.20 2.3 MB/sec > Freebsd# iperf localhost 45 Mbit/sec > Freebsd# iperf 192.168.0.11 (it=B4s localhost address) 19 Mbit/sec > Freebsd# netperf localhost 67 Mbit/sec > Freebsd# netperf 192.168.0.11 (it=B4s localhost address) 19 Mbit/sec > > > What causes the difference between localhost and the ip address on Freebs= d? > On Openbsd there is no diffenerce at all. > > > Greetings > --=20 > Erstellt mit Operas revolution=E4rem E-Mail-Modul: http://www.opera.com/m= ail/ > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to=20 > "freebsd-performance-unsubscribe@freebsd.org" --0-1471660594-1158587532=:1253--