Date: Tue, 9 Sep 2008 16:36:21 +0200 From: "Jacques Fourie" <jacques.fourie@gmail.com> To: "Stanislav Sedov" <stas@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: Re: Routing benchmarks Message-ID: <be2f52430809090736v4ab9c87bu2a0adced13811801@mail.gmail.com> In-Reply-To: <20080909175556.07bac5f0.stas@FreeBSD.org> References: <be2f52430809090633o7b80f23y2749a055f61d5cb0@mail.gmail.com> <20080909175556.07bac5f0.stas@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 9, 2008 at 3:55 PM, Stanislav Sedov <stas@freebsd.org> wrote: > On Tue, 9 Sep 2008 15:33:30 +0200 > "Jacques Fourie" <jacques.fourie@gmail.com> mentioned: > >> Hi, >> >> 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. >> > > Have you tried checking the speed of the interface itself? Without > routing involved? May it be the interfaces itself being so slow? > > -- > Stanislav Sedov > ST4096-RIPE > Running netserver on the gumstix shows a throughput of 2.4Mbit/s. At the moment I can't get if_bridge to work - will try to figure out what is going on. A bridging benchmark may be more informative.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be2f52430809090736v4ab9c87bu2a0adced13811801>