From owner-freebsd-arm@FreeBSD.ORG Tue Sep 9 13:56:12 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF4921065672 for ; Tue, 9 Sep 2008 13:56:12 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 941DD8FC12 for ; Tue, 9 Sep 2008 13:56:11 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [78.110.49.49] (helo=quasar.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1Kd3hQ-0005qk-Be; Tue, 09 Sep 2008 17:56:08 +0400 Received: by quasar.ht-systems.ru (Postfix, from userid 1024) id 3E1C373020; Tue, 9 Sep 2008 17:56:02 +0400 (MSD) Date: Tue, 9 Sep 2008 17:55:56 +0400 From: Stanislav Sedov To: "Jacques Fourie" Message-Id: <20080909175556.07bac5f0.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__9_Sep_2008_17_55_56_+0400_Hd1Nlq5DAZQvs1od" Cc: freebsd-arm@freebsd.org Subject: Re: Routing benchmarks X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 13:56:13 -0000 --Signature=_Tue__9_Sep_2008_17_55_56_+0400_Hd1Nlq5DAZQvs1od Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 9 Sep 2008 15:33:30 +0200 "Jacques Fourie" mentioned: > Hi, >=20 > I've performed some benchmark tests on my Gumstix Connex 400 (Intel > Xscale PXA 255 CPU clocked at 400MHz) with a netDuo expansion board. > This board has two smc network interfaces. I configure the gumstix as > a router and measure network throughput with netperf running on > seperate boxes on either side of the gumstix. My initial tests showed > a TCP throughput of 2Mbit/s. After adapting the smc driver to use DMA > this figure went up to 7Mbit/s. Although this is a significant > improvement, it still seems to be a bit slow. Does anyone have any > tips on how I can go about to try and figure out where the bottleneck > lies? Initial profiling showed that a significant amount of time was > spent doing memory to memory copies of data, but after the DMA change > profiling does not show any obvious culprits. >=20 Have you tried checking the speed of the interface itself? Without routing involved? May it be the interfaces itself being so slow? --=20 Stanislav Sedov ST4096-RIPE --Signature=_Tue__9_Sep_2008_17_55_56_+0400_Hd1Nlq5DAZQvs1od Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjGgHIACgkQK/VZk+smlYFaCwCeOOMspWnQD9cgfw4mbnPmcIkW OtAAn0Wtq3vmd7DMHrh4sgSz6A1yU30y =1OcM -----END PGP SIGNATURE----- --Signature=_Tue__9_Sep_2008_17_55_56_+0400_Hd1Nlq5DAZQvs1od--