From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 09:57:45 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 890EF646 for ; Fri, 20 Mar 2015 09:57:45 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (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 1C9FE21F for ; Fri, 20 Mar 2015 09:57:44 +0000 (UTC) Received: by wibg7 with SMTP id g7so23854345wib.1 for ; Fri, 20 Mar 2015 02:57:42 -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:message-id:references:to; bh=jiSEb06B4tXnpF9E/B3alCH5S7y0Y04HqT7uqrvCAFw=; b=RgwF1lnJ3vfKxpj/Sdqxly+rU+6imzFtuCBsN237wPcNsR4YbYTk81PpgAV6R1Yi+Y gXUDOzlboqDSuX+kvfP6XcQynCw2MwS0v8PmWjxQosGcRVLsw5ClARmlBGrJkCcy8RPK tRWJQ9CICJOYM5Ih4/d4ZG+KyqP/EHbvsnRf6gjlf9HN6zInrbHQ5QHwhlj+rrR+cYoh iJf1CXMokiobg6USudt9GsoDDp0+YjJS1RlBT5jaBMBm/GTuBS7Lw1zasNEVxJb+sAT8 ijGZ5y/G+jKUyKv6Dj1jIzxaVy1XDemhnIm9nvLoCe3Q2Zd1ZXSCG2RUO/HehYL7ADyp YmEQ== X-Gm-Message-State: ALoCoQmPN32eVzUgCKp7J6a09EexUuu9+iVEszT9VNfMb0X5OH5S/MIHe4/RePmjgofHkmk4dTo7 X-Received: by 10.194.177.132 with SMTP id cq4mr153188174wjc.99.1426845155252; Fri, 20 Mar 2015 02:52:35 -0700 (PDT) Received: from [10.15.38.46] ([5.20.223.100]) by mx.google.com with ESMTPSA id fs8sm2275001wib.8.2015.03.20.02.52.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Mar 2015 02:52:34 -0700 (PDT) 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:52:33 +0200 Message-Id: <0D7B72DF-8365-4E2A-931F-ABD710D9E9B3@par.lt> References: <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> To: =?utf-8?Q?Olivier_Cochard-Labb=C3=A9?= X-Mailer: Apple Mail (2.2070.6) 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:57:45 -0000 If I start freeradius under high load, packets doesn't reach the = destination - on sender side I see packets passing out (with tcpdump), = on receiver side tcpdump "see" only part of these packets - some of them = are missing. > On 20 Mar 2015, at 11:49, Olivier Cochard-Labb=C3=A9 = wrote: >=20 > On Fri, Mar 20, 2015 at 10:23 AM, Vaidas Damo=C5=A1evi=C4=8Dius = > wrote: > Hello, >=20 > =E2=80=8BHi, > =E2=80=8B=20 >=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 >=20 >=20 > =E2=80=8BThe result display a Lost/Total ratio of 0/159: Where do you = see missing UDP packets ? > By default iperf send only 1 Mbit/sec in UDP mode: I didn't see any = problem on these stats. >=20 > Regards, >=20 > Olivier >=20 >=20 > =E2=80=8B=20