[netperf-talk] DCCP Unidirectional with Omni Tests

Rick Jones rick.jones2 at hp.com
Thu Aug 12 09:46:30 PDT 2010


Tim Schneider wrote:
> Hey everyone,
> 
> I got Netperf to compile since my last mail, but now I stumbled onto the next
> Problem.
> 
> I am trying to use Netperf to measure unidirectional DCCP Traffic. I am using
> Omni tests, since there's no other test, that allows to use DCCP (correct?). 

Yes, there is no src/nettest_dccp.c and corresponding DCCP_mumble tests.

> When I start the test, Netperf starts to send DCCP Packets, but after
> successfully sending a couple of them, i get a message
> 
> "netperf: send_omni: send_data failed: Resource temporarily unavailable
> send_data: data send error: errno 1"
> 
> I'm calling netperf with these commandline options:
> 
> netperf -t omni -H 127.0.0.1 -- -T dccp -m 1464 (localhost is just for
> testing the software, I will switch to a real network afterwards.)
> 
> when I add -r 1464, the test works just fine. Since I don't want to test
> Request/Response, this is no solution for me.
> 
> Omni tests also work fine with TCP, UDP and SCTP.
> 
> It would be great if someone could help me with this.

You are likely the first person to do much of anything "meaningful" with DCCP in 
the omni tests.

Presently, netperf expects to get "errors" only on a UDP send call, so getting 
one while sending DCCP will cause it to abort.  The question becomes how 
"normal" the error it is getting with DCCP happens to be and if then it needs to 
be special cased.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list