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.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=unavailable 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 2C608C43444 for ; Thu, 17 Jan 2019 21:24:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED47220855 for ; Thu, 17 Jan 2019 21:24:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CXqUXrj2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED47220855 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=fMkHoZEsmT7Bc9UqTtA5VNPL7VcUQPZ4k8tIttY74kk=; b=CXqUXrj2NPgJ6KB5ob+0ZsaFdN Wzkri2Pgx3Jbl4Uiq3ePLu4dniksFLKX5ePuuH4rE2owzSxzYHqSGB9nppM8tsvb+ygkb2WImqsRL xfZKvrHoVrfrAotjYtB1KZccUTewZYXSG/8YPEgooq3HNbXfM6rfZ72xiPUu3GWMWBvJfJCYsK2Rd gUN/yGtC9hhG7c0c3y8pg1In1UhPfrfMrqmoqFfbfeaLE+TPMk8nmetohCq1vFjgid5IHKHdkN6LT Zlxf4rgrhMcVnAqPwZtr729sJuztaRq7k879QkXkzaEiUb4Lb6WyxEhja/e3K/C6pX2kyVJTPeNRx Iw3/JMVQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkF8v-0007Iy-Qt; Thu, 17 Jan 2019 21:24:05 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkF8s-0007IE-W4 for linux-amlogic@lists.infradead.org; Thu, 17 Jan 2019 21:24:04 +0000 Received: from [10.10.11.100] ([95.88.178.171]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MbsV8-1gUE9t1YNq-00JIAU; Thu, 17 Jan 2019 22:23:55 +0100 Subject: Re: stmmac / meson8b-dwmac To: martin.blumenstingl@googlemail.com, linux-amlogic@lists.infradead.org, netdev@vger.kernel.org, Gpeppe.cavallaro@st.com, alexandre.torgue@st.com References: From: Simon Huelck Openpgp: preference=signencrypt Autocrypt: addr=simonmail@gmx.de; prefer-encrypt=mutual; keydata= mQGiBD/bCNARBACE3URTBXZ/AA03NwRNtz03ewQn3uhvYSTjfqgplBtb3dfC4a79BXDRIWVX xPGH9Ewios1c8gMu3/RI2l3JzXoISfw5b0L/5igyPKV+sGuUA2FD27kYtPaaF/TqEWIv+Yxp 9DCjCX5IQSYyvCfcxcyEkY8eVWxnaAlV3zKRR8wn0wCglWIOtAugBc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yDm63+7aMAs8uMFQ5OLrE+XqM 00Y2lGI/uv2dDHZMLpppnpuPOovOrc4zezPbTdHDNAAsK60WJWvUFfXBahQDEpaoXwrFgCaJT awx6gBwdElmn3FSfWymENaUk3ggTpUW/wnwX9/n23xQII8RMWIrSxf7r94wjMYBL8KH3NYPfG AF4JlgUC0ucWTnMj9p9dL/l69//b3vNFV/+NoL56eFPUYfrNZD0NVhBb+Rxbl2DEVOAlPrzqp bmTJVQ1qoig== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190117_132403_330412_CBCC0B93 X-CRM114-Status: GOOD ( 19.11 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Am 17.01.2019 um 21:57 schrieb Martin Blumenstingl: > Hi Simon, > > On Thu, Jan 17, 2019 at 7:53 PM Simon Huelck wrote: >> Hi Martin, >> >> >> deutsch ? > theoretisch: ja, das endet bei mir aber in einem komischen Mix aus > deutsch und englisch, von daher... > >> I got problems with my ODROID c2 running on 4.19.16 ( and some releases >> earlier ). the stmmac / dwmac driver doesnt provide the 800M/900M >> performance that i was used to earlier. >> >> >> Now im stuck near 550M/600M in the same environment. but what really >> confuses me that duplex does hurt even more. > interesting that you see this on the Odroid-C2 as well. > previously I have only observed it on an Odroid-C1 > >> PC --- VLAN3 --> switch --VLAN3--> ODROID >> >> NAS <-- VLAN1 -- switch <-- VLAN1-- ODROID >> >> >> this means when im doing a iperf from PC to NAS, that my ODROID has load >> on RX/TX same time (duplex). this shouldnt be an issue , all is 1GBits >> FD. And in the past that wasnt an issue. >> >> >> Now what happens: >> >> - benchmark between PC - ODROID is roughly 550M >> >> - benchmark between NAS - ODROID is roughly 550M >> >> - benchmark between PC - NAS is only around 300M >> >> >> and like i said i was easliy able to hit 800 or even 900M to my NAS >> earlier. I applied some .dtb fixes for interrupt levels for the >> meson-gx.dtsi and meson-gxbb-odroid-c2.dtb, which will be mainlined , >> but the effect stayed identical. > good that you have the interrupt patches already applied > I believe it don't fix any performance issues - it's a fix for the > Ethernet controller seemingly getting "stuck" (not processing data > anymore). however, that already rules out one potential issue > >> are you aware of this problem ? Earlier kernel versions were all >> perfectly fine and i stepped ( self compiled) kernel through all major >> releases since odroid c2 was mainlined. > I'm not aware of this - so it would be great if you could re-send your mail to: > - the mainline Amlogic mailing list at: linux-amlogic@lists.infradead.org > - the netdev mailing list (where all the networking people discuss > their issues): netdev@vger.kernel.org > - the stmmac maintainers: Gpeppe.cavallaro@st.com, > alexandre.torgue@st.com, joabreu@synopsys.com ok , will do so > > it's great that you stepped through various releases in the past. > you can even help us to get closer to the root cause of the problem > using git bisect. in case you haven't used git bisect yet:: > - git bisect start > - git bisect good v4.18 (assuming v4.18 was good) > - git bisect bad v4.19 (assuming v4.19 is bad) > - the repeat the following: > -- (git will checkout a different revision and ask you to test it) > -- compile, boot the kernel and test whether your problem still exists > -- enter either "git bisect good", "git bisect bad" or "git bisect > skip" (for example if the revision doesn't compile, your board doesn't > start with it, ...) > > git bisect will output one commit which is likely to be the cause (or > at least a puzzle piece which points to the root cause) the problem is that i dont have these kernel sources anymore :-(. but i can provide some testing and numbers. maybe i dig if i got these kernel configs somewhere around but i did not change much during migrating im using a zyxel gs1900-8 switch and a qnap ts231p , and as i said i didnt change my setup. i was able to hit 100MByte/s from my NAS , so close to the benchmarks of 900MBit/s > > > Regards > Martin _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic