Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 16:02:03 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Marc Olzheim" <marcolz@stack.nl>, "Meny Yossefi" <menyy@mellanox.com>
Cc:        freebsd-net@freebsd.org, Oded Shanoon <odeds@mellanox.com>
Subject:   Re: UDP traffic, msg size exceeds 9215 Bytes
Message-ID:  <0F2B39164CA846AFBBE0EF697EFE3407@multiplay.co.uk>
References:  <F2E47A38E4D0B9499D76F2AB8901571A8875009F@MTLDAG01.mtl.com> <20131128124944.GA15691@zlo.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
You really shouldnt allow the application to send packets that big
as you'll end up with fragmentation and due to UDP protocol issues
and hackers abusing them (the port for fragemented packets isn't set)
you'll often find fragmented udp packets are simply blocked.

    Regards
    Steve

----- Original Message ----- 
From: "Marc Olzheim" <marcolz@stack.nl>
To: "Meny Yossefi" <menyy@mellanox.com>
Cc: <freebsd-net@freebsd.org>; "Oded Shanoon" <odeds@mellanox.com>
Sent: Thursday, November 28, 2013 12:49 PM
Subject: Re: UDP traffic, msg size exceeds 9215 Bytes


> On Thu, Nov 28, 2013 at 12:43:43PM +0000, Meny Yossefi wrote:
>> Hi all,
>>
>> We've been running some benchmarks (Netperf, Iperf) on our driver (Mellanox), 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.
>>
>> We've spotted the same behavior on different vendors which lead us to believe 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 = 9216 bytes...
>
> Marc
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0F2B39164CA846AFBBE0EF697EFE3407>