All of lore.kernel.org
 help / color / mirror / Atom feed
From: "André Roth" <neolynx@gmail.com>
To: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	<netdev@vger.kernel.org>, <linux-amlogic@lists.infradead.org>,
	Alexandre Torgue <alexandre.torgue@st.com>
Subject: Re: stmmac/RTL8211F/Meson GXBB: TX throughput problems
Date: Sun, 18 Sep 2016 22:42:40 +0200	[thread overview]
Message-ID: <20160918224240.0bf5a9ed@gmail.com> (raw)
In-Reply-To: <ce15ad26-2d07-655d-b813-947ad86696ac@st.com>


Hello,

> For example, you could try disabling the scatter-gather or tx-cum
> via ethtool and seeing if there is some benefit; so we could image
> some problem on your HW or SYNP MAC integration for checksumming
> on tx side.

disabling the following: 
  ethtool -K eth0 sg off    
or:
  ethtool -K eth0 tx off    
does not prevent the network communication going down..

> Also you could check the AXI tuning and PBL value. To be honest
> (thinking about your problem) I can actually suspect some related
> problem on bus setup. So I suggest you to play with these value
> (better if you ask for having values from HW validation on your side).
> Otherwise the stmmac uses a default that cannot be good for your
> platform. For example, sometime I have seen that PBL is better if
> reduced to 8 instead of 32 and w/o 4xPBL...

how can I set those values ?

thanks for your time,

 andre

WARNING: multiple messages have this Message-ID (diff)
From: neolynx@gmail.com (André Roth)
To: linus-amlogic@lists.infradead.org
Subject: stmmac/RTL8211F/Meson GXBB: TX throughput problems
Date: Sun, 18 Sep 2016 22:42:40 +0200	[thread overview]
Message-ID: <20160918224240.0bf5a9ed@gmail.com> (raw)
In-Reply-To: <ce15ad26-2d07-655d-b813-947ad86696ac@st.com>


Hello,

> For example, you could try disabling the scatter-gather or tx-cum
> via ethtool and seeing if there is some benefit; so we could image
> some problem on your HW or SYNP MAC integration for checksumming
> on tx side.

disabling the following: 
  ethtool -K eth0 sg off    
or:
  ethtool -K eth0 tx off    
does not prevent the network communication going down..

> Also you could check the AXI tuning and PBL value. To be honest
> (thinking about your problem) I can actually suspect some related
> problem on bus setup. So I suggest you to play with these value
> (better if you ask for having values from HW validation on your side).
> Otherwise the stmmac uses a default that cannot be good for your
> platform. For example, sometime I have seen that PBL is better if
> reduced to 8 instead of 32 and w/o 4xPBL...

how can I set those values ?

thanks for your time,

 andre

  reply	other threads:[~2016-09-18 20:42 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 20:39 stmmac/RTL8211F/Meson GXBB: TX throughput problems Martin Blumenstingl
2016-09-11 20:39 ` Martin Blumenstingl
2016-09-12 16:37 ` Alexandre Torgue
2016-09-12 16:37   ` Alexandre Torgue
2016-09-12 21:26   ` Martin Blumenstingl
2016-09-12 21:26     ` Martin Blumenstingl
2016-09-17 21:23     ` André Roth
2016-09-17 21:23       ` André Roth
2016-09-26  6:17       ` Giuseppe CAVALLARO
2016-09-26  6:17         ` Giuseppe CAVALLARO
2016-10-01 15:58         ` Martin Blumenstingl
2016-10-01 15:58           ` Martin Blumenstingl
2016-11-03 16:36           ` Jerome Brunet
2016-11-03 16:36             ` Jerome Brunet
2016-11-05 12:20             ` Martin Blumenstingl
2016-11-05 12:20               ` Martin Blumenstingl
2016-11-13 19:20             ` André Roth
2016-11-13 19:20               ` André Roth
     [not found] ` <216F2694-1C1D-44DA-AC15-57ED15C24BBE@bluematt.me>
2016-09-12 21:29   ` Martin Blumenstingl
2016-09-12 21:29     ` Martin Blumenstingl
2016-09-14 15:30 ` Giuseppe CAVALLARO
2016-09-14 15:30   ` Giuseppe CAVALLARO
2016-09-18 20:42   ` André Roth [this message]
2016-09-18 20:42     ` André Roth
2016-09-19  5:38     ` Giuseppe CAVALLARO
2016-09-19  5:38       ` Giuseppe CAVALLARO
2016-10-01 20:15   ` Martin Blumenstingl
2016-10-01 20:15     ` Martin Blumenstingl
2016-10-01 20:40     ` Martin Blumenstingl
2016-10-01 20:40       ` Martin Blumenstingl
2016-10-31 10:25     ` André Roth
2016-10-31 10:25       ` André Roth
2016-11-03 16:57       ` Jerome Brunet
2016-11-03 16:57         ` Jerome Brunet
2016-11-07 10:59         ` Giuseppe CAVALLARO
2016-11-07 10:59           ` Giuseppe CAVALLARO
2016-11-07 17:37           ` Martin Blumenstingl
2016-11-07 17:37             ` Martin Blumenstingl
2016-11-14  7:47             ` Giuseppe CAVALLARO
2016-11-14  7:47               ` Giuseppe CAVALLARO
2016-11-14 11:02               ` Jerome Brunet
2016-11-14 11:02                 ` Jerome Brunet
2016-11-14 15:00             ` Andreas Färber
2016-11-14 15:00               ` Andreas Färber
2016-11-15 11:27               ` Jerome Brunet
2016-11-15 11:27                 ` Jerome Brunet
2016-11-13 19:13         ` André Roth
2016-11-13 19:13           ` André Roth
2016-11-14 10:49           ` Jerome Brunet
2016-11-14 10:49             ` Jerome Brunet
2016-11-17 18:44             ` André Roth
2016-11-17 18:44               ` André Roth
2016-11-17 21:47               ` Jerome Brunet
2016-11-17 21:47                 ` Jerome Brunet
2016-10-01 20:26   ` Martin Blumenstingl
2016-10-01 20:26     ` Martin Blumenstingl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160918224240.0bf5a9ed@gmail.com \
    --to=neolynx@gmail.com \
    --cc=alexandre.torgue@st.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.