Performance issues with raspberry pi 2

Daisuke Aoyama aoyama at peach.ne.jp
Sun May 17 22:02:38 UTC 2015


> http://www.peach.ne.jp/archives/rpi/patch/dwc_otg-rpi2-20150516.patch
>
> This patch is subset of my USB patch of ODROID-C1 4x faster version on 1Gbps.

Previous subset does not work correctly in ratecheck.
I don't know a reason but same code from ODROID-C1 version works.
I re-create the patch as dwc_otg-rpi2-20150518.patch.

http://www.peach.ne.jp/archives/rpi/patch/dwc_otg-rpi2-20150518.patch

Please use it instead. If you already applied 20150516, please remove it by:

# patch -R < /path/to/dwc_otg-rpi2-20150516.patch

Then, apply new version. Sorry for inconvenience.

The below log is patched result on RPI2 using iperf3(/usr/ports/benchmarks/iperf3).
Of course, powerd is enabled.

----------------------------------------------------------------------
# iperf3 -c 172.18.0.138 (sending)

Connecting to host 172.18.0.138, port 5201
[  4] local 172.18.0.159 port 33503 connected to 172.18.0.138 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  11.4 MBytes  96.0 Mbits/sec
[  4]   1.00-2.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   2.00-3.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   3.00-4.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   4.00-5.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   5.00-6.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   6.00-7.00   sec  11.3 MBytes  95.1 Mbits/sec
[  4]   7.00-8.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   8.00-9.00   sec  11.2 MBytes  94.1 Mbits/sec
[  4]   9.00-10.00  sec  11.2 MBytes  94.0 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   113 MBytes  94.4 Mbits/sec                  sender
[  4]   0.00-10.00  sec   112 MBytes  94.1 Mbits/sec                  receiver

# iperf3 -c 172.18.0.138 -R (receiving)

Connecting to host 172.18.0.138, port 5201
Reverse mode, remote host 172.18.0.138 is sending
[  4] local 172.18.0.159 port 35723 connected to 172.18.0.138 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  8.58 MBytes  72.0 Mbits/sec
[  4]   1.00-2.00   sec  8.81 MBytes  73.9 Mbits/sec
[  4]   2.00-3.00   sec  8.79 MBytes  73.8 Mbits/sec
[  4]   3.00-4.00   sec  8.87 MBytes  74.4 Mbits/sec
[  4]   4.00-5.00   sec  8.85 MBytes  74.2 Mbits/sec
[  4]   5.00-6.00   sec  8.89 MBytes  74.6 Mbits/sec
[  4]   6.00-7.00   sec  8.79 MBytes  73.7 Mbits/sec
[  4]   7.00-8.00   sec  8.86 MBytes  74.3 Mbits/sec
[  4]   8.00-9.00   sec  8.86 MBytes  74.3 Mbits/sec
[  4]   9.00-10.00  sec  8.80 MBytes  73.8 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  88.2 MBytes  74.0 Mbits/sec                  sender
[  4]   0.00-10.00  sec  88.2 MBytes  74.0 Mbits/sec                  receiver
----------------------------------------------------------------------

-- 
Daisuke Aoyama
 


More information about the freebsd-arm mailing list