RPI-B as router
Oleksandr Tymoshenko
gonzo at bluezbox.com
Fri Mar 22 05:54:04 UTC 2013
On 2013-03-21, at 8:04 AM, Alexey V. Panfilov <lehis2000 at 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.
More information about the freebsd-arm
mailing list