[netperf-talk] Questions on UDP_STREAM test

Jay Kim jay.m.kim at samsung.com
Mon Jan 7 17:19:38 PST 2008


Hi, I'm learning netperf now.

When using UDP_STREAM tests, I have the following questions. Would you please answer these?

1) Doesn't netperf provide parameters to control packet interval? For UDP test, I'm thinking to set a fixed data rate with a packet size and a packet interval parameters as iperf does. The packet size seems to be set by using '-m' option, but, I couldn't find how to control packet intervals. Am I missing something?

2) I thought that -w option (when compiling with --enabale-intervals) would be for controlling the interval, but it didn't work. What does this 'interval' mean?

3) What can I do if I want to run a UDP overload test, that is, sending UDP packet stream of rate more than actual network link capacity? Is it not possible with netperf?

Thanks. What I've got in my environment with udp_stream_script example is like the following;

$ ./udp_stream_script demeter

------------------------------------------------------
Testing with the following command line:
/usr/local/bin/netperf -l 60 -H demeter -i 10,2 -I 99,10 -t UDP_STREAM -- -m 64 -s 32768 -S 32768
UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to demeter (10.89.1.122) port 0 AF_INET : +/-5.0% @ 99% conf.  : interval
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

 32768      64   59.99     2855756      0      24.37
 32768           59.99     2849044             24.31


------------------------------------------------------
Testing with the following command line:
/usr/local/bin/netperf -l 60 -H demeter -i 10,2 -I 99,10 -t UDP_STREAM -- -m 1024 -s 32768 -S 32768
UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to demeter (10.89.1.122) port 0 AF_INET : +/-5.0% @ 99% conf.  : interval
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

 32768    1024   60.00      678009      0      92.58
 32768           60.00      678009             92.58


------------------------------------------------------
Testing with the following command line:
/usr/local/bin/netperf -l 60 -H demeter -i 10,2 -I 99,10 -t UDP_STREAM -- -m 1472 -s 32768 -S 32768
UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to demeter (10.89.1.122) port 0 AF_INET : +/-5.0% @ 99% conf.  : interval
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

 32768    1472   59.99      481993      0      94.61
 32768           59.99      481993             94.61


If you wish to submit these results to the netperf database at
http://www.cup.hp.com/netperf/NetperfPage.html, please submit each
datapoint individually. Individual datapoints are separated by
lines of dashes.


- jay


More information about the netperf-talk mailing list