From owner-freebsd-current@FreeBSD.ORG Mon Jul 16 19:36:39 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE66316A406 for ; Mon, 16 Jul 2007 19:36:39 +0000 (UTC) (envelope-from staale@kristoffersen.ws) Received: from smtp.bluecom.no (smtp.bluecom.no [193.75.75.28]) by mx1.freebsd.org (Postfix) with ESMTP id 93C0513C4C9 for ; Mon, 16 Jul 2007 19:36:39 +0000 (UTC) (envelope-from staale@kristoffersen.ws) Received: from eschew.pusen.org (unknown [193.69.145.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.bluecom.no (Postfix) with ESMTP id 4E97D12C2CA for ; Mon, 16 Jul 2007 21:04:36 +0200 (CEST) Received: from chiller by eschew.pusen.org with local (Exim 4.50) id 1IAVs9-0005Hl-Km for current@freebsd.org; Mon, 16 Jul 2007 21:04:41 +0200 Date: Mon, 16 Jul 2007 21:04:41 +0200 From: =?iso-8859-1?Q?St=E5le?= Kristoffersen To: current@freebsd.org Message-ID: <20070716190441.GA19282@eschew.pusen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Slow networkperformance in current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 19:36:39 -0000 A few months ago I tested my local network speed with iperf and got around 900Mbits/s. But with a newer current I get around 300Mbits/s, (using 100% cpu usage), and to localhost: 162 Mbits/sec. I'm running iperf -s in one terminal and iperf -c localhost on another. FreeBSD 7.0-CURRENT #9: Mon Jul 9 13:18:23 CEST 2007 root@fs:/usr/obj/usr/src/sys/FS i386 Stock kernel, but removed debuging and witness, and using SCHED_ULE. Not knowing where to look I tried to update. Recompiled with updated source and with SCHED_4BSD: FreeBSD 7.0-CURRENT #9: Mon Jul 9 13:18:23 CEST 2007 root@fs:/usr/obj/usr/src/sys/FS i386 Same problem, am I missing something obvious here? This does not look like the correct numbers: [ 4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 58497 [ 4] 0.0-10.5 sec 172 MBytes 137 Mbits/sec CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2856.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf47 Stepping = 7 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 1072562176 (1022 MB) avail memory = 1036025856 (988 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs -- Ståle Kristoffersen