帯域幅の速度を確認するために、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
答え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