Network errors: Rx_missed ?

  • Hi,


    I have just noticed that my NAS network card is getting some rx_missed errors, increasing quickly under heavy load from my PC to the NAS (1 Gb/s link through a Netgear switch between the 2).



    But when I check the stats with ifconfig or other... no errors




    Network chipset on the motherboard is a Realtec


    Any idea ?


    Cheers

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

    2 Mal editiert, zuletzt von sbocquet ()

  • So after some more tests, the rx_missed increase under heavy load (file copy through SMB for example), or PC backup with UrBackup.
    If the NAS network isn't stressed (SSH, SFTP transfert...), the number stay stable. That's logical as the rx_missed is define as:


    "Total of RX packets dropped by the HW, because there are no available buffer (i.e. RX queues are full).
    The main reason for full RX queues is a "slow" application, which is not able to process packets in a rate they arrive on interface."

    I tried to tweak the network buffers but it doesn't seems to have an effect...


    Code
    # sysctl -p
    net.core.rmem_max = 12582912
    net.core.wmem_max = 12582912
    net.ipv4.tcp_rmem = 10240 87380 12582912
    net.ipv4.tcp_wmem = 10240 87380 12582912
    net.ipv4.tcp_window_scaling = 1
    net.ipv4.tcp_timestamps = 1
    net.ipv4.tcp_sack = 1
    net.core.netdev_max_backlog = 5000


    I don't know much about that, so if someone has a better understanding or knowledge, any help will be greatly appreciated.


    Thx

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • My NIC is a Realtek 8111b and it seems that this NIC could have some driver problems... so I follow this guide


    https://unixblogger.com/2011/1…111rtl8168-ethernet-card/


    The fact is that I have an error when compiling the kernel...



    Here is the log


    And some infos... The drivers is added but not installed


    How can I make it work ?


    Cheers,

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • That is a known bug...


    Took the one from buster


    https://packages.debian.org/buster/r8168-dkms


    ... and nothing change, except the transfert rate is more stable at max speed.

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

    Einmal editiert, zuletzt von sbocquet ()

  • So after upgraded the network card driver, I've made a lot of tests with Iperf for that problem recently (screenshots 1 & 2).



    The 9339 missed were from a previous test.


    The conclusion is that I have no error even at full Gb/s speed, even in multiple ways at the same time! I was thinking of perhaps a MTU problem but no... MTU is 1500 on both hardware (Win PC & NAS)



    The thing is that if I try to copy a 16G test file with FileZilla through SFTP, no errors (see attached screenshots 3) at near the same ‘full’ speed...


    But if I copy this same file to the NAS with a SMB share, there is a lot of rx_missed... From the NAS to the PC, no error at all.


    Could it be some sort of samba problem ???


    I'm totally lost with this...

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

    3 Mal editiert, zuletzt von sbocquet ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!