From owner-freebsd-current@FreeBSD.ORG Thu May 14 15:01:44 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F6621065670 for ; Thu, 14 May 2009 15:01:44 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id AB0DE8FC23 for ; Thu, 14 May 2009 15:01:43 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox-laptop.localnet ([10.0.1.45] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 May 2009 17:01:41 +0200 From: Pieter de Goeje To: Kip Macy Date: Thu, 14 May 2009 17:01:41 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.28-12-generic; KDE/4.2.2; x86_64; ; ) References: <200904230627.16745.mel.flynn+fbsd.current@mailing.thruhere.net> <200904300003.02174.pieter@degoeje.nl> <3c1674c90905132038q3bee11c2n92317c4a482543e9@mail.gmail.com> In-Reply-To: <3c1674c90905132038q3bee11c2n92317c4a482543e9@mail.gmail.com> MIME-Version: 1.0 Message-Id: <200905141701.41429.pieter@degoeje.nl> X-OriginalArrivalTime: 14 May 2009 15:01:41.0874 (UTC) FILETIME=[E3D2D520:01C9D4A4] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Mel Flynn , freebsd-current@freebsd.org Subject: Re: em(4) outgoing statistics broken (Was: Re: Statistics collection for TX no longer works) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 15:01:44 -0000 This solved the problem, thank you :) - Pieter On Thursday 14 May 2009 05:38:41 Kip Macy wrote: > Please update to 192081 and try again. We weren't updating stats when > we bypassed the buf_ring on transmit. > > Cheers, > Kip > > > On Wed, Apr 29, 2009 at 3:03 PM, Pieter de Goeje wrote: > > On Wednesday 29 April 2009 14:16:40 Pieter de Goeje wrote: > >> On Wednesday 29 April 2009 07:29:20 Mel Flynn wrote: > >> > Still happens with a kernel built last Saturday, however I noticed > >> > outgoing statistics works with lo0. No other network card available at > >> > the moment, so I'm enclined to think it's em. Anybody else seeing this? > >> > >> I'm seeing this too. Running -CURRENT/i386 w/ if_em interface. I can try > >> another interface when I'm back from work. > > > > If_re reports outgoing bytes fine. > > > > When I pump a lot of data through em, it suddenly starts reporting again: > > input (Total) output > > packets errs bytes packets errs bytes colls > > 7000 0 462422 11165 0 16402742 0 > > 35243 0 2326924 56544 0 85616700 0 > > 35087 0 2316711 56251 0 85142818 0 > > 35003 0 2310949 56209 0 85101940 0 > > 35075 0 2315945 56259 0 85185210 0 > > 35032 0 2312572 56253 0 85138276 0 > > 34978 0 2308995 56225 0 85086800 0 > > 35220 0 2323994 56264 0 85151902 0 > > 35097 0 2317256 56324 0 85236686 0 > > 34992 0 2309916 56225 0 85121622 0 > > 34912 0 2304860 56255 0 85185210 0 > > > > At half the data rate (slightly more than 300mbit/s): > > input (Total) output > > packets errs bytes packets errs bytes colls > > 1267 0 84924 1935 0 2697108 0 > > 1393 0 95557 2095 0 0 0 > > 11177 0 755904 17628 0 0 0 > > 14305 0 959073 23717 0 0 0 > > 9836 0 662341 16108 0 0 0 > > 9652 0 648353 15892 0 0 0 > > 25137 0 1694180 41108 0 0 0 > > 19119 0 1286252 31490 0 0 0 > > 26476 0 1780519 43808 0 0 0 > > > > - Pieter > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > -- Pieter de Goeje