Date: Mon, 15 Feb 2021 18:58:09 -0500 From: Daniel Ponte <dan@dynatron.me> To: freebsd-current@freebsd.org Subject: Re: Interface counter inaccurate Message-ID: <20210215235809.nkmjjtqcpauvkjh7@dtvax.dynatron.me> In-Reply-To: <EAC050BB-D8FC-490A-826B-39B6BBFC22F3@FreeBSD.org> References: <20210215210957.vesrn63yt3ckpxll@dtvax.dynatron.me> <EAC050BB-D8FC-490A-826B-39B6BBFC22F3@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210215235809.nkmjjtqcpauvkjh7>
