Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrishuan9/29f91cde8c09e97a8a5a1ef90c6186ff to your computer and use it in GitHub Desktop.
Save chrishuan9/29f91cde8c09e97a8a5a1ef90c6186ff to your computer and use it in GitHub Desktop.
Testing multicast with iperf
this is a sample of output:
root@percona-db-2:~# iperf -s -u -B 226.94.1.1 -i 1
------------------------------------------------------------
Server listening on UDP port 5001
Binding to local address 226.94.1.1
Joining multicast group 226.94.1.1
Receiving 1470 byte datagrams
UDP buffer size: 122 KByte (default)
------------------------------------------------------------
[ 3] local 226.94.1.1 port 5001 connected with 212.11.66.254 port 49525
[ ID] Interval Transfer Bandwidth Jitter Lost/Total
Datagrams
[ 3] 0.0- 1.0 sec 128 KBytes 1.05 Mbits/sec 0.037 ms 0/ 89
(0%)
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec 0.020 ms 0/ 89
(0%)
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec 0.021 ms 0/ 89
(0%)
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec 0.022 ms 0/ 269
(0%)
^C
root@percona-prm:~# iperf -c 226.94.1.1 -u -T 32 -t 3 -i 1
------------------------------------------------------------
Client connecting to 226.94.1.1, UDP port 5001
Sending 1470 byte datagrams
Setting multicast TTL to 32
UDP buffer size: 122 KByte (default)
------------------------------------------------------------
[ 3] local 212.11.66.254 port 49525 connected with 226.94.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 129 KBytes 1.06 Mbits/sec
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec
[ 3] Sent 269 datagrams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment