Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265802AbTGDGvP (ORCPT ); Fri, 4 Jul 2003 02:51:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265803AbTGDGvP (ORCPT ); Fri, 4 Jul 2003 02:51:15 -0400 Received: from outpost.ds9a.nl ([213.244.168.210]:58773 "EHLO outpost.ds9a.nl") by vger.kernel.org with ESMTP id S265802AbTGDGvO (ORCPT ); Fri, 4 Jul 2003 02:51:14 -0400 Date: Fri, 4 Jul 2003 09:05:41 +0200 From: bert hubert To: Linus Torvalds Cc: Jeff Sipek , Kernel Mailing List , Andrew Morton , Dave Jones , Jeff Garzik Subject: Re: [PATCH - RFC] [1/5] 64-bit network statistics - generic net Message-ID: <20030704070541.GA20475@outpost.ds9a.nl> Mail-Followup-To: bert hubert , Linus Torvalds , Jeff Sipek , Kernel Mailing List , Andrew Morton , Dave Jones , Jeff Garzik References: <200307032231.39842.jeffpc@optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1038 Lines: 28 On Thu, Jul 03, 2003 at 08:08:03PM -0700, Linus Torvalds wrote: > Please do this in user space. The "overflow every 2^32 packets" thing is > _not_ a problem, if you just gather the statistics at any kind of > reasonable interval. At 114 megabits/second, we pass the mrtg threshold of an overflow within 5 minutes. A 1 gigabit link will do this once every 34 seconds. There are 10 gigabit adaptors out there which may need to be polled once every 3 seconds then. > Remember: "perfect is the enemy of good". Pretty good is not however. Can't we do what we do for jiffies where we only do a 64 bit operation very seldomly? Regards, bert -- http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/