From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 09:23:32 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 AF7B3AC5 for ; Fri, 20 Mar 2015 09:23:32 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (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 4A072EC6 for ; Fri, 20 Mar 2015 09:23:31 +0000 (UTC) Received: by wixw10 with SMTP id w10so23426876wix.0 for ; Fri, 20 Mar 2015 02:23:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=IExX5DcaBzi9bwR8WJytTDl2UUTkvDQZo/yN6GMgK5E=; b=kwbODqSPOarXW/+cD8Y+fXXgYF6h8ZQoPQ8yLZ6ep4h84rl9G+HpgKpHA3Ag9q/UpG 1lzdRc6nhxZeuv+wO1O1EjYoKZ1TaeBtnqZ7z/lwF5JnRDB/J97PG8tCHlcHmNXJLcut tBzGlXFdG+Ms4P3Pi0Fz+1ZY8KdBTu23tIbcVLELxckFiYCz3DB1hFbkA62Hn0t8+B7x ulIAxPQ4TxtglRnBQ6L/Q+9tA+QlB3ZenVxHF/2cJlKGoZwW4vrHDVWqNfTJOI4Yc8TG MoDSXTGI8dpcr9/CdEQv3M3151Nq5DC6ON45vLWUOgxSK0CXkIfd2LoSTxUg0pWH+NEi i6dg== X-Gm-Message-State: ALoCoQnO1ojMtR7AJpPkU36ZukNI7u+yvKSW2LkO0mXMc+liN5zJX+8qAOJjYD/aiMxXS18gqPeZ X-Received: by 10.180.126.38 with SMTP id mv6mr23055583wib.22.1426843404442; Fri, 20 Mar 2015 02:23:24 -0700 (PDT) Received: from [10.15.38.46] ([5.20.223.100]) by mx.google.com with ESMTPSA id a6sm2161768wiy.17.2015.03.20.02.23.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Mar 2015 02:23:23 -0700 (PDT) From: =?utf-8?Q?Vaidas_Damo=C5=A1evi=C4=8Dius?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Troubles with 'em' driver and UDP packets Message-Id: <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> Date: Fri, 20 Mar 2015 11:23:21 +0200 To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) 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:23:32 -0000 Hello, 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: --- 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 =20 [ 4] 1.01-2.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 2.01-3.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 3.01-4.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 4.01-5.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 5.01-6.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 6.01-7.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 7.01-8.00 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 8.00-9.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 [ 4] 9.01-10.01 sec 128 KBytes 1.05 Mbits/sec 16 =20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 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%) =20 [ 4] Sent 159 datagrams Any advice how to solve it ? Thank you.=