Search found 6 matches

by gffdeb
2024-08-03 12:52
Forum: System and Network configuration
Topic: [Closed] What exactly causes rx_drp counters to increment in netstat?
Replies: 11
Views: 2011

Re: What exactly causes rx_drp counters to increment in netstat?

I would not say sorted but I have pretty much given up on being able to fix it. Truenas frowns upon allowing dropwatch to be installed and after looking at the kernel parameters that I can tune I have not found a way to match those up with the counters. Luckily it is a very low rate of drops so I don't think its affecting performance. It's just my engineer brain wanting to know what causes it. Truenas will not even try to answer it as they just say thats an upstream Debian issue. Being that a ...
by gffdeb
2024-07-03 22:01
Forum: System and Network configuration
Topic: [Closed] What exactly causes rx_drp counters to increment in netstat?
Replies: 11
Views: 2011

Re: What exactly causes rx_drp counters to increment in netstat?

Thanks for the info, very helpful. I spent considerable time testing and adjusting a couple parameters to get the NIC driver to have zero errors and just didn't know where to go to look for the upstream drops. I will definitely check into dropwatch as well. I can't believe I forgot to attach my Debian version. Old age must be catching up with me. :)

admin@truenas[~]$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12 ...
by gffdeb
2024-07-02 23:58
Forum: System and Network configuration
Topic: [Closed] What exactly causes rx_drp counters to increment in netstat?
Replies: 11
Views: 2011

Re: What exactly causes rx_drp counters to increment in netstat?

Here is a text version of the above two commands I originally asked about showing the difference between rx_drops from netstat or ethtool. As you can see netstat reports 7 drops in this case where ethtool shows none. Hopefully somebody can explain why this happens.
admin@truenas[~]$ netstat -i
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
enp131s0f0 9000 486506766 0 7 0 433670599 0 0 0 BMRU
lo 65536 22677903 0 0 0 22677903 0 0 0 LRU
admin@truenas ...
by gffdeb
2024-06-27 03:39
Forum: System and Network configuration
Topic: [Closed] What exactly causes rx_drp counters to increment in netstat?
Replies: 11
Views: 2011

Re: What exactly causes rx_drp counters to increment in netstat?

Thanks for the detailed info. Apparently the attachment to my original post failed. And I can't add the screenshot to this one either as it says the board attachment quota has been reached. Sorry I am new to these forums so I don't know what I did wrong there. But really my question revolves around why the rx_drop counters from netstat for a paticular ethernet card are different from the ethtool statistics for the same ethernet card. In my case ethtool reports no drops of any kind but netstat ...
by gffdeb
2024-06-23 22:23
Forum: System and Network configuration
Topic: [Closed] What exactly causes rx_drp counters to increment in netstat?
Replies: 11
Views: 2011

[Closed] What exactly causes rx_drp counters to increment in netstat?

Have been spending a great deal of time debugging a 10G ethernet connection to my NAS. At first I was using netstat -i to fine tune interupt and buffer configs to get the link as solid as possible. I see on the forums that I should not trust the netstat results and to use ethtool which should be more accurate. But I still cant figure out why that is true or where the counters in netstat actually come from. See the screenshot attached where ethtool shows no issues but netstat shows 8 rx_drp's ...