Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2015 07:02:27 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        "Andreas Andersson" <aandersson@tappsi.co>, <freebsd-arm@freebsd.org>
Subject:   Re: Performance issues with raspberry pi 2
Message-ID:  <2D17B16DBC5F452D8DAC721E17BBF1B7@ad.peach.ne.jp>
In-Reply-To: <B74C9AF8E1FD4AA596BBF09292FE52B4@ad.peach.ne.jp>
References:  <CAOx9_ZiUw5nkBK=Bsumb=K2W1hv0P%2BNAwT7OXE7VAz_96awqOw@mail.gmail.com> <3AB5ECCF20894591B4DF5FCBA8CA49BB@ad.peach.ne.jp> <CAOx9_Zg5WGUAvmmhAkUsgUM-H%2Bp9MWzmWjHnXfKAAxFoEuwrLg@mail.gmail.com> <CAOx9_ZiZmmrSBkf1quzW-zkbW0nNg08rAAV__7FHRdCbTCzt-g@mail.gmail.com> <B74C9AF8E1FD4AA596BBF09292FE52B4@ad.peach.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D17B16DBC5F452D8DAC721E17BBF1B7>