From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 09:42:15 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98832220 for ; Fri, 20 Mar 2015 09:42:15 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (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 2F8E5101 for ; Fri, 20 Mar 2015 09:42:14 +0000 (UTC) Received: by wixw10 with SMTP id w10so23675002wix.0 for ; Fri, 20 Mar 2015 02:42:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=yZH/P1AYn2jPqg9nFa3ZRE1sXne45IhhrDGhZgmlybg=; b=DrNFuFyvO7yH4sbx8Uttp9MP5fn4lG2YuAvbWvy/Gp0iW1HnAIKTxV4jZfLH9lMSF8 ojxLwhZ9zwgMYU1e4jW/L4pa+3DhxkM2Bx6POdNHr5IPVi1hPxWYRVLlkKmLd5hdWZQZ FaAtI6v/Ir0G23n38pFJ2Xfs7uyOa2+oZQzkRFS4JDQ4JK/KrQw9mitdIIFM27/ZlA6I CNWrhkyaFDgv94WpXiNNED01t/TWuGl12d9F2jHafSgNgDnMoU+xWViFnyXiKpbSyawu jlRbqI510vojiInQ4A1MFoEItAJwh8wmWKY6ihdTIfP+SDyq8S7QtI0XW6zW8m+al5yE rElg== X-Gm-Message-State: ALoCoQnVeK7+dbAmU12QbCkr5u6gCjblB7SNrbyu4hUsUlxtHk70hXX5ZrZJZzpdaRTgfx4hj/5f X-Received: by 10.180.72.98 with SMTP id c2mr23467057wiv.87.1426844532513; Fri, 20 Mar 2015 02:42:12 -0700 (PDT) Received: from [10.15.38.46] ([5.20.223.100]) by mx.google.com with ESMTPSA id xy2sm5580628wjc.14.2015.03.20.02.42.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Mar 2015 02:42:11 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Troubles with 'em' driver and UDP packets From: =?utf-8?Q?Vaidas_Damo=C5=A1evi=C4=8Dius?= In-Reply-To: Date: Fri, 20 Mar 2015 11:42:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> To: Mehmet Erol Sanliturk X-Mailer: Apple Mail (2.2070.6) 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:42:15 -0000 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 = wrote: >=20 >=20 >=20 > On Fri, Mar 20, 2015 at 2:23 AM, Vaidas Damo=C5=A1evi=C4=8Dius = 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