frank@frank-G5-U20:~
$ iperf3 -c 192.168.0.11 -R
Connecting to host 192.168.0.11, port 5201
Reverse mode, remote host 192.168.0.11 is sending
[ 5] local 192.168.0.21 port 43304 connected to 192.168.0.11 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 112 MBytes 937 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 939 Mbits/sec
[ 5] 2.00-3.00 sec 112 MBytes 939 Mbits/sec
[ 5] 3.00-4.00 sec 112 MBytes 939 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 939 Mbits/sec
[ 5] 5.00-6.00 sec 112 MBytes 939 Mbits/sec
[ 5] 6.00-7.00 sec 112 MBytes 939 Mbits/sec
[ 5] 7.00-8.00 sec 112 MBytes 939 Mbits/sec
[ 5] 8.00-9.00 sec 112 MBytes 939 Mbits/sec
[ 5] 9.00-10.00 sec 112 MBytes 939 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.09 GBytes 939 Mbits/sec receiver
iperf Done.
frank@frank-G5-U20:~
$ iperf3 -c 192.168.0.11
Connecting to host 192.168.0.11, port 5201
[ 5] local 192.168.0.21 port 43308 connected to 192.168.0.11 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 957 Mbits/sec 0 373 KBytes
[ 5] 1.00-2.00 sec 93.6 MBytes 785 Mbits/sec 0 619 KBytes
[ 5] 2.00-3.00 sec 91.2 MBytes 765 Mbits/sec 0 619 KBytes
[ 5] 3.00-4.00 sec 91.2 MBytes 765 Mbits/sec 0 619 KBytes
[ 5] 4.00-5.00 sec 91.1 MBytes 764 Mbits/sec 0 714 KBytes
[ 5] 5.00-6.00 sec 91.2 MBytes 765 Mbits/sec 0 714 KBytes
[ 5] 6.00-7.00 sec 91.2 MBytes 765 Mbits/sec 0 714 KBytes
[ 5] 7.00-8.00 sec 92.5 MBytes 776 Mbits/sec 0 714 KBytes
[ 5] 8.00-9.00 sec 91.2 MBytes 765 Mbits/sec 0 714 KBytes
[ 5] 9.00-10.00 sec 91.2 MBytes 765 Mbits/sec 0 714 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 939 MBytes 787 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 933 MBytes 782 Mbits/sec receiver
iperf Done.
frank@frank-G5-U20:~
$ uname -a
Linux frank-G5-U20 5.4.52-custom #1 SMP Thu Jul 16 19:16:51 CEST 2020 x86_64
x86_64 x86_64 GNU/Linux
frank@frank-G5-U20:~
$ cat /etc/issue
Ubuntu 20.04 LTS \n \l
frank@frank-G5-U20:~
$ ethtool -S enp3s0
NIC statistics:
tx_packets: 1085630
rx_packets: 844392
tx_errors: 0
rx_errors: 0
rx_missed: 0
align_errors: 0
tx_single_collisions: 0
tx_multi_collisions: 0
unicast: 844390
broadcast: 1
multicast: 1
tx_aborted: 0
tx_underrun: 0
frank@frank-G5-U20:~
$
other side:
root@bpi-r2:~# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.0.21, port 43302
[ 5] local 192.168.0.11 port 5201 connected to 192.168.0.21 port 43304
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 113 MBytes 947 Mbits/sec 0 460 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 937 Mbits/sec 0 460 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 937 Mbits/sec 0 460 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 942 Mbits/sec 0 460 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 938 Mbits/sec 0 460 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 937 Mbits/sec 0 460 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 941 Mbits/sec 0 460 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 937 Mbits/sec 0 460 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 940 Mbits/sec 0 460 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 942 Mbits/sec 0 460 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec 0 sender
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.0.21, port 43306
[ 5] local 192.168.0.11 port 5201 connected to 192.168.0.21 port 43308
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 112 MBytes 936 Mbits/sec
[ 5] 1.00-2.00 sec 90.1 MBytes 755 Mbits/sec
[ 5] 2.00-3.00 sec 91.5 MBytes 768 Mbits/sec
[ 5] 3.00-4.00 sec 91.5 MBytes 767 Mbits/sec
[ 5] 4.00-5.00 sec 91.2 MBytes 765 Mbits/sec
[ 5] 5.00-6.00 sec 90.9 MBytes 763 Mbits/sec
[ 5] 6.00-7.00 sec 91.4 MBytes 766 Mbits/sec
[ 5] 7.00-8.00 sec 92.1 MBytes 774 Mbits/sec
[ 5] 8.00-9.00 sec 91.5 MBytes 767 Mbits/sec
[ 5] 9.00-10.00 sec 90.9 MBytes 762 Mbits/sec
[ 5] 10.00-10.00 sec 128 KBytes 390 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 933 MBytes 782 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
root@bpi-r2:~# ethtool -S lan0
NIC statistics:
tx_packets: 49451
tx_bytes: 1177731402
rx_packets: 1083602
rx_bytes: 1037301402
TxDrop: 0
TxCrcErr: 0
TxUnicast: 842424
TxMulticast: 26
TxBroadcast: 4
TxCollision: 0
TxSingleCollision: 0
TxMultipleCollision: 0
TxDeferred: 1
TxLateCollision: 0
TxExcessiveCollistion: 0
TxPause: 10
TxPktSz64: 23
TxPktSz65To127: 31343
TxPktSz128To255: 0
TxPktSz256To511: 2
TxPktSz512To1023: 0
Tx1024ToMax: 811096
TxBytes: 1233440386
RxDrop: 0
RxFiltering: 0
RxMulticast: 430
RxBroadcast: 24
RxAlignErr: 0
RxCrcErr: 0
RxUnderSizeErr: 0
RxFragErr: 0
RxOverSzErr: 0
RxJabberErr: 0
RxPause: 0
RxPktSz64: 355
RxPktSz65To127: 404171
RxPktSz128To255: 324
RxPktSz256To511: 667
RxPktSz512To1023: 1194
RxPktSz1024ToMax: 676891
RxBytes: 1056806238
RxCtrlDrop: 0
RxIngressDrop: 0
RxArlDrop: 0
root@bpi-r2:~#
so i have no retransmitts with custom kernel, only a limited bandwidth
if i start iperf3 on the affected client in non-reversed-mode (TX of
affected ethernet-card).
bpi-r2 is the same device i made test in starting post...
to be exact i made same test as in opening post (server on "broken" client,
client on external device):
root@bpi-r2:~# iperf3 -c 192.168.0.21
Connecting to host 192.168.0.21, port 5201
[ 5] local 192.168.0.11 port 49048 connected to 192.168.0.21 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 113 MBytes 947 Mbits/sec 0 430 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 939 Mbits/sec 0 430 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 939 Mbits/sec 0 430 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 939 Mbits/sec 0 430 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 937 Mbits/sec 0 457 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 941 Mbits/sec 0 478 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 941 Mbits/sec 0 478 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 938 Mbits/sec 0 478 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 938 Mbits/sec 0 502 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 939 Mbits/sec 0 526 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.09 GBytes 939 Mbits/sec receiver
iperf Done.
will try booting the ubuntu-kernel with the params you mentioned...
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1880076
Title:
ubuntu 20.4 - retransmitts with r8169
Status in linux package in Ubuntu:
Incomplete
Bug description:
Hi,
i run some network-tests (iperf3) and noticed massive retransmitts in
ubuntu 20.4 with kernel 5.4.0-29. I'm using module r8169 for network-
adapter
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
if i boot my ubuntu 18.4 and did same iperf-test (same hardware, same
network configuration, other client is not rebooted) i have not these
retransmitts.
root@bpi-r2:~# iperf3 -c 192.168.0.21
Connecting to host 192.168.0.21, port 5201
[ 5] local 192.168.0.11 port 35702 connected to 192.168.0.21 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 14.2 MBytes 119 Mbits/sec 337 14.1 KBytes
[ 5] 1.00-2.00 sec 14.9 MBytes 125 Mbits/sec 331 14.1 KBytes
[ 5] 2.00-3.00 sec 15.1 MBytes 126 Mbits/sec 296 19.8 KBytes
[ 5] 3.00-4.00 sec 14.7 MBytes 124 Mbits/sec 314 14.1 KBytes
[ 5] 4.00-5.00 sec 12.8 MBytes 107 Mbits/sec 259 14.1 KBytes
[ 5] 5.00-6.01 sec 67.4 MBytes 560 Mbits/sec 137 362 KBytes
[ 5] 6.01-7.00 sec 111 MBytes 940 Mbits/sec 0 366 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 941 Mbits/sec 0 409 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 940 Mbits/sec 0 421 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 936 Mbits/sec 0 426 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 586 MBytes 491 Mbits/sec 1674 sender
[ 5] 0.00-10.01 sec 585 MBytes 491 Mbits/sec
receiver
iperf Done.
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
link/ether e4:b9:7a:f7:c4:8b brd ff:ff:ff:ff:ff:ff
inet 192.168.0.21/24 brd 192.168.0.255 scope global dynamic noprefixroute
enp3s0
valid_lft 171856sec preferred_lft 171856sec
inet6 fe80::781a:829f:5030:ad6a/64 scope link noprefixroute
valid_lft forever preferred_lft forever
$ ethtool -S enp3s0
NIC statistics:
tx_packets: 571053
rx_packets: 1184934
tx_errors: 0
rx_errors: 0
rx_missed: 1919 <<<<<<<<<<<<<<<<<<<<<<<<<<<
align_errors: 0
tx_single_collisions: 0
tx_multi_collisions: 0
unicast: 1184926
broadcast: 6
multicast: 2
tx_aborted: 0
tx_underrun: 0
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether e4:b9:7a:f7:c4:8b brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
1785166133 1184970 0 0 0 2
TX: bytes packets errors dropped carrier collsns
39395440 570500 0 0 0 0
on the other side i see dropped packets, maybe flowcontrol-related?
ethtool reports "Link partner advertised pause frame use: Symmetric"
but maybe flowcontrol is not working...
also driver reports flowcontrol is enabled...
$ dmesg | grep r8169
[ 0.939358] libphy: r8169: probed
[ 0.939491] r8169 0000:03:00.0 eth0: RTL8168h/8111h, e4:b9:7a:f7:c4:8b,
XID 541, IRQ 128
[ 0.939492] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes,
tx checksumming: ko]
[ 0.986853] r8169 0000:03:00.0 enp3s0: renamed from eth0
[ 3.478981] Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver
[Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
[ 3.591124] r8169 0000:03:00.0 enp3s0: Link is Down
[ 7.171198] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow
control rx/tx
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-29-generic 5.4.0-29.33
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: frank 1427 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: GNOME-Flashback:GNOME
Date: Fri May 22 06:49:34 2020
InstallationDate: Installed on 2020-04-27 (24 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Dell Inc. G5 5590
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-29-generic
root=UUID=7c9113b7-ca65-4c46-9435-f5d2b73bab72 ro quiet
RelatedPackageVersions:
linux-restricted-modules-5.4.0-29-generic N/A
linux-backports-modules-5.4.0-29-generic N/A
linux-firmware 1.187
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/07/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.12.0
dmi.board.name: 0KW84T
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.12.0:bd02/07/2020:svnDellInc.:pnG55590:pvr:rvnDellInc.:rn0KW84T:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: GSeries
dmi.product.name: G5 5590
dmi.product.sku: 08EA
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1880076/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp