From owner-freebsd-arch Tue Jan 15 18:25: 8 2002 Delivered-To: freebsd-arch@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 00C1437B405; Tue, 15 Jan 2002 18:25:06 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g0G2OfD58828; Tue, 15 Jan 2002 20:24:41 -0600 (CST) (envelope-from dan) Date: Tue, 15 Jan 2002 20:24:40 -0600 From: Dan Nelson To: Peter Jeremy Cc: Terry Lambert , Michal Mertl , Bosko Milekic , "James E. Housley" , Thomas Hurst , arch@FreeBSD.ORG Subject: Re: 64 bit counters again Message-ID: <20020116022440.GB71726@dan.emsphone.com> References: <3C4492EE.5A60AD0B@mindspring.com> <20020116120611.A72285@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020116120611.A72285@gsmx07.alcatel.com.au> User-Agent: Mutt/1.3.25i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Jan 16), Peter Jeremy said: > I tend to agree with this point. Most people probably don't care > about "bytes since reboot" and average bandwidth calculations don't > need more than 32 bits for most installations. (Gig-Ethernet > interfaces running close to wire speed on an IA32 is not a common > configuration and I doubt it ever will be). You don't even need gigabit. Plain old fast Ethernet at wire speed will roll over its byte count every 6 minutes, which means that for simple monitoring purposes, you have to sample at least every 5 minutes. Anyhow, I thought we had a solution to this "64-bit counters are slow on SMP" issue; per-cpu counters with aggregation at sysctl-query time. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message