Date: Wed, 13 May 2009 20:38:41 -0700 From: Kip Macy <kmacy@freebsd.org> To: Pieter de Goeje <pieter@degoeje.nl> Cc: Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, freebsd-current@freebsd.org Subject: Re: em(4) outgoing statistics broken (Was: Re: Statistics collection for TX no longer works) Message-ID: <3c1674c90905132038q3bee11c2n92317c4a482543e9@mail.gmail.com> In-Reply-To: <200904300003.02174.pieter@degoeje.nl> References: <200904230627.16745.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <200904290729.21239.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <200904291416.41027.pieter@degoeje.nl> <200904300003.02174.pieter@degoeje.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pieter@degoeje.nl> 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: > =A0 =A0 =A0 =A0 =A0 =A0input =A0 =A0 =A0 =A0(Total) =A0 =A0 =A0 =A0 =A0 o= utput > =A0 packets =A0errs =A0 =A0 =A0bytes =A0 =A0packets =A0errs =A0 =A0 =A0by= tes colls > =A0 =A0 =A07000 =A0 =A0 0 =A0 =A0 462422 =A0 =A0 =A011165 =A0 =A0 0 =A0 1= 6402742 =A0 =A0 0 > =A0 =A0 35243 =A0 =A0 0 =A0 =A02326924 =A0 =A0 =A056544 =A0 =A0 0 =A0 856= 16700 =A0 =A0 0 > =A0 =A0 35087 =A0 =A0 0 =A0 =A02316711 =A0 =A0 =A056251 =A0 =A0 0 =A0 851= 42818 =A0 =A0 0 > =A0 =A0 35003 =A0 =A0 0 =A0 =A02310949 =A0 =A0 =A056209 =A0 =A0 0 =A0 851= 01940 =A0 =A0 0 > =A0 =A0 35075 =A0 =A0 0 =A0 =A02315945 =A0 =A0 =A056259 =A0 =A0 0 =A0 851= 85210 =A0 =A0 0 > =A0 =A0 35032 =A0 =A0 0 =A0 =A02312572 =A0 =A0 =A056253 =A0 =A0 0 =A0 851= 38276 =A0 =A0 0 > =A0 =A0 34978 =A0 =A0 0 =A0 =A02308995 =A0 =A0 =A056225 =A0 =A0 0 =A0 850= 86800 =A0 =A0 0 > =A0 =A0 35220 =A0 =A0 0 =A0 =A02323994 =A0 =A0 =A056264 =A0 =A0 0 =A0 851= 51902 =A0 =A0 0 > =A0 =A0 35097 =A0 =A0 0 =A0 =A02317256 =A0 =A0 =A056324 =A0 =A0 0 =A0 852= 36686 =A0 =A0 0 > =A0 =A0 34992 =A0 =A0 0 =A0 =A02309916 =A0 =A0 =A056225 =A0 =A0 0 =A0 851= 21622 =A0 =A0 0 > =A0 =A0 34912 =A0 =A0 0 =A0 =A02304860 =A0 =A0 =A056255 =A0 =A0 0 =A0 851= 85210 =A0 =A0 0 > > At half the data rate (slightly more than 300mbit/s): > =A0 =A0 =A0 =A0 =A0 =A0input =A0 =A0 =A0 =A0(Total) =A0 =A0 =A0 =A0 =A0 o= utput > =A0 packets =A0errs =A0 =A0 =A0bytes =A0 =A0packets =A0errs =A0 =A0 =A0by= tes colls > =A0 =A0 =A01267 =A0 =A0 0 =A0 =A0 =A084924 =A0 =A0 =A0 1935 =A0 =A0 0 =A0= =A02697108 =A0 =A0 0 > =A0 =A0 =A01393 =A0 =A0 0 =A0 =A0 =A095557 =A0 =A0 =A0 2095 =A0 =A0 0 =A0= =A0 =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 11177 =A0 =A0 0 =A0 =A0 755904 =A0 =A0 =A017628 =A0 =A0 0 =A0 =A0= =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 14305 =A0 =A0 0 =A0 =A0 959073 =A0 =A0 =A023717 =A0 =A0 0 =A0 =A0= =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 =A09836 =A0 =A0 0 =A0 =A0 662341 =A0 =A0 =A016108 =A0 =A0 0 =A0 = =A0 =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 =A09652 =A0 =A0 0 =A0 =A0 648353 =A0 =A0 =A015892 =A0 =A0 0 =A0 = =A0 =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 25137 =A0 =A0 0 =A0 =A01694180 =A0 =A0 =A041108 =A0 =A0 0 =A0 =A0= =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 19119 =A0 =A0 0 =A0 =A01286252 =A0 =A0 =A031490 =A0 =A0 0 =A0 =A0= =A0 =A0 =A00 =A0 =A0 0 > =A0 =A0 26476 =A0 =A0 0 =A0 =A01780519 =A0 =A0 =A043808 =A0 =A0 0 =A0 =A0= =A0 =A0 =A00 =A0 =A0 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= " > --=20 When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. Edmund Burke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c1674c90905132038q3bee11c2n92317c4a482543e9>