iperf が間違った出力を出す

iperf が間違った出力を出す

帯域幅の速度を確認するために、Windows および Linux マシンで iperf を実行しました。

Windows の帯域幅速度は明示的に 10Mbps/Full に設定し、Linux の BW 速度は 100Mbps/Full です。

以下は私が受け取った奇妙な出力です: クライアント側 (Linux ボックス):

iperf -c 192.168.1.72 -r
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
Client connecting to 192.168.1.72, TCP port 5001
TCP window size: 16.0 KByte (default)
[  5] local 192.168.1.70 port 52358 connected with 192.168.1.72 port 5001
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.2 sec  11.6 MBytes  **9.60 Mbits/sec**
[  4] local 192.168.1.70 port 5001 connected with 192.168.1.72 port 1334
[  4]  0.0-10.1 sec  11.2 MBytes  **9.34 Mbits/sec**

サーバー側(Windows Box)では次のようになります。

iperf.exe -s
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
[  4] local 192.168.1.72 port 5001 connected to 192.168.1.70 port 52358
[ ID] Interval Transfer Bandwidth
[  4] 0.0-10.4 sec 11.6 MBytes **9.40 Mbits/sec**
Client connecting to 192.168.1.70 port 5001
TCP window size: 64.0 KByte (default)
[  4] local 192.168.1.72 port 1334 connected with 192.168.1.70 port 5001
Waiting for server threads to complete. Interrupt again to force quit.
[  4] 0.0-10.1 sec 11.2 MBytes **9.35 Mbits/sec**

出力の違いが分かりません

答え1

NICの送信速度(100Mと10M)を混同しています。スループットiperf対策スループット

ネットワークが次のように設定されていると仮定します。

Windows---------[Ethernet Switch]-----------Linux
       10M/full                    100M/full

サーバー側かクライアント側が100M側かは関係ありません。TCPスループットは最低パスの帯域幅は 10Mbps を超えることはできません。つまり、このトポロジでは 10Mbps を超えることはできません。

もっと知りたいならスループット、Windows が 100M でリンクしていることを確認します。

答え2

予想していた Mbytes 出力ではなく、Mbits 出力になっていると思われます。--formatまたはスイッチを使用し-fて出力形式を変更できます。

次のクライアント コマンドを使用します。

KBytesの場合: iperf -f K -c 192.168.1.72 -r

MBytesの場合: iperf -f M -c 192.168.1.72 -r

詳細情報man iperf

関連情報