Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 11:42:10 +0200
From:      =?utf-8?Q?Vaidas_Damo=C5=A1evi=C4=8Dius?= <vd@par.lt>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Troubles with 'em' driver and UDP packets
Message-ID:  <E7950DC4-C046-4E18-B4EE-8B31A530E755@par.lt>
In-Reply-To: <CAOgwaMuSMVc-pEMB%2BRuqqdiCuBbwuLfpBPF-Oh54R==y-KjtFQ@mail.gmail.com>
References:  <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> <CAOgwaMuSMVc-pEMB%2BRuqqdiCuBbwuLfpBPF-Oh54R==y-KjtFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It's not cabling problem :)

Another example with -b and -i :

vd@v0s4:~ % iperf3 -u -c 1.2.3.4 -i4 -b1000m -P1
Connecting to host 1.2.3.4, port 5201
[  4] local 1.2.3.3 port 10672 connected to 1.2.3.4 port 5201
[ ID] Interval           Transfer     Bandwidth       Total Datagrams
[  4]   0.00-4.00   sec   446 MBytes   935 Mbits/sec  1761605 =20
[  4]   4.00-8.00   sec   457 MBytes   958 Mbits/sec  1809551 =20
[  4]   8.00-10.00  sec   228 MBytes   958 Mbits/sec  900740 =20
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Jitter    =
Lost/Total Datagrams
[  4]   0.00-10.00  sec  1.10 GBytes   949 Mbits/sec  770.668 ms  0/35 =
(0%) =20
[  4] Sent 35 datagrams

Result is totaly different.

> On 20 Mar 2015, at 11:29, Mehmet Erol Sanliturk =
<m.e.sanliturk@gmail.com> wrote:
>=20
>=20
>=20
> On Fri, Mar 20, 2015 at 2:23 AM, Vaidas Damo=C5=A1evi=C4=8Dius =
<vd@par.lt> wrote:
> Hello,
>=20
> I have 2 boxes with FreeBSD 10.1-RELEASE/amd64 and "Intel(R) PRO/1000 =
Network Connection 7.4.2" NIC's directly connected to each other. I =
noticed strange problem - I'm loosing small UDP packets under high load. =
I've tried to test it with iperf and got the following:
>=20
> ---
>=20
> vd@v0s4:~ % iperf3 -u -c 1.2.3.4
> Connecting to host 1.2.3.4, port 5201
> [  4] local 1.2.3.3 port 64254 connected to 1.2.3.4 port 5201
> [ ID] Interval           Transfer     Bandwidth       Total Datagrams
> [  4]   0.00-1.01   sec   120 KBytes   976 Kbits/sec  15
> [  4]   1.01-2.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   2.01-3.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   3.01-4.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   4.01-5.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   5.01-6.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   6.01-7.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   7.01-8.00   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   8.00-9.01   sec   128 KBytes  1.05 Mbits/sec  16
> [  4]   9.01-10.01  sec   128 KBytes  1.05 Mbits/sec  16
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bandwidth       Jitter    =
Lost/Total Datagrams
> [  4]   0.00-10.01  sec  1.24 MBytes  1.04 Mbits/sec  0.325 ms  0/159 =
(0%)
> [  4] Sent 159 datagrams
>=20
> Any advice how to solve it ?
>=20
> Thank you.
> _______________________________________________
>=20
>=20
>=20
>=20
> I think you use Gigabit CROSS cable ( cat 5e or cat 6 ) .
> CROSS cable is required if connection is from computer to computer .
>=20
> Only for remaindering .
>=20
>=20
>=20
> Thank you very much .
>=20
> Mehmet Erol Sanliturk
>=20
>=20
>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7950DC4-C046-4E18-B4EE-8B31A530E755>