From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6FE5C43381 for ; Sun, 24 Feb 2019 20:00:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D6D52054F for ; Sun, 24 Feb 2019 20:00:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=newmedia-net.de header.i=@newmedia-net.de header.b="OOoHpTXv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728102AbfBXUAB (ORCPT ); Sun, 24 Feb 2019 15:00:01 -0500 Received: from webmail.newmedia-net.de ([185.84.6.166]:49903 "EHLO webmail.newmedia-net.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726458AbfBXUAB (ORCPT ); Sun, 24 Feb 2019 15:00:01 -0500 X-Greylist: delayed 1007 seconds by postgrey-1.27 at vger.kernel.org; Sun, 24 Feb 2019 14:59:58 EST DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newmedia-net.de; s=mikd; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=QDA72ArM6gVN//oxoyNeK8WIs/uRQVbqnezySqi1eYk=; b=OOoHpTXvI6YsAzxVYM/CfapQj+mvofaHFp4jpkEJXyTGBd1iYSCvuAon+LPlLjusBy5F3Mpvr3AqbtK6cfgULIu73IjrhScINWLdKBbl+hRKjfuJNQYq3jeO3YZMQeqkqv2U+EEG5B+IpOcUP9gIqHHCvidZmZo8YO2txinDUtU=; Subject: Re: stmmac / meson8b-dwmac To: Simon Huelck , Jerome Brunet , Jose Abreu , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, Gpeppe.cavallaro@st.com, alexandre.torgue@st.com, Emiliano Ingrassia , netdev@vger.kernel.org References: <7afdaa0d-d0ef-b223-1f6e-2b52bfa44784@gmx.de> <6f25da2b-7f28-b888-3240-7178ac75c90c@synopsys.com> <84fb981c-75ab-ef9e-edd6-cd0c52d9dc36@synopsys.com> <8bae9cd6-5c44-30e3-bfe5-8d6f853f170e@synopsys.com> <065407cd-c13b-e74c-7798-508650c12caf@gmx.de> <227be4e9-b0cc-a011-2558-71a17567246f@synopsys.com> <45e73e8c-a0fb-6f8f-8dc6-3aa2103fdda3@gmx.de> <4493b245-de93-46cd-327b-8091a3babc3a@gmx.de> <244d7c74-e0ca-a9c7-f4b0-3de7bec4024b@gmx.de> <1426d8ed40be0927c135aff25dcf989a11326932.camel@baylibre.com> <9074d29b-4cc9-87b6-009f-48280a4692c0@gmx.de> <8ec64936-c8fa-1f0e-68bf-2ad1d6e8f5d9@gmx.de> From: Sebastian Gottschall Message-ID: Date: Sun, 24 Feb 2019 20:42:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <8ec64936-c8fa-1f0e-68bf-2ad1d6e8f5d9@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Received: from [2003:c9:3f14:9100:2860:99bb:f60c:84c5] by webmail.newmedia-net.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1gxzg9-0002Gb-7n; Sun, 24 Feb 2019 20:43:13 +0100 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > ** > > **its clearly visible when i activated the other stream for getting > duplex load ... The highest rate also stays alot under the possible > 930MBits that i have seen earlier with 4.14. > ** > > ** > ** > > **the parallel stream reached around 450Mbits , which almost sums up to > 660Mbits. This is what i meant when i said that duplex might be broken. > ** > > ** > ** > > **Connecting to host 10.10.11.100, port 5201 > [  5] local 10.10.11.1 port 38658 connected to 10.10.11.100 port 5201 > [ ID] Interval           Transfer     Bitrate         Retr  Cwnd > [  5]   0.00-1.00   sec  62.9 MBytes   528 Mbits/sec    0   65.6 KBytes > [  5]   1.00-2.00   sec  56.9 MBytes   477 Mbits/sec    0   65.6 KBytes > [  5]   2.00-3.00   sec  55.9 MBytes   469 Mbits/sec    0   65.6 KBytes > [  5]   3.00-4.00   sec  53.0 MBytes   445 Mbits/sec    0   65.6 KBytes > [  5]   4.00-5.00   sec  54.3 MBytes   455 Mbits/sec    0   65.6 KBytes > [  5]   5.00-6.00   sec  54.8 MBytes   460 Mbits/sec    0   65.6 KBytes > [  5]   6.00-7.00   sec  45.3 MBytes   380 Mbits/sec    0   65.6 KBytes > [  5]   7.00-8.00   sec  51.2 MBytes   429 Mbits/sec    0   65.6 KBytes > [  5]   8.00-9.00   sec  56.1 MBytes   470 Mbits/sec    0   65.6 KBytes > [  5]   9.00-10.00  sec  55.3 MBytes   464 Mbits/sec    0   65.6 KBytes > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval           Transfer     Bitrate         Retr > [  5]   0.00-10.00  sec   546 MBytes   458 Mbits/sec    0             sender > [  5]   0.00-10.00  sec   545 MBytes   457 Mbits/sec > receiver** > > ** > ** > > **regards,** > > **Simon > ** > > ** > ** which stmac device are you talking about? its not your windows pc. if its a ipq8064 based device or something like that you should look on a very different location. this platform like the r7800 has stmac performance problems since the kernel clk code for this device is lets say "very wrong". so alot of clocks arent correct and so the ethernet performance will suffer. i can tell you that i'm able to get 930 mbit on a stmmac based device. but as i said. the kernel needs other numerous fixes to get a good performance root@TEW827:~# iperf3 -c 10.88.193.134 -i 1 Connecting to host 10.88.193.134, port 5201 [  5] local 10.88.193.90 port 36024 connected to 10.88.193.134 port 5201 [ ID] Interval           Transfer     Bitrate         Retr  Cwnd [  5]   0.00-1.00   sec   108 MBytes   903 Mbits/sec    0   5.17 MBytes [  5]   1.00-2.00   sec   112 MBytes   943 Mbits/sec    0   5.17 MBytes [  5]   2.00-3.00   sec   109 MBytes   913 Mbits/sec    0   6.02 MBytes [  5]   3.00-4.00   sec   112 MBytes   944 Mbits/sec    0   6.02 MBytes [  5]   4.00-5.00   sec   109 MBytes   910 Mbits/sec    1   6.02 MBytes [  5]   5.00-6.00   sec   111 MBytes   935 Mbits/sec    0   6.02 MBytes [  5]   6.00-7.00   sec   109 MBytes   912 Mbits/sec    1   6.02 MBytes ^C[  5]   7.00-7.51   sec  56.2 MBytes   935 Mbits/sec    0   6.02 MBytes > >