[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ee2ba554-80e3-aa10-9a95-c3a44e9aac2f@hpe.com>
Date: Mon, 28 Nov 2016 10:40:32 -0800
From: Rick Jones <rick.jones2@....com>
To: Jesper Dangaard Brouer <brouer@...hat.com>,
Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: Netperf UDP issue with connected sockets
On 11/28/2016 10:33 AM, Rick Jones wrote:
> On 11/17/2016 12:16 AM, Jesper Dangaard Brouer wrote:
>>> time to try IP_MTU_DISCOVER ;)
>>
>> To Rick, maybe you can find a good solution or option with Eric's hint,
>> to send appropriate sized UDP packets with Don't Fragment (DF).
>
> Jesper -
>
> Top of trunk has a change adding an omni, test-specific -f option which
> will set IP_MTU_DISCOVER:IP_PMTUDISC_DO on the data socket. Is that
> sufficient to your needs?
Usage examples:
raj@...dy:~/netperf2_trunk/src$ ./netperf -t UDP_STREAM -l 1 -H
raj-folio.americas.hpqcorp.net -- -m 1472 -f
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
raj-folio.americas.hpqcorp.net () port 0 AF_INET
Socket Message Elapsed Messages
Size Size Time Okay Errors Throughput
bytes bytes secs # # 10^6bits/sec
212992 1472 1.00 77495 0 912.35
212992 1.00 77495 912.35
[1]+ Done emacs nettest_omni.c
raj@...dy:~/netperf2_trunk/src$ ./netperf -t UDP_STREAM -l 1 -H
raj-folio.americas.hpqcorp.net -- -m 14720 -f
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
raj-folio.americas.hpqcorp.net () port 0 AF_INET
send_data: data send error: Message too long (errno 90)
netperf: send_omni: send_data failed: Message too long
happy benchmarking,
rick jones
Powered by blists - more mailing lists