为什么在每个间隔中iperf3发送不同数量的数据报?

时间:2018-11-06 14:30:43

标签: udp iperf3

当我使用iperf3执行UDP测量时,为什么在每个间隔发送不同数量的数据报?它是怎么知道的(如果我们正在谈论UDP)更改发送的数据,如果它不是常量的话。

那么从本质上讲,为什么客户端上会有变化,它如何计算报告的吞吐量?

$iperf3 -u -t 10 -c 192.168.1.2 -b 100M -i 1 --get-server-output
Connecting to host 192.168.1.2, port 5201
[  5] local 192.168.1.1 port 39718 connected to 192.168.1.2 port 5201
[ ID] Interval           Transfer     Bitrate         Total Datagrams
[  5]   0.00-1.00   sec  4.51 MBytes  37.9 Mbits/sec  3268  
[  5]   1.00-2.00   sec  4.60 MBytes  38.6 Mbits/sec  3332  
[  5]   2.00-3.00   sec  4.25 MBytes  35.6 Mbits/sec  3076  
[  5]   3.00-4.00   sec  4.29 MBytes  36.0 Mbits/sec  3104  
[  5]   4.00-5.00   sec  4.64 MBytes  38.9 Mbits/sec  3360  
[  5]   5.00-6.00   sec  4.51 MBytes  37.8 Mbits/sec  3264  
[  5]   6.00-7.00   sec  4.57 MBytes  38.4 Mbits/sec  3312  
[  5]   7.00-8.00   sec  4.52 MBytes  37.9 Mbits/sec  3270  
[  5]   8.00-9.00   sec  4.48 MBytes  37.5 Mbits/sec  3241  
[  5]   9.00-10.00  sec  4.18 MBytes  35.0 Mbits/sec  3024  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.00  sec  44.5 MBytes  37.4 Mbits/sec  0.000 ms  0/32251 (0%)  sender
[  5]   0.00-10.29  sec  44.5 MBytes  36.3 Mbits/sec  8.382 ms  0/32251 (0%)  receiver

Server output:
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.1, port 49134
[  5] local 192.168.1.2 port 5201 connected to 192.168.1.1 port 39718
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec  4.27 MBytes  35.8 Mbits/sec  0.554 ms  0/3090 (0%)  
[  5]   1.00-2.00   sec  4.58 MBytes  38.4 Mbits/sec  0.448 ms  0/3320 (0%)  
[  5]   2.00-3.00   sec  4.27 MBytes  35.8 Mbits/sec  0.444 ms  0/3089 (0%)  
[  5]   3.00-4.00   sec  4.29 MBytes  36.0 Mbits/sec  0.410 ms  0/3110 (0%)  
[  5]   4.00-5.00   sec  4.61 MBytes  38.7 Mbits/sec  0.610 ms  0/3340 (0%)  
[  5]   5.00-6.00   sec  4.52 MBytes  37.9 Mbits/sec  0.775 ms  0/3272 (0%)  
[  5]   6.00-7.00   sec  4.57 MBytes  38.4 Mbits/sec  0.311 ms  0/3312 (0%)  
[  5]   7.00-8.00   sec  4.52 MBytes  37.9 Mbits/sec  0.560 ms  0/3275 (0%)  
[  5]   8.00-9.00   sec  4.49 MBytes  37.6 Mbits/sec  0.527 ms  0/3248 (0%)  
[  5]   9.00-10.00  sec  4.15 MBytes  34.8 Mbits/sec  0.611 ms  0/3002 (0%)  
[  5]  10.00-10.29  sec   273 KBytes  7.59 Mbits/sec  8.382 ms  0/193 (0%)  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.29  sec  44.5 MBytes  36.3 Mbits/sec  8.382 ms  0/32251 (0%)  receiver

0 个答案:

没有答案