Date: Thu, 21 Mar 2013 22:53:44 -0700 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: Alexey V. Panfilov <lehis2000@mail.ru> Cc: freebsd-arm@freebsd.org Subject: Re: RPI-B as router Message-ID: <6F05C3AD-D6F0-46B2-95D3-329898DE69B6@bluezbox.com> In-Reply-To: <514B2188.8030905@mail.ru> References: <514B2188.8030905@mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-03-21, at 8:04 AM, Alexey V. Panfilov <lehis2000@mail.ru> wrote: > Hi > > I decide to test RRI-B as simple router (without NAT): [Host A] --- > [RPI-B] --- [Host B] > > I've created two vlans on RPI (if_vlan.ko was load as module) and run > iperf between Host A and Host B: > > [Host A~]# iperf -c 192.168.0.249 -P 5 -i 5 -t 300 | grep SUM > [SUM] 0.0- 5.0 sec 4.62 MBytes 7.76 Mbits/sec > [SUM] 5.0-10.0 sec 4.75 MBytes 7.97 Mbits/sec > [SUM] 10.0-15.0 sec 4.25 MBytes 7.13 Mbits/sec > > So RPI-B network's throughput was around 20Mbit/sec of full-duplex traffic: The problem is that USB works in PIO mode. With DMA mode enabled it's somewhat faster. Here is my half-baked patch: http://people.freebsd.org/~gonzo/patches/dwc_otg-dma-nosplit.diff Network interface should work, although USB keyboards will not work with this patch.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6F05C3AD-D6F0-46B2-95D3-329898DE69B6>