From owner-freebsd-xen@freebsd.org Thu Oct 13 14:59:32 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B651C0E69D for ; Thu, 13 Oct 2016 14:59:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 324D8A5D for ; Thu, 13 Oct 2016 14:59:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9DExWl3039920 for ; Thu, 13 Oct 2016 14:59:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 213439] ifOutOctets are always zero for Xen xn interfaces Date: Thu, 13 Oct 2016 14:59:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 14:59:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213439 --- Comment #4 from Trond.Endrestol@ximalas.info --- (In reply to Andrey V. Elsukov from comment #2) I tried the second proposed patch on an identical and least busy system: root@[WITHHELD]:~ # uname -a FreeBSD [WITHHELD] 11.0-STABLE FreeBSD 11.0-STABLE #2 r307213M: Thu Oct 13 16:28:54 CEST 2016 root@[WITHHELD]:/usr/obj/usr/src/sys/XENGUEST amd64 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.2 IF-MIB::ifDescr.2 =3D STRING: xn0 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.2 IF-MIB::ifInOctets.2 =3D Counter32: 29079 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.2 IF-MIB::ifOutOctets.2 =3D Counter32: 24659 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.3 IF-MIB::ifDescr.3 =3D STRING: xn1 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.3 IF-MIB::ifInOctets.3 =3D Counter32: 10450 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.3 IF-MIB::ifOutOctets.3 =3D Counter32: 696 After running for a while, I got this: root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.2= ; snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.2 ; snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.2 IF-MIB::ifDescr.2 =3D STRING: xn0 IF-MIB::ifInOctets.2 =3D Counter32: 115769 IF-MIB::ifOutOctets.2 =3D Counter32: 117953 root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.3= ; snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.3 ; snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.3 IF-MIB::ifDescr.3 =3D STRING: xn1 IF-MIB::ifInOctets.3 =3D Counter32: 67898 IF-MIB::ifOutOctets.3 =3D Counter32: 696 The low count on ifOutOctets.3 is due to pf filtering and low activity on t= he xn1 interface. This patch looks promising. I guess this patch can be committed after some = more testing. --=20 You are receiving this mail because: You are the assignee for the bug.=