64-bit SNMP interface counters




This new version has the 64-bit HC counters in the ifXTable really 64-bit
on all our platforms. If anybody has interfaces > 1GBit/sec I would be
interested how this works.

harti

On Mon, 27 Feb 2006, Hartmut Brandt wrote:

HB>harti 2006-02-27 16:16:18 UTC
HB>
HB> FreeBSD src repository
HB>
HB> src/contrib/bsnmp - Imported sources
HB> Update of /home/ncvs/src/contrib/bsnmp
HB> In directory repoman.freebsd.org:/tmp/cvs-serv18547
HB>
HB> Log Message:
HB> Virgin import of bsnmpd 1.12
HB>
HB> Status:
HB>
HB> Vendor Tag: BEGEMOT
HB> Release Tags: BSNMP_1_12
HB>
HB> U src/contrib/bsnmp/oid-list
HB> U src/contrib/bsnmp/VERSION
HB> U src/contrib/bsnmp/TODO
HB> U src/contrib/bsnmp/README
HB> U src/contrib/bsnmp/NEWS
HB> U src/contrib/bsnmp/snmp_mibII/mibII.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII.h
HB> U src/contrib/bsnmp/snmp_mibII/mibII_ifmib.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_ifstack.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_ip.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_route.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_tcp.c
HB> U src/contrib/bsnmp/snmp_mibII/mibII_tree.def
HB> U src/contrib/bsnmp/snmp_mibII/mibII_udp.c
HB> U src/contrib/bsnmp/snmp_mibII/snmp_mibII.3
HB> U src/contrib/bsnmp/snmp_mibII/snmp_mibII.h
HB> N src/contrib/bsnmp/snmp_mibII/mibII_begemot.c
HB> N src/contrib/bsnmp/snmp_mibII/BEGEMOT-MIB2-MIB.txt
HB> N src/contrib/bsnmp/snmp_mibII/BEGEMOT-IP-MIB.txt
HB> U src/contrib/bsnmp/snmp_ntp/BEGEMOT-NTP-MIB.txt
HB> U src/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt
HB> U src/contrib/bsnmp/snmp_ntp/ntp_tree.def
HB> U src/contrib/bsnmp/snmp_ntp/snmp_ntp.c
HB> U src/contrib/bsnmp/snmp_ntp/NTP-MIB.txt
HB> U src/contrib/bsnmp/lib/asn1.3
HB> U src/contrib/bsnmp/lib/asn1.c
HB> U src/contrib/bsnmp/lib/asn1.h
HB> U src/contrib/bsnmp/lib/bsnmpagent.3
HB> U src/contrib/bsnmp/lib/bsnmpclient.3
HB> U src/contrib/bsnmp/lib/bsnmplib.3
HB> U src/contrib/bsnmp/lib/snmp.c
HB> U src/contrib/bsnmp/lib/snmp.h
HB> U src/contrib/bsnmp/lib/snmpagent.c
HB> U src/contrib/bsnmp/lib/snmpagent.h
HB> U src/contrib/bsnmp/lib/snmpclient.c
HB> U src/contrib/bsnmp/lib/snmpclient.h
HB> U src/contrib/bsnmp/lib/snmppriv.h
HB> U src/contrib/bsnmp/lib/support.c
HB> U src/contrib/bsnmp/lib/support.h
HB> U src/contrib/bsnmp/gensnmptree/gensnmptree.1
HB> U src/contrib/bsnmp/gensnmptree/gensnmptree.c
HB> U src/contrib/bsnmp/gensnmpdef/gensnmpdef.1
HB> U src/contrib/bsnmp/gensnmpdef/gensnmpdef.c
HB> U src/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt
HB> U src/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt
HB> U src/contrib/bsnmp/snmpd/FOKUS-MIB.txt
HB> U src/contrib/bsnmp/snmpd/action.c
HB> U src/contrib/bsnmp/snmpd/bsnmpd.1
HB> U src/contrib/bsnmp/snmpd/config.c
HB> U src/contrib/bsnmp/snmpd/export.c
HB> U src/contrib/bsnmp/snmpd/main.c
HB> U src/contrib/bsnmp/snmpd/snmpd.config
HB> U src/contrib/bsnmp/snmpd/snmpd.h
HB> U src/contrib/bsnmp/snmpd/snmpd.sh
HB> U src/contrib/bsnmp/snmpd/snmpmod.3
HB> U src/contrib/bsnmp/snmpd/snmpmod.h
HB> U src/contrib/bsnmp/snmpd/trans_lsock.c
HB> U src/contrib/bsnmp/snmpd/trans_lsock.h
HB> U src/contrib/bsnmp/snmpd/trans_udp.c
HB> U src/contrib/bsnmp/snmpd/trans_udp.h
HB> U src/contrib/bsnmp/snmpd/trap.c
HB> U src/contrib/bsnmp/snmpd/tree.def
HB>
HB> No conflicts created by this import
HB>
HB>
HB>
HB>
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • 64-bit SNMP interface counters
    ... This new version has the 64-bit HC counters in the ifXTable really 64-bit ... on all our platforms. ... If anybody has interfaces> 1GBit/sec I would be ... HB> No conflicts created by this import ...
    (freebsd-net)
  • Re: Servers just doent work (after followingthe troubleshooting page)
    ... It does have to do with the way Linux responds to certain network function calls that used to result in it using the wildcard socket. ... Changing the default and adding a new flag to get the default back would have been better. ... If it's going to be a platform-specific flag, it should be carefully arranged so that specifying *no* platform-specific flags gets you as close to the same behavior on all platforms. ... It is a platform-specific flag if the *effect* of binding to virtual interfaces is different on different platforms. ...
    (comp.protocols.time.ntp)
  • Re: what exactly does CPU_TIME measure?
    ... My favorite timing system is the TSC, Time Stamp Counter, on ... On most popular platforms, the resolution of the counters which cpu_timeneeds fall in the range 1/1024 second to 0.010 sec. Bus cycle counters have overheads of a few bus cycles. ...
    (comp.lang.fortran)
  • Re: light weight counters: race free through local_t?
    ... Some platforms may want to switch the local_t implementation away from atomics to regular integers if preemption is not configured. ... So this would preserve the speed of light weight counters, while holding off the worst races. ... Another thing to investigate is how significant the impact of a fetchadd instruction is if none of the results are used. ...
    (Linux-Kernel)
  • Re: Net device byte statistics
    ... |> Or we will need 64bit counters then. ... From RFC 2233 (Interfaces Group MIB using SMIv2): ... 32-bit byte and packet counters MUST be used. ... For interfaces that operate faster than 20,000,000 bits/second, ...
    (Linux-Kernel)