Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: nic_swsd@realtek.com, romieu@fr.zoreil.com, netdev@vger.kernel.org
Subject: Re: Extremely bad performance with RTL8111/8168B
Date: Mon, 08 Jul 2013 06:47:49 -0700	[thread overview]
Message-ID: <1373291269.4979.102.camel@edumazet-glaptop> (raw)
In-Reply-To: <20130708095459.GA29788@amd.pavel.ucw.cz>

On Mon, 2013-07-08 at 11:54 +0200, Pavel Machek wrote:
> Hi!
> 
> I've small Intel desktop with RTL8111/8168B ethernet... but the
> performance is extremely bad.
> 
> In 3.10, I only get about 200KB/sec:
> 
> pavel@amd:~$ scp /tmp/delme pavel@duo:/tmp
> pavel@duo's password: 
> delme                                               100%   16MB
> 236.0KB/s   01:09    
> 
> In older version, I get 1MB/s, but network fails every 10 minutes or
> so. Card is:
> 
> 03:00.0 Ethernet controller: Realtek Semiconductor Co.,
> Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
> 
> I did install firmware-realtek package as suggested by debian
> installer.
> 
> Dmesg says:
> 
> r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> r8169 0000:03:00.0 eth0: RTL8168d/8111d at 0xf8010000,
> 00:27:0e:2a:43:71, XID 081000c0 IRQ 17
> r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx
> checksumming: ko]
> 
> Any ideas what is wrong?

Hi Pavel

I guess receiving is OK ?

It looks like TSO packets are not transmitted, so TCP only 'works'
because retransmits use non TSO packets.

Could you report "ethtool -k eth0" ?

try : ethtool -K eth0 tso off

  reply	other threads:[~2013-07-08 13:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08  9:54 Extremely bad performance with RTL8111/8168B Pavel Machek
2013-07-08 13:47 ` Eric Dumazet [this message]
2013-07-08 22:01   ` Francois Romieu
2013-07-09  0:09     ` Pavel Machek
2013-07-09  0:12       ` Eric Dumazet
2013-07-09  9:32         ` Pavel Machek
2013-07-09 23:29           ` Ben Hutchings
2013-07-09  0:24       ` Pavel Machek
2013-07-09  2:24     ` hayeswang
2013-07-10 13:41   ` Pavel Machek
2013-07-10 19:29     ` Francois Romieu
2013-07-11  0:24       ` Pavel Machek

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=1373291269.4979.102.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    --cc=pavel@ucw.cz \
    --cc=romieu@fr.zoreil.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox