sorry

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet 
Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: I/O ports at 3000 [size=256]
        Region 2: Memory at a4204000 (64-bit, non-prefetchable) [size=4K]
        Region 4: Memory at a4200000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v2) Endpoint, MSI 01
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, 
L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- 
SlotPowerLimit 10.000W
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 4096 bytes
                DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr+ 
TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit 
Latency L0s unlimited, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, 
NROPrPrP-, LTR+
                         10BitTagComp-, 10BitTagReq-, OBFF Via message/WAKE#, 
ExtFmt-, EETLPPrefix-
                         EmergencyPowerReduction Not Supported, 
EmergencyPowerReductionInit-
                         FRS-, TPHComp-, ExtTPHComp-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, 
OBFF Disabled
                         AtomicOpsCtl: ReqEn-
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, 
EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, 
EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, 
LinkEqualizationRequest-
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
                Vector table: BAR=4 offset=00000000
                PBA: BAR=4 offset=00000800
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
AdvNonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- 
AdvNonFatalErr+
                AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- 
ECRCChkCap+ ECRCChkEn-
                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                HeaderLog: 00000000 00000000 00000000 00000000
        Capabilities: [140 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status: NegoPending- InProgress-
        Capabilities: [160 v1] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170 v1] Latency Tolerance Reporting
                Max snoop latency: 3145728ns
                Max no snoop latency: 3145728ns
        Capabilities: [178 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ 
L1_PM_Substates+
                          PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
                L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1-
                           T_CommonMode=0us LTR1.2_Threshold=81920ns
                L1SubCtl2: T_PwrOn=150us
        Kernel driver in use: r8169
        Kernel modules: r8169

-- 
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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to