From owner-freebsd-current@freebsd.org Mon Feb 15 23:59:26 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 171C353F325 for ; Mon, 15 Feb 2021 23:59:26 +0000 (UTC) (envelope-from dponte@dtvax.dynatron.me) Received: from dtvax.dynatron.me (dtvax.dynatron.me [142.93.64.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "dtvax.dynatron.me", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dfh0Y0CBRz3tSQ for ; Mon, 15 Feb 2021 23:59:24 +0000 (UTC) (envelope-from dponte@dtvax.dynatron.me) Received: from dtvax.dynatron.me (dramoray@dtvax [127.0.0.1]) by dtvax.dynatron.me (8.16.1/8.16.1) with ESMTPS id 11FNw9P4058930 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 15 Feb 2021 18:58:09 -0500 (EST) (envelope-from dponte@dtvax.dynatron.me) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dynatron.me; s=dtvax; t=1613433489; bh=B9kIb75EeoAdIkIkolXu7k1+LV3ZgGfTQIWg7FJX6BI=; h=Date:From:To:Subject:References:In-Reply-To; b=EeEHiAbt4jEcF9Vcfe6NTyfEmxjIaiMrSX3nzrvIpQ/rHFmFCeLe5IrlH/aEXsPah osnfTNfZSDqXz8E1dd4vA9KiRc260OLo5v0UfCuMDQkpsJGsG0IuMEH2ky1469WPsI vRZzA7+hh0tdxOdo2DRmJvWOcsHT+whXK33Xlwks7v+p3j7liB1Ip4AaiHHtuLKoYd UtKhnel1iRazIMWMlD8/brSil/jII3PwLRiNldBuR9W8zChGDRKokVvLXzJrfOFIP5 0Ff8rf1B9GiHUPH0RxeCFt2wFf5Es+KLdMIIsL/Zst1gJqujFH7Me620aTKMP9YQrO q8OyC1paQ3uoQ== Received: (from dponte@localhost) by dtvax.dynatron.me (8.16.1/8.16.1/Submit) id 11FNw9SA058929 for freebsd-current@freebsd.org; Mon, 15 Feb 2021 18:58:09 -0500 (EST) (envelope-from dponte) Date: Mon, 15 Feb 2021 18:58:09 -0500 From: Daniel Ponte To: freebsd-current@freebsd.org Subject: Re: Interface counter inaccurate Message-ID: <20210215235809.nkmjjtqcpauvkjh7@dtvax.dynatron.me> Mail-Followup-To: freebsd-current@freebsd.org References: <20210215210957.vesrn63yt3ckpxll@dtvax.dynatron.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4Dfh0Y0CBRz3tSQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dynatron.me header.s=dtvax header.b=EeEHiAbt; dmarc=pass (policy=none) header.from=dynatron.me; spf=pass (mx1.freebsd.org: domain of dponte@dtvax.dynatron.me designates 142.93.64.28 as permitted sender) smtp.mailfrom=dponte@dtvax.dynatron.me X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[dynatron.me:s=dtvax]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.93.64.28:from:127.0.2.255]; DKIM_TRACE(0.00)[dynatron.me:+]; DMARC_POLICY_ALLOW(-0.50)[dynatron.me,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[dan@dynatron.me,dponte@dtvax.dynatron.me]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.93.64.28:from]; ASN(0.00)[asn:14061, ipnet:142.93.64.0/20, country:US]; FROM_NEQ_ENVFROM(0.00)[dan@dynatron.me,dponte@dtvax.dynatron.me]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Mon, 15 Feb 2021 23:59:26 -0000 On Mon, Feb 15, 2021 at 10:25:47PM +0100, Kristof Provost wrote: > On 15 Feb 2021, at 22:09, Daniel Ponte wrote: > > I've noticed that since upgrading to stable/13-n244514-18097ee2fb7c from > > 12.2-STABLE, throughput on my WAN interface (the box runs pf) is > > incorrectly showing double in systat -if, as well as in vnstat and pftop > > from ports. The LAN interface does not appear to be so afflicted. > > > `systat -if` doesn’t read the pf counters, so I wouldn’t expect that to be > related. > > Those are the interface counters. > What network card and driver do you use? > > Kristof I, too, questioned the relation. They are igb(4) I210 builtin interfaces (in a Protectli Vault 4). systat -if during said speed test: igb1 in 11.670 Mb/s 11.670 Mb/s 1.067 GB out 319.975 Mb/s 320.458 Mb/s 2.062 GB igb0 in 640.120 Mb/s 640.690 Mb/s 6.351 GB out 5.824 Mb/s 5.824 Mb/s 987.050 MB igb1 is inside, igb0 is outside. The 6GB:2GB difference in totals seen above is indeed real; this machine did not initiate that much traffic on its own.