From owner-freebsd-performance@FreeBSD.ORG Wed Sep 13 19:51:15 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AAD716A403; Wed, 13 Sep 2006 19:51:15 +0000 (UTC) (envelope-from ingom-list@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0061743D45; Wed, 13 Sep 2006 19:51:14 +0000 (GMT) (envelope-from ingom-list@freenet.de) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.62) (envelope-from ) id 1GNalN-0003rm-RV; Wed, 13 Sep 2006 21:51:13 +0200 Received: from p54b18990.dip0.t-ipconnect.de ([84.177.137.144] helo=medion-8800) by mx1.freenet.de with esmtpa (ID ingom-list@freenet.de) (Exim 4.62 #12) id 1GNalN-0001rG-JH; Wed, 13 Sep 2006 21:51:13 +0200 Date: Wed, 13 Sep 2006 21:51:09 +0200 To: freebsd-performance@freebsd.org From: Ingo Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Message-ID: User-Agent: Opera Mail/9.01 (Win32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: network performance problem X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 19:51:15 -0000 Hello, I`ve some problems with the network performance on my Soekris NET 4801. (Freebsd 6.1 release-p3) When I start "netio" on the soekris and do a "netio localhost", I get about 8.4 MB/sec, and when I start with "netio 192.168.0.11"(it´s localhost address) I get only ~2.3 MB/sec. That´s what top says when I do: 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 address, and I´ve no idea why. Here are some other throughput results of the soekris: openbsd# ftp 192.16.8.0.20 2.0 MB/sec openbsd# iperf localhost 1.4 Mbit/sec openbsd# iperf 192.168.0.11(it´s localhost address) 1.4 Mbit/sec openbsd# netperf localhost 70MB/sec openbsd# netperf 192.168.0.11(it´s 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´s localhost address) 19 Mbit/sec Freebsd# netperf localhost 67 Mbit/sec Freebsd# netperf 192.168.0.11 (it´s localhost address) 19 Mbit/sec What causes the difference between localhost and the ip address on Freebsd? On Openbsd there is no diffenerce at all. Greetings -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/