From owner-freebsd-current@FreeBSD.ORG Thu May 14 03:38:42 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 4F8C2106566C for ; Thu, 14 May 2009 03:38:42 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 021068FC08 for ; Thu, 14 May 2009 03:38:41 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so603790ywe.13 for ; Wed, 13 May 2009 20:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=CxL/HLkZxU3AH7noqdCFHgocWg2aePIu4SBr4qPg2+g=; b=fRu/UPnolfXlt7kogB07nntVKgoTQhEOPH3ClrexqnT4QB6BzXZ2n5H6QTfAvIVfaR xLqYixgC39bf8pdSpN8n8X0nQ9uTmoVT6B0TNjMRfQhMrTR9opePkat2v+4rFwelvygj ajFUqn/gqAedHFOmhKQ11xdA5iI/YipIFCbYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=veF8RTmyELjCrL8FvOR+DKqA54//089cnA+952eyi1QzLmc7Q+6ayVUYuBMgdDI7pU cx8ysSmdlLbvMrWdiimUSGaX8zm3+wncIkLpy37R+Q6IqFe8xgwLm3RHt2ZfBa+0vdoE /V/tSdAB98kMVeYeutoLOIjpeg3mbncnXGRfQ= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.231.15 with SMTP id d15mr2448354anh.77.1242272321305; Wed, 13 May 2009 20:38:41 -0700 (PDT) In-Reply-To: <200904300003.02174.pieter@degoeje.nl> References: <200904230627.16745.mel.flynn+fbsd.current@mailing.thruhere.net> <200904290729.21239.mel.flynn+fbsd.current@mailing.thruhere.net> <200904291416.41027.pieter@degoeje.nl> <200904300003.02174.pieter@degoeje.nl> Date: Wed, 13 May 2009 20:38:41 -0700 X-Google-Sender-Auth: 1cd357f98235735c Message-ID: <3c1674c90905132038q3bee11c2n92317c4a482543e9@mail.gmail.com> From: Kip Macy To: Pieter de Goeje Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 03:38:42 -0000 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: > =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