From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 09:49:36 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB12A3EA for ; Fri, 20 Mar 2015 09:49:36 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59314135 for ; Fri, 20 Mar 2015 09:49:36 +0000 (UTC) Received: by wgra20 with SMTP id a20so84680727wgr.3 for ; Fri, 20 Mar 2015 02:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=RenYdv+IRGDVY8ZNWR8QSo+RFpl5GB09NLI385YAC20=; b=y6ZFIJC7flvpZ9wS7pRxciYgQ/1m9vRDvO0gECjoZzVoLnt2NaiZs/FbbecWiyQkte Cgl2KDb+ISKqotEH09VVCJCmiOd/pxVHNY1zuHZlNFE32rJasMDp8qTM6+3JCuoJpIpJ 15coUhM9BLVVRO4eayZa269rpOPIEyXpxARoUqfOGMyJjIZrAp+xqvuiWod/B7IffIb+ 13g6EZy0t+3TBkd/cTRDxk578j5H3pMBii4NKl0m48PDV3F1lVvyzNxBBdJH7oVvaUq0 dtOD83gfBdCTHyqVblh03xYlDINBNm5iPPIGAqcofG8mxIAkMbBfLix475KlMJxsIxHj UXzQ== X-Received: by 10.181.13.82 with SMTP id ew18mr23815577wid.84.1426844974525; Fri, 20 Mar 2015 02:49:34 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.63.34 with HTTP; Fri, 20 Mar 2015 02:49:14 -0700 (PDT) In-Reply-To: <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> References: <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Fri, 20 Mar 2015 10:49:14 +0100 X-Google-Sender-Auth: 2y5ZmLPCxUWx3Wxj92qkMBjhR1o Message-ID: Subject: Re: Troubles with 'em' driver and UDP packets To: =?ISO-8859-13?Q?Vaidas_Damo=F0evi=E8ius?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 09:49:36 -0000 On Fri, Mar 20, 2015 at 10:23 AM, Vaidas Damo=C5=A1evi=C4=8Dius = wrote: > Hello, > =E2=80=8BHi, =E2=80=8B > > 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 notic= ed > strange problem - I'm loosing small UDP packets under high load. I've tri= ed > to test it with iperf and got the following: > > --- > > 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/Tota= l > Datagrams > [ 4] 0.00-10.01 sec 1.24 MBytes 1.04 Mbits/sec 0.325 ms 0/159 (0%= ) > [ 4] Sent 159 datagrams > > =E2=80=8BThe result display a Lost/Total ratio of 0/159: Where do you see m= issing UDP packets ? By default iperf send only 1 Mbit/sec in UDP mode: I didn't see any problem on these stats. Regards, Olivier =E2=80=8B