dvping


Introduction

The dvping package includes dvmcast/dvping.

dvmcast/dvping are tools for testing the network performance for the DVTS or other UDP based high performance applications. DVTS is the system that transmits DV streams from IEEE1394 over IP. It is developed in the WIDE project.

DVTS requires 30 Mbps bandwidth for the UDP stream. dvmcast/dvping can test the end-to-end packet loss, rtt and throughput of the network without real DVTS applications, which can save a lot of debugging time both for the end users as well as network administrators.

dvmcast/dvping can support IPv4 and IPv6, unicast and multicast, ASM and SSM.

How it works

dvmcast is a unicast/multicast sender or reflector for the DVTS stream.

dvping is a program similar to ping. It sends a simulated DVTS stream with different throughput to dvmcast daemon and receives the reflected stream to get the round trip statistics of the network.

Download

The source code can be downloaded here.

Building

Currently, these codes are for the Linux OS and MS Windows. You may use
      make 
to build the executables which will be put in the bin directory.

Usage

dvmcast [-h] [-t time_limit]
        [-l log_file] [-lp log_period] [-ot open_th] [-ft fluc_th]
        [-noloop] [-dvf dv_file] 
        [-4|-6] [-rp rcv_port] [-asm grp] [-ssm src grp] [-sf src_flt] [-sff sf_file]
        [-ech ech_port] [-d [dst_addr] [dst_port]] [-df dst_file] 
parameter description
-h			help
-t time_limit		***
-l log_file		log the statistics
-lp log_period		log_period in seconds
-ot open_th		threshold for the log statistics
-ft fluc_th		***
-noloop			send the content of the DVTS file with loop (once)
-4			IPv4
-6			IPv6
-rp rcv_port		UDP port for receiving the DVTS stream
-asm grp		group address of the ASM join
-ssm src grp		source address and group address of the SSM join
-sf src_flt		***
-sff sf_file		***
-ech ech_port		reflection mode the sending UDP port
-d dst_addr dst_port	send the DVTS stream to the destination address and port
-df dst_file		save to a file

dvping [-h] [-p snd_port] [-rp rcv_port] [-t period] [-bw bandwidth] host
parameter description
-h      		help
-p      		sending port (default is 8000) [only change this value when the dvts_echo_server asks for]
-rp     		receiving port (default is 8000) [only change this value when the dvts_echo_server asks for]
-t      		time duration of each throughput (seconds)
-bw     		throughput (bps, k and m are allowed)
host    		host IP address

Additional notes for the dvping:
(1) The test throughput is start from 1Mbps, and then 2Mbps, 4Mbps, 8Mbps, 16Mbps and 32Mbps.
(2) This application can adopt the network performance, when the packet loss exceeds a threthold, 
the sending throughput will not increase.

Examples

% dvmcast -rp 8001-ech 8001 

% dvping -p 8001 -rp 8001 202.112.x.x
ping 202.112.x.x with dvts data:
send port:8001
recv port:8001
period   :10 s
snd_pkt  rcv_pkt  snd_rate     rcv_rate     loss      rtt
913      913      1Mbps        1Mbps        0%        11ms
1824     1824     2Mbps        2Mbps        0%        5.515ms
3646     3646     4Mbps        4Mbps        0%        4.731ms
7291     7291     8Mbps        8Mbps        0%        4.594ms
14578    14578    16Mbps       16Mbps       0%        4.511ms
29153    29153    32Mbps       32Mbps       0%        4.472ms

Credits

Design and coding: 
  Xing Li <xing@cernet.edu.cn>
  Congxiao Bao <congxiao@cernet.edu.cn>
  Jinpeng Jiang <jjp02@mails.tsinghua.edu.cn>

Contributions:

License

See top of the individual source files.

Bugs/feedback

We would be happy for any feedback.
   sasm3.adm@gmail.com

Updated on 2008-06-03