From owner-freebsd-arm@freebsd.org Thu Jul 23 15:16:02 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD6909A9E2C for ; Thu, 23 Jul 2015 15:16:02 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97F8512B6 for ; Thu, 23 Jul 2015 15:16:02 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: by iggf3 with SMTP id f3so161547915igg.1 for ; Thu, 23 Jul 2015 08:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dIDeMayXQgNW+qYdXTAaPBm3Va/bhVmBXQc7JIl1V9I=; b=YPXNL9hlftStyY/nJpixI6UXzJCWypUxZPKMJ20nxF3hnQ636b04FNVxU9fwD1XTla blmumT1ougIa8thyPZQHStTnxoYS/qeL/we9+gzu7mPMEwVxwegNB4mYMtm2liG9UE4n slVN7aJ+rAmXwbDzgKY3XfXvQwZNwloRg/q6rpRW4MEcSFrv6nDhPO1/J7ZMBNUkjQn+ L847JPaygH7Gws3Sc4WCE3m+IIrzPh1bfT+UbmTTfjKsyoUIYEGjQqxX2NtoFqJer/fB pn5BkzL6KPWghW9pQp1pkZG9wb4zhhpPyYUOcm53lBt4McUKOGCTrdyBUpGl2UFAgrCm VjFA== X-Received: by 10.50.128.169 with SMTP id np9mr46107389igb.37.1437664554779; Thu, 23 Jul 2015 08:15:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.143.4 with HTTP; Thu, 23 Jul 2015 08:15:25 -0700 (PDT) In-Reply-To: <55A7D8CE.4020809@selasky.org> References: <55A7D8CE.4020809@selasky.org> From: Jia-Shiun Li Date: Thu, 23 Jul 2015 23:15:25 +0800 Message-ID: Subject: Re: [RPI-B] [HEADS UP] DWC OTG TX path optimisation for 11-current To: Hans Petter Selasky Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Thu, 23 Jul 2015 15:16:03 -0000 Hi, don't know if this is related. RPI2 r285700 seems to have rx performance issues. tx: jsli@rpi2:~ % iperf -c 192.168.111.192 ------------------------------------------------------------ Client connecting to 192.168.111.192, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.111.92 port 25883 connected with 192.168.111.192 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 89.5 MBytes 75.0 Mbits/sec rx: jsli@4cbsd:~ % iperf -c 192.168.111.92 ------------------------------------------------------------ Client connecting to 192.168.111.92, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.111.192 port 33966 connected with 192.168.111.92 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.1 sec 6.75 MBytes 5.62 Mbits/sec jsli@4cbsd:~ % with iperf3: tx: jsli@rpi2:~ % iperf3 -c 192.168.111.192 Connecting to host 192.168.111.192, port 5201 [ 4] local 192.168.111.92 port 26625 connected to 192.168.111.192 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 8.75 MBytes 73.4 Mbits/sec [ 4] 1.00-2.00 sec 9.01 MBytes 75.6 Mbits/sec [ 4] 2.00-3.00 sec 8.98 MBytes 75.3 Mbits/sec [ 4] 3.00-4.00 sec 8.96 MBytes 75.1 Mbits/sec [ 4] 4.00-5.00 sec 8.99 MBytes 75.4 Mbits/sec [ 4] 5.00-6.00 sec 9.00 MBytes 75.5 Mbits/sec [ 4] 6.00-7.00 sec 8.88 MBytes 74.5 Mbits/sec [ 4] 7.00-8.00 sec 9.05 MBytes 75.9 Mbits/sec [ 4] 8.00-9.00 sec 9.00 MBytes 75.5 Mbits/sec [ 4] 9.00-10.00 sec 8.89 MBytes 74.6 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 89.5 MBytes 75.1 Mbits/sec sender [ 4] 0.00-10.00 sec 89.4 MBytes 75.0 Mbits/sec receiver iperf Done. jsli@rpi2:~ % rx: jsli@rpi2:~ % iperf3 -c 192.168.111.192 -R Connecting to host 192.168.111.192, port 5201 Reverse mode, remote host 192.168.111.192 is sending [ 4] local 192.168.111.92 port 23984 connected to 192.168.111.192 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 708 KBytes 5.80 Mbits/sec [ 4] 1.00-2.00 sec 700 KBytes 5.73 Mbits/sec [ 4] 2.00-3.00 sec 680 KBytes 5.57 Mbits/sec [ 4] 3.00-4.00 sec 653 KBytes 5.35 Mbits/sec [ 4] 4.00-5.00 sec 660 KBytes 5.41 Mbits/sec [ 4] 5.00-6.00 sec 673 KBytes 5.51 Mbits/sec [ 4] 6.00-7.00 sec 696 KBytes 5.70 Mbits/sec [ 4] 7.00-8.00 sec 696 KBytes 5.70 Mbits/sec [ 4] 8.00-9.00 sec 675 KBytes 5.53 Mbits/sec [ 4] 9.00-10.00 sec 667 KBytes 5.47 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 6.69 MBytes 5.61 Mbits/sec sender [ 4] 0.00-10.00 sec 6.69 MBytes 5.61 Mbits/sec receiver iperf Done. jsli@rpi2:~ % from the other side: (rpi2) rx: jsli@4cbsd:~ % iperf3 -c 192.168.111.92 Connecting to host 192.168.111.92, port 5201 [ 4] local 192.168.111.192 port 31202 connected to 192.168.111.92 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 640 KBytes 5.24 Mbits/sec [ 4] 1.00-2.00 sec 707 KBytes 5.79 Mbits/sec [ 4] 2.00-3.00 sec 700 KBytes 5.74 Mbits/sec [ 4] 3.00-4.00 sec 675 KBytes 5.52 Mbits/sec [ 4] 4.00-5.00 sec 669 KBytes 5.48 Mbits/sec [ 4] 5.00-6.00 sec 687 KBytes 5.63 Mbits/sec [ 4] 6.00-7.00 sec 714 KBytes 5.85 Mbits/sec [ 4] 7.00-8.00 sec 708 KBytes 5.81 Mbits/sec [ 4] 8.00-9.00 sec 675 KBytes 5.53 Mbits/sec [ 4] 9.00-10.00 sec 662 KBytes 5.42 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 6.68 MBytes 5.60 Mbits/sec sender [ 4] 0.00-10.00 sec 6.63 MBytes 5.56 Mbits/sec receiver iperf Done. jsli@4cbsd:~ % (rpi2) tx: jsli@4cbsd:~ % iperf3 -c 192.168.111.92 -R Connecting to host 192.168.111.92, port 5201 Reverse mode, remote host 192.168.111.92 is sending [ 4] local 192.168.111.192 port 41976 connected to 192.168.111.92 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 7.85 MBytes 65.9 Mbits/sec [ 4] 1.00-2.00 sec 8.80 MBytes 73.8 Mbits/sec [ 4] 2.00-3.00 sec 8.87 MBytes 74.4 Mbits/sec [ 4] 3.00-4.00 sec 8.96 MBytes 75.2 Mbits/sec [ 4] 4.00-5.00 sec 8.98 MBytes 75.4 Mbits/sec [ 4] 5.00-6.00 sec 8.80 MBytes 73.8 Mbits/sec [ 4] 6.00-7.00 sec 8.93 MBytes 74.9 Mbits/sec [ 4] 7.00-8.00 sec 8.96 MBytes 75.2 Mbits/sec [ 4] 8.00-9.00 sec 8.94 MBytes 75.0 Mbits/sec [ 4] 9.00-10.00 sec 8.89 MBytes 74.6 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.1 MBytes 73.9 Mbits/sec receiver iperf Done. jsli@4cbsd:~ % -Jia-Shiun