From owner-freebsd-current@FreeBSD.ORG Mon Jul 16 19:48:00 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 BBCA816A402 for ; Mon, 16 Jul 2007 19:48:00 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF8113C4C6 for ; Mon, 16 Jul 2007 19:48:00 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so1181971uge for ; Mon, 16 Jul 2007 12:47:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sMBXOPLDwMMqRvLXz+gD630jO7bZnVqamxXiPsZwotMMe6UP8YNhK0e42mNGM6BSyYvZgTt+SuXzoQWu0LOM/Pn4ebKl0p15GhUf7hDK2Ne0gCVxKYesjbL57H/AunlAuZCH1/+NKuClVT7C5HkxlGhgbRfPouzjNDlJmOqraRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C0ngcGOpC3HJe6u6RaQA8EXCI738754MUc1W4GOtLH8/n0tqpOeWq63TZp0xgwGfAcghOqxcXCbOrqBq/CdIwBNQ1VZXqT8ZgkpQu949v35SNDb8V/7HIJpyJJWesJ0J+RVKNVZE6lTyuD8pz8l7fItLeEFMBYhvB/q7amIvH98= Received: by 10.78.193.5 with SMTP id q5mr1269059huf.1184615278737; Mon, 16 Jul 2007 12:47:58 -0700 (PDT) Received: by 10.78.162.18 with HTTP; Mon, 16 Jul 2007 12:47:58 -0700 (PDT) Message-ID: Date: Mon, 16 Jul 2007 12:47:58 -0700 From: "Kip Macy" To: "=?ISO-8859-1?Q?St=E5le_Kristoffersen?=" In-Reply-To: <20070716190441.GA19282@eschew.pusen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20070716190441.GA19282@eschew.pusen.org> Cc: current@freebsd.org Subject: Re: 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:48:00 -0000 10 GigE cards are doing line rate - over time the cpu usage required to do so is going down. Your experience is probably due to NIC issues. What kind of NIC are you using? And have you changed any configuration or settings? -Kip On 7/16/07, St=E5le Kristoffersen wrote: > A few months ago I tested my local network speed with iperf and got aroun= d > 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 lik= e > 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 =3D "GenuineIntel" Id =3D 0xf47 Stepping =3D 7 > Features=3D0xbfebfbff > Features2=3D0x641d > AMD Features=3D0x20100000 > AMD Features2=3D0x1 > Cores per package: 2 > real memory =3D 1072562176 (1022 MB) > avail memory =3D 1036025856 (988 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > -- > St=E5le Kristoffersen > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >