From owner-freebsd-arch Sun Jan 13 12:54:32 2002 Delivered-To: freebsd-arch@freebsd.org Received: from hawk.prod.itd.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 92C9637B41A for ; Sun, 13 Jan 2002 12:54:29 -0800 (PST) Received: from pool0417.cvx40-bradley.dialup.earthlink.net ([216.244.43.162] helo=mindspring.com) by hawk.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16Pre2-0007AV-00; Sun, 13 Jan 2002 12:54:22 -0800 Message-ID: <3C41F3FD.4ECC8CD@mindspring.com> Date: Sun, 13 Jan 2002 12:54:21 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michal Mertl Cc: arch@freebsd.org Subject: Re: 64 bit counters again References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michal Mertl wrote: > But anyway I continued on some work on STABLE (but believe lot of my work > could be used on CURRENT after some modification) and get kernel and world > building with 64 bit counters on network interfaces (struct if_data) > and in protocols (struct ipstat, tcpstat, udpstat, icmpstat, igmpstat). Not to discount the value of this work, but... 1) It makes counting slower on 32 bit processors. 2) The values are not accessible from SNMP, which is limited to 32 bit counters. 3) While you could export these values as strings and not numbers over SNMP, doing this would mean you would need to use a MIB which was not a superset of an RFC'ed MIB. So it seems to me that the utility of this on 32 bit machines is incredibly limited (e.g. shell programs). PS: FWIW, I agree that these things should be 64 bits on 64 bit architectures, even if they can only export the low 32 bits for SNMP. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message