Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2017 11:05:16 -0600
From:      Sean Bruno <sbruno@freebsd.org>
To:        freebsd-net@freebsd.org
Subject:   Re: igb stats double counting in 12-CURRENT r319025
Message-ID:  <c6ad270d-712e-6f92-0d88-2c601558853b@freebsd.org>
In-Reply-To: <CAOc73CBzoQCuKaUt7cpLRNV4BjE_OzKNBWzpnYZADSHtSapYbQ@mail.gmail.com>
References:  <CAOc73CBzoQCuKaUt7cpLRNV4BjE_OzKNBWzpnYZADSHtSapYbQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--7aJ0eSIddRmegBUmGIIdUDnhn6xted7SU
Content-Type: multipart/mixed; boundary="J9xU5j9h7H3le3kClVUAaJNtswIeHxktq";
 protected-headers="v1"
From: Sean Bruno <sbruno@freebsd.org>
To: freebsd-net@freebsd.org
Message-ID: <c6ad270d-712e-6f92-0d88-2c601558853b@freebsd.org>
Subject: Re: igb stats double counting in 12-CURRENT r319025
References: <CAOc73CBzoQCuKaUt7cpLRNV4BjE_OzKNBWzpnYZADSHtSapYbQ@mail.gmail.com>
In-Reply-To: <CAOc73CBzoQCuKaUt7cpLRNV4BjE_OzKNBWzpnYZADSHtSapYbQ@mail.gmail.com>

--J9xU5j9h7H3le3kClVUAaJNtswIeHxktq
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable



On 06/03/17 01:25, Ben Woods wrote:
> Hi everyone,
>=20
> I have noticed my networking statistics appear to be double counting on=
 two
> of my FreeBSD 12-CURRENT boxes running r319025. Could someone please he=
lp
> me to find the problem (I believe it is likely to be a bug in the
> networking driver).
>=20
> I discovered the double counting by comparing the output of "systat
> -ifstat" (which reports 988 KB/s) with the output of "iftop -B" (which
> reports 491 KB/s). I know that iftop is the correct one, because my
> internet speed only gives me around ~500 KB/s unfortunately.
>=20
> # systat -ifstat -match igb0
> ...
>       Interface           Traffic               Peak                Tot=
al
>            igb0  in    988.008 KB/s        988.008 KB/s           36.29=
5 GB
>                  out    16.953 KB/s         16.953 KB/s          295.77=
4 GB
>=20
>=20
> # iftop -i igb0 -B
> ...
> TX:             cum:   31.7KB   peak:
> 9.69KB
> rates:   9.69KB  7.92KB  7.92KB
> RX:                    1.54MB
> 491KB
> 491KB   394KB   394KB
>=20
>=20
> The two interfaces in these boxes are:
>=20
> $ pciconf -lvv | grep igb1 -A4
> igb1@pci0:4:0:0:        class=3D0x020000 card=3D0x00008086 chip=3D0x153=
98086
> rev=3D0x03 hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'I211 Gigabit Network Connection'
>     class      =3D network
>     subclass   =3D ethernet
>=20
> $ pciconf -lvv | grep igb0 -A4
> igb0@pci0:8:0:0:        class=3D0x020000 card=3D0x15331849 chip=3D0x153=
38086
> rev=3D0x03 hdr=3D0x00
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'I210 Gigabit Network Connection'
>     class      =3D network
>     subclass   =3D ethernet
>=20
> Regards,
> Ben
>=20
> --
> From: Benjamin Woods
> woodsb02@gmail.com
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>=20


Huh ... I'll look at this today.  If you get a chance, throw this over
into bugzilla and tag me in it.

sean



--J9xU5j9h7H3le3kClVUAaJNtswIeHxktq--

--7aJ0eSIddRmegBUmGIIdUDnhn6xted7SU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAllJVc1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
/LYQ7wgAv3q0LKkoFrEOntz+8HB0ul63cZPFPHrCE+/NBURctdq37Pc8zG4hLelH
gywaEPrq8ciWA+j3Ie1qztXcnUlfmuWAvRFoGf5zKGDbQCpE2TUqkKtel1pjyKcf
6fieR+kgT8mU9MXAs8nxlL2oVf/lON+ExyJ4GqRcMhvd7xF3RNFfE56eWevjXZts
rPMJ98abur/wUmSfyThXLNhfg+m+IMS9dS/7jwXAjxe0mf/JT2We3x5NZNjriZis
9lVA0TOJBtdNVxY9P75DEvvedAjCKUjYaqqvfNV3o56FyXxr63TicLJEyU7T+AQu
FaveIA5b1fLp4o2jcZ2uQcLysde2sQ==
=GaQt
-----END PGP SIGNATURE-----

--7aJ0eSIddRmegBUmGIIdUDnhn6xted7SU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c6ad270d-712e-6f92-0d88-2c601558853b>