From owner-freebsd-cloud@freebsd.org Tue Nov 1 16:34:27 2016 Return-Path: Delivered-To: freebsd-cloud@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 DFBCFC2A7F2 for ; Tue, 1 Nov 2016 16:34:27 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (unknown [IPv6:2607:f2f8:a098::2]) (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 BEC2D19A7 for ; Tue, 1 Nov 2016 16:34:27 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from la-dgt-31327.usa.tribune.com (nat-192-187-90-113.nat.tribpub.com [192.187.90.113]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 66aa45a7 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 1 Nov 2016 09:34:26 -0700 (PDT) Subject: Re: xn0 systat no egress data? To: "Bradley T. Hughes" References: <8be5174c-fcd5-0e5b-921f-5cfc31e99c4f@nomadlogic.org> <33AA44AE-3958-4010-9CB3-DCF4D39D3054@fastmail.fm> Cc: freebsd-cloud@freebsd.org From: Pete Wright Message-ID: Date: Tue, 1 Nov 2016 09:34:24 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <33AA44AE-3958-4010-9CB3-DCF4D39D3054@fastmail.fm> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2016 16:34:28 -0000 On 11/1/16 6:02 AM, Bradley T. Hughes wrote: > >> On 31 Oct 2016, at 21:44, Pete Wright wrote: >> >> hey all - this is regarding the following bug i've opened: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213814 >> >> tl;dr version is that on 11.0-RELEASE on EC2 when i invoke "systat -ifstat" the egress data flows for the xn0 device do not update. verified it works as expected on 10.3-RELEASE. tried reading through code but am pretty confused as to how xn0 is created and what code is used to update the sysctl MIBs. > > FWIW, I see the same with the ixv0 device on a c4.large AWS EC2 instance. I also commented on the PR in bugzilla with additional info. > Thanks Bradley - I've also observed this behaviour on the ixv0 interfaces as well. I believe the patch is on the right track - i.e. I suspect the issue lies in the backend Xen device code. Hoping it's a trivial fix for someone more familiar with the plumbing of that code than me. Cheers! -pete -- Pete Wright pete@nomadlogic.org nomadlogicLA