From owner-freebsd-net Mon Sep 9 9:10:42 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1179237B400 for ; Mon, 9 Sep 2002 09:10:40 -0700 (PDT) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with SMTP id C44FE43E42 for ; Mon, 9 Sep 2002 09:10:38 -0700 (PDT) (envelope-from oppermann@pipeline.ch) Received: (qmail 80333 invoked from network); 9 Sep 2002 16:08:17 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.54]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 9 Sep 2002 16:08:17 -0000 Message-ID: <3D7CC7D3.55BBB7BA@pipeline.ch> Date: Mon, 09 Sep 2002 18:09:55 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Harti Brandt Cc: Petr Holub , net@FreeBSD.ORG Subject: Re: 32 bit couters in netstat References: <20020909173330.F30835-100000@beagle.fokus.gmd.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Harti Brandt wrote: > > On Mon, 9 Sep 2002, Petr Holub wrote: > > PH>> > I've just found that netstat in FreeBSD 4.4 has just 32 bit couters > PH>> > (compared to 64 bit counters in NetBSD), at least for Ibytes and Obytes. > PH>> > Is there any improvement in this respect in -STABLE or in -CURRENT? > PH>> > PH>> No because certain people argue that having a 64 bit counter slows > PH>> down the machine to the level of a 386SX-16 and who needs large > PH>> counters anyway... > PH> > PH>I don't think NetBSD is slow that way ;o))). > > If you search the archives you will find the arguments. As far as I > remember the problem is to do the counter update atomically correct. Yes. Doing a 64 bit atomically add even on UP machines takes a couple a CPU cycles more. But does that matter with 2.8GHz machines? -- Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message