From owner-freebsd-current@freebsd.org Mon Feb 15 21:11:20 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 51E9653A56C for ; Mon, 15 Feb 2021 21:11:20 +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 4DfcGb3dQ3z3PKZ for ; Mon, 15 Feb 2021 21:11:19 +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 11FL9vAK058181 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 15 Feb 2021 16:09:58 -0500 (EST) (envelope-from dponte@dtvax.dynatron.me) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dynatron.me; s=dtvax; t=1613423398; bh=9CyNfA3bpNJd28DavhWDdMR+/h+GKvgaf92Y2sfxT8g=; h=Date:From:To:Subject; b=nzffjbsmC9q0YVVw5jg9UVv7q1ZSCf5Y87PX6i/MBNdVGp1/rCn7pyGEo+tY9jaU+ nPSTKvbU89LjB8L8ro2HRzEvUl77RVq6pxBi7I9oa7rifSSJQdj1SIpMmdDkgNGIMn f1+rJcvluINf0PS4m4dBncvbBiDg7Kp7o4UuFkqmL7s5mC6Y5X9TtxnA0A/aoeWV+s 30m68oDH0kQ8GWSWgrLY1JodWsJHFm16tWX6VObpzcbXSoQ67XXrIsKqx0BS19XAxp ZTNpNxC4rzMsCBJoLCsHPFZTKlHDl8S+2Wscqmpn8mDYJx49HNV3iCIq96lUSwgD5J e2xDICBZo13LA== Received: (from dponte@localhost) by dtvax.dynatron.me (8.16.1/8.16.1/Submit) id 11FL9vXU058180 for freebsd-current@freebsd.org; Mon, 15 Feb 2021 16:09:57 -0500 (EST) (envelope-from dponte) Date: Mon, 15 Feb 2021 16:09:57 -0500 From: Daniel Ponte To: freebsd-current@freebsd.org Subject: Interface counter inaccurate Message-ID: <20210215210957.vesrn63yt3ckpxll@dtvax.dynatron.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4DfcGb3dQ3z3PKZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dynatron.me header.s=dtvax header.b=nzffjbsm; 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]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_ALLOW(-0.20)[dynatron.me:s=dtvax]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; 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]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[dan@dynatron.me,dponte@dtvax.dynatron.me]; MAILMAN_DEST(0.00)[freebsd-current] 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 21:11:20 -0000 All, 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. Running a speedtest on my 300Mb connection shows correctly in systat on a 12.2 client on the LAN, but on the router running 13-STABLE that it traverses, it shows ~600Mb. Someone suggested I send email here, as the pf counter code has recently been worked on. I'm happy to perform further testing, if desired. Thanks, Dan