我试图通过iperf测试UDP多播吞吐量,但似乎它不是从我的开发机器发送超过10Mbit / s:
C:\> iperf -c 224.0.166.111 -u -T 1 -t 100 -i 1 -b 1000000000
------------------------------------------------------------
Client connecting to 224.0.166.111, UDP port 5001
Sending 1470 byte datagrams
Setting multicast TTL to 1
UDP buffer size: 8.00 KByte (default)
------------------------------------------------------------
[156] local 192.168.1.99 port 49693 connected with 224.0.166.111 port 5001
[ ID] Interval Transfer Bandwidth
[156] 0.0- 1.0 sec 1.22 MBytes 10.2 Mbits/sec
[156] 1.0- 2.0 sec 1.14 MBytes 9.57 Mbits/sec
[156] 2.0- 3.0 sec 1.14 MBytes 9.55 Mbits/sec
[156] 3.0- 4.0 sec 1.14 MBytes 9.56 Mbits/sec
[156] 4.0- 5.0 sec 1.14 MBytes 9.56 Mbits/sec
[156] 5.0- 6.0 sec 1.15 MBytes 9.62 Mbits/sec
[156] 6.0- 7.0 sec 1.14 MBytes 9.53 Mbits/sec
当我在另一台服务器上运行时,我得到了~80Mbit / s,这是相当好一点,但仍然没有接近我应该得到的1Gbps限制?
C:\> iperf -c 224.0.166.111 -u -T 1 -t 100 -i 1 -b 1000000000
------------------------------------------------------------
Client connecting to 224.0.166.111, UDP port 5001
Sending 1470 byte datagrams
Setting multicast TTL to 1
UDP buffer size: 8.00 KByte (default)
------------------------------------------------------------
[180] local 10.0.101.102 port 51559 connected with 224.0.166.111 port 5001
[ ID] Interval Transfer Bandwidth
[180] 0.0- 1.0 sec 8.60 MBytes 72.1 Mbits/sec
[180] 1.0- 2.0 sec 8.73 MBytes 73.2 Mbits/sec
[180] 2.0- 3.0 sec 8.76 MBytes 73.5 Mbits/sec
[180] 3.0- 4.0 sec 9.58 MBytes 80.3 Mbits/sec
[180] 4.0- 5.0 sec 9.95 MBytes 83.4 Mbits/sec
[180] 5.0- 6.0 sec 10.5 MBytes 87.9 Mbits/sec
[180] 6.0- 7.0 sec 10.9 MBytes 91.1 Mbits/sec
[180] 7.0- 8.0 sec 11.2 MBytes 94.0 Mbits/sec
任何人都知道为什么这没有达到接近链路限制(1Gbps)?
谢谢,
汤姆