ipSystemStatsOutDiscards递增,但不是接口特定的计数器?

这是一个奇怪的。 我注意到我的一个名字服务器正在抱怨一些出站拥塞,而且似乎把我的出站path上的接口丢弃递增关联起来。 打开和closures,对不对? 当我仔细观察时,我注意到系统范围的计数器正在递增,但是每个接口计数器并不是:

# snmpbulkwalk -v2c -cexample localhost 1.3.6.1.2.1.4.31 | grep Discards IP-MIB::ipSystemStatsInDiscards.ipv4 = Counter32: 0 IP-MIB::ipSystemStatsInDiscards.ipv6 = Counter32: 0 IP-MIB::ipSystemStatsOutDiscards.ipv4 = Counter32: 14856 IP-MIB::ipSystemStatsOutDiscards.ipv6 = Counter32: 0 IP-MIB::ipIfStatsInDiscards.ipv6.1 = Counter32: 0 IP-MIB::ipIfStatsInDiscards.ipv6.2 = Counter32: 0 IP-MIB::ipIfStatsInDiscards.ipv6.3 = Counter32: 0 IP-MIB::ipIfStatsInDiscards.ipv6.4 = Counter32: 0 IP-MIB::ipIfStatsInDiscards.ipv6.5 = Counter32: 0 IP-MIB::ipIfStatsInDiscards.ipv6.6 = Counter32: 0 IP-MIB::ipIfStatsOutDiscards.ipv6.1 = Counter32: 0 IP-MIB::ipIfStatsOutDiscards.ipv6.2 = Counter32: 0 IP-MIB::ipIfStatsOutDiscards.ipv6.3 = Counter32: 0 IP-MIB::ipIfStatsOutDiscards.ipv6.4 = Counter32: 0 IP-MIB::ipIfStatsOutDiscards.ipv6.5 = Counter32: 0 IP-MIB::ipIfStatsOutDiscards.ipv6.6 = Counter32: 0 

我对这些计数器的理解是, SystemStats计数器反映了系统范围的统计(总计),但是在这里并不是这种情况。 MIB的一瞥似乎证实了我对这个问题的记忆:

 ipSystemStatsTable OBJECT-TYPE SYNTAX SEQUENCE OF IpSystemStatsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table containing system wide, IP version specific traffic statistics. This table and the ipIfStatsTable contain similar objects whose difference is in their granularity. Where this table contains system wide traffic statistics, the ipIfStatsTable contains the same statistics but counted on a per-interface basis." ::= { ipTrafficStats 1 } 

有没有人遇到过这个? 试图确定这是否应该写在Broadcom网卡上,或者有什么新的东西可以在这里学习。 作为参考,eth2和eth3是绑定的,但所有三个接口在上表中都有自己的计数器。


  • 机箱:戴尔r620
  • 操作系统: RHEL6
  • 内核: 2.6.32-573.22.1.el6.x86_64

网卡信息:

 # dmesg | grep Ethernet tg3 0000:01:00.0: eth0: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1]) tg3 0000:01:00.1: eth1: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1]) tg3 0000:02:00.0: eth2: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1]) tg3 0000:02:00.1: eth3: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1]) Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) # ethtool -i eth3 driver: tg3 version: 3.137 firmware-version: FFV7.8.53 bc 5720-v1.32 bus-info: 0000:02:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no