This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Epic Failure - RTL 8169 Regression

Hello, 

I was using 7.5.x with 4 RTL 8169 cards and getting excellent performance.

After my upgrade to 8.002 (via reinstall), 8.003, and now 8.100

I have terrible performance issues receiving on the network cards.  This seems to be a known issue with the 2.6.32 kernel (per google).  It seem that the astaro kernel lacks the patched r8169 kernel module.

I compiled a static iperf to drop on the astaro server via the loginuser.

From the iperf results below, I can send to the firewall at about 3.17 mbits/sec, while I can receive from the firewall at about 340 mbits/sec.  Well over a factor of 100x difference.

I have changed, network cables, network switches, switch ports.

Find below,  iperf output for the client and firewall, iperf output for the client accessing another server on the same switch, ethtool output, lspci, etc.

Is anyone else experiencing this sort of epic failure with the 8.x series?

Does anyone have any suggestions?  All of my google found attempts have failed thus far.

ON THE FIREWALL (iperf is running as a server on the firewall):

loginuser@fw5:/home/login > ./iperf -s -B 192.168.25.250
------------------------------------------------------------
Server listening on TCP port 5001
Binding to local address 192.168.25.250
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.25.250 port 5001 connected with 192.168.25.32 port 43629
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-12.9 sec  4.88 MBytes  3.17 Mbits/sec
bind failed: Address already in use
------------------------------------------------------------
Client connecting to 192.168.25.32, TCP port 5001
Binding to local address 192.168.25.250
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  4] local 192.168.25.250 port 35648 connected with 192.168.25.32 port 5001
[  4]  0.0-12.0 sec   492 MBytes   343 Mbits/sec


ON THE CLIENT machine (iperf is running as a client and configured for bidirectional testing):
donavan@moose:~ >iperf -c 192.168.25.250 -r -i 3 -t 12
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.25.250, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  5] local 192.168.25.32 port 43629 connected with 192.168.25.250 port 5001
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0- 3.0 sec  1.50 MBytes  4.19 Mbits/sec
[  5]  3.0- 6.0 sec  1.38 MBytes  3.84 Mbits/sec
[  5]  6.0- 9.0 sec  1.00 MBytes  2.80 Mbits/sec
[  5]  9.0-12.0 sec   896 KBytes  2.45 Mbits/sec
[  5]  0.0-12.9 sec  4.88 MBytes  3.17 Mbits/sec
[  4] local 192.168.25.32 port 5001 connected with 192.168.25.250 port 35648
[  4]  0.0- 3.0 sec   129 MBytes   360 Mbits/sec
[  4]  3.0- 6.0 sec   127 MBytes   355 Mbits/sec
[  4]  6.0- 9.0 sec   122 MBytes   341 Mbits/sec
[  4]  9.0-12.0 sec   113 MBytes   317 Mbits/sec
[  4]  0.0-12.0 sec   492 MBytes   343 Mbits/sec

ON THE CLIENT machine accessing a different server on the same network (iperf is running as a client and configured for bidirectional testing):

donavan@moose:~ >iperf -c 192.168.25.68 -r -i 3 -t 12
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.25.68, TCP port 5001
TCP window size: 71.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.25.32 port 52489 connected with 192.168.25.68 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 3.0 sec   335 MBytes   938 Mbits/sec
[  3]  3.0- 6.0 sec   337 MBytes   942 Mbits/sec
[  3]  6.0- 9.0 sec   336 MBytes   941 Mbits/sec
[  3]  9.0-12.0 sec   336 MBytes   941 Mbits/sec
[  3]  0.0-12.0 sec  1.31 GBytes   940 Mbits/sec
[  5] local 192.168.25.32 port 5001 connected with 192.168.25.68 port 48651
[  5]  0.0- 3.0 sec   237 MBytes   662 Mbits/sec
[  5]  3.0- 6.0 sec   258 MBytes   721 Mbits/sec
[  5]  6.0- 9.0 sec   228 MBytes   637 Mbits/sec
[  5]  9.0-12.0 sec   245 MBytes   686 Mbits/sec
[  5]  0.0-12.0 sec   968 MBytes   676 Mbits/sec


fw5:/root # lspci -v


00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        I/O ports at d400 [size=256]
        Memory at cfffbf00 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at cffc0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: r8169
        Kernel modules: r8169

00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        I/O ports at d000 [size=256]
        Memory at cfffbe00 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at cffa0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: r8169
        Kernel modules: r8169

00:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
        I/O ports at cc00 [size=256]
        Memory at cfffbd00 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at cff80000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: r8169
        Kernel modules: r8169


fw5:/root # ifconfig eth2

eth2      Link encap:Ethernet  HWaddr 00:06:4F:26:15:A4  
          inet addr:192.168.25.250  Bcast:192.168.25.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:897491 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1494950 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:76044723 (72.5 Mb)  TX bytes:1905485388 (1817.2 Mb)
          Interrupt:16 Base address:0x6f00 


fw5:/root # ethtool eth2

Settings for eth2:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
        Link detected: yes

fw5:/root # dmesg

[    3.648512] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    3.648595] r8169 0000:00:05.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    3.648661] r8169 0000:00:05.0: PCI: Disallowing DAC for device
[    3.648724] r8169 0000:00:05.0: no PCI Express capability
[    3.648893] eth2: RTL8110s at 0xffffc900001a6f00, 00:06:4f:26:15:a4, XID 04000000 IRQ 16


Can I provide anything else of value?


This thread was automatically locked due to age.