大网数据广告活动
服务器运维问答

meaning of rx_queue_*_csum_err and rx_fifo_errors

· 52CE 我爱测

I am trying to debug some networking issue with one server. I monitor this machine with multiple monitors and I see that at times ping error rate jumps to 5/10% I am running on ubuntu and I see that the output of ethtool -S eth0 …

问题原文

原帖链接 · Tommaso Barbugli · CC BY-SA 3.0

I am trying to debug some networking issue with one server. I monitor this machine with multiple monitors and I see that at times ping error rate jumps to 5/10%

I am running on ubuntu and I see that the output of ethtool -S eth0 shows positive values for rx_queue_*_csum_errboth rx_fifo_errors (a few thousands).

What do this counters actually track, are there any very well known causes for them to be non 0?

已采纳解答

原帖链接 · Signal15 · CC BY-SA 3.0

rx_fifo_errors = Total number of rx_queue_*_drops

rx_queue_*_drops = Number of dropped packets per queue

Sounds like the RX interrupts aren't allocating buffers fast enough, resulting in the adapter dropping packets.

Check and increase the ring buffer.

# ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:
RX:        4096
RX Mini:      0
RX Jumbo:     0
TX:        4096
Current hardware settings:
RX:         256
RX Mini:      0
RX Jumbo:     0
TX:         256

You can set your "Current Hardware Settings" for "RX" up to the limit shown in the "Pre-set maximums"

# ethtool -G eth0 rx 4096

NOTE: This setting will not survive a reboot. You may want to use rc.local (or something similar)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-12-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。