From owner-freebsd-net@FreeBSD.ORG Thu Nov 28 13:00:39 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F370B4F for ; Thu, 28 Nov 2013 13:00:39 +0000 (UTC) Received: from eu1sys200aog117.obsmtp.com (eu1sys200aog117.obsmtp.com [207.126.144.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 86DA31CC4 for ; Thu, 28 Nov 2013 13:00:38 +0000 (UTC) Received: from MTLCAS01.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKUpc+dLbRu39AKP/90vBSh8EJeu1e8zwl@postini.com; Thu, 28 Nov 2013 13:00:38 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS01.mtl.com ([10.0.8.71]) with mapi id 14.03.0123.003; Thu, 28 Nov 2013 14:54:02 +0200 From: Meny Yossefi To: Marc Olzheim , "freebsd-net@freebsd.org" Subject: RE: UDP traffic, msg size exceeds 9215 Bytes Thread-Topic: UDP traffic, msg size exceeds 9215 Bytes Thread-Index: Ac7sB0a0MvWgPAi+SpCpDDit3uPaqAAIEV4AAARP5CA= Date: Thu, 28 Nov 2013 12:53:59 +0000 Message-ID: References: <20131128124944.GA15691@zlo.nu> In-Reply-To: <20131128124944.GA15691@zlo.nu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Oded Shanoon X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 13:00:39 -0000 Nope, I wasn't aware of it. It works now. Thanks! -Meny -----Original Message----- From: Marc Olzheim [mailto:marcolz@stack.nl]=20 Sent: Thursday, November 28, 2013 2:50 PM To: Meny Yossefi Cc: freebsd-net@freebsd.org; Oded Shanoon Subject: Re: UDP traffic, msg size exceeds 9215 Bytes On Thu, Nov 28, 2013 at 12:43:43PM +0000, Meny Yossefi wrote: > Hi all, >=20 > We've been running some benchmarks (Netperf, Iperf) on our driver (Mellan= ox), and witnessed an odd behavior. > We saw that when running UDP traffic with msg size larger than 9215 bytes= , it gets dropped for some reason. MTU is 1500. >=20 > We've spotted the same behavior on different vendors which lead us to bel= ieve there's some kernel issue that we are missing here. Did you meddle with sysctl net.inet.udp.maxdgram yet ? The default value is 6 * 1536 =3D 9216 bytes... Marc