株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

iperf3っていうコマンドで図ることができるよ。

#インストール
[root@LinuxServer ~]# yum -y install iperf3

#受け側サーバで実行
[root@LinuxServer ~]# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

#送り側サーバで実行
#10秒間で12GB送信でき、平均10.3 Gbits/secという意味のよう
#ちなみにESXi上の仮想マシン同士で接続されているルータは10GBPS対応
[root@HYPERION ~]# iperf3 -c 192.168.0.86
Connecting to host 192.168.0.86, port 5201
[  4] local 192.168.0.45 port 51070 connected to 192.168.0.86 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   992 MBytes  8.32 Gbits/sec  382    389 KBytes
[  4]   1.00-2.00   sec  1.26 GBytes  10.8 Gbits/sec  435    556 KBytes
[  4]   2.00-3.00   sec  1.25 GBytes  10.7 Gbits/sec  488    609 KBytes
[  4]   3.00-4.00   sec  1.19 GBytes  10.2 Gbits/sec  458    321 KBytes
[  4]   4.00-5.00   sec  1.22 GBytes  10.5 Gbits/sec  371    335 KBytes
[  4]   5.00-6.00   sec  1.23 GBytes  10.6 Gbits/sec  499    414 KBytes
[  4]   6.00-7.00   sec  1.23 GBytes  10.6 Gbits/sec  544    438 KBytes
[  4]   7.00-8.00   sec  1.21 GBytes  10.4 Gbits/sec  598    578 KBytes
[  4]   8.00-9.00   sec  1.26 GBytes  10.8 Gbits/sec  451    505 KBytes
[  4]   9.00-10.00  sec  1.21 GBytes  10.4 Gbits/sec  471    518 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  12.0 GBytes  10.3 Gbits/sec  4697             sender
[  4]   0.00-10.00  sec  12.0 GBytes  10.3 Gbits/sec                  receiver

iperf Done.

#10GBPS出ている
[root@HYPERION ~]# ethtool ens192 | grep Speed
        Speed: 10000Mb/s

おまけ
ESXi上の仮想マシンに対して、ノートPCのCentOSから送ってみる。

[root@AZRAEL ~]# iperf3 -c 192.168.0.86
Connecting to host 192.168.0.86, port 5201
[  4] local 192.168.0.36 port 47506 connected to 192.168.0.86 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   112 MBytes   941 Mbits/sec    0    239 KBytes
[  4]   1.00-2.00   sec   112 MBytes   937 Mbits/sec    0    252 KBytes
[  4]   2.00-3.00   sec   112 MBytes   936 Mbits/sec    0    252 KBytes
[  4]   3.00-4.00   sec   111 MBytes   934 Mbits/sec    0    279 KBytes
[  4]   4.00-5.00   sec   111 MBytes   935 Mbits/sec    0    294 KBytes
[  4]   5.00-6.00   sec   111 MBytes   931 Mbits/sec    0    324 KBytes
[  4]   6.00-7.00   sec   112 MBytes   936 Mbits/sec    0    324 KBytes
[  4]   7.00-8.00   sec   111 MBytes   933 Mbits/sec    0    324 KBytes
[  4]   8.00-9.00   sec   112 MBytes   941 Mbits/sec    0    433 KBytes
[  4]   9.00-10.00  sec   111 MBytes   934 Mbits/sec    0    472 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.09 GBytes   935 Mbits/sec                  receiver

iperf Done.

[root@AZRAEL ~]# ethtool enp9s0 | grep Speed
        Speed: 1000Mb/s

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)