All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Vrany <jan.vrany@fit.cvut.cz>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: linux-riscv@lists.infradead.org, Boris Shingarov <boris@shingarov.com>
Subject: Re: Ethernet performance issue on HiFive Unleashed with kernel 4.20
Date: Tue, 15 Jan 2019 09:20:16 +0000	[thread overview]
Message-ID: <5dbe411eecfed2a1bb60db4afd65265904111604.camel@fit.cvut.cz> (raw)
In-Reply-To: <878szneeao.fsf@igel.home>

On Mon, 2019-01-14 at 11:14 +0100, Andreas Schwab wrote:
> I have already moved to 5.0-rc1, so here is the updated config.
> 

Thabks a lot! 

I think I found the problem.. The issue  was that RX/TX rings were
for some reason too small: 

root@unleashed:~# ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:
RX:             8192
RX Mini:        0
RX Jumbo:       0
TX:             4096
Current hardware settings:
RX:             512
RX Mini:        0
RX Jumbo:       0
TX:             512

Setting them to max before bringing the interface up
seem to solve the problem:

ethtool -G eth0 rx 8192
ethtool -G eth0 tx 4096

Thanks for your help! 

Jan


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2019-01-15  9:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-11 12:12 Ethernet performance issue on HiFive Unleashed with kernel 4.20 Jan Vrany
2019-01-11 13:15 ` Andreas Schwab
2019-01-13 23:03   ` Jan Vrany
2019-01-14 10:14     ` Andreas Schwab
2019-01-15  9:20       ` Jan Vrany [this message]
2019-01-15 19:57         ` Andreas Schwab

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=5dbe411eecfed2a1bb60db4afd65265904111604.camel@fit.cvut.cz \
    --to=jan.vrany@fit.cvut.cz \
    --cc=boris@shingarov.com \
    --cc=linux-riscv@lists.infradead.org \
    --cc=schwab@linux-m68k.org \
    /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.