From owner-freebsd-arm@FreeBSD.ORG Sun May 17 22:02:38 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E5C52F8 for ; Sun, 17 May 2015 22:02:38 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F40FE14BE for ; Sun, 17 May 2015 22:02:36 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 20B8D50F0B; Mon, 18 May 2015 07:02:27 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id EC2F950F05; Mon, 18 May 2015 07:02:26 +0900 (JST) Message-ID: <2D17B16DBC5F452D8DAC721E17BBF1B7@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Andreas Andersson" , References: <3AB5ECCF20894591B4DF5FCBA8CA49BB@ad.peach.ne.jp> In-Reply-To: Subject: Re: Performance issues with raspberry pi 2 Date: Mon, 18 May 2015 07:02:27 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 22:02:38 -0000 > 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