yamadattt's blog

忘れてもいいように記録する

iperfの結果(有線2.5GbE)ネットワークは速い!

この記事の続き。

yamadattt.hatenablog.jp

2.5GbEのハブが届いた。写真にある下のハブ。ちなみに、上のハブは今まで使用していた1GbEのハブ。

購入したのは、Planexのこれ。

iperfの結果

iperfの結果は以下。2.37 Gbits/secでている。ネットワークとしては、かなり速い印象。

結果詳細は以下。

yamadatt@mba fc2 % iperf3 -c 192.168.1.100
Connecting to host 192.168.1.100, port 5201
[  5] local 192.168.1.102 port 53198 connected to 192.168.1.100 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.01   sec   276 MBytes  2.31 Gbits/sec                  
[  5]   1.01-2.00   sec   282 MBytes  2.37 Gbits/sec                  
[  5]   2.00-3.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   3.00-4.00   sec   282 MBytes  2.37 Gbits/sec                  
[  5]   4.00-5.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   5.00-6.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   6.00-7.00   sec   284 MBytes  2.37 Gbits/sec                  
[  5]   7.00-8.00   sec   282 MBytes  2.37 Gbits/sec                  
[  5]   8.00-9.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   9.00-10.00  sec   283 MBytes  2.38 Gbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  2.76 GBytes  2.37 Gbits/sec                  sender
[  5]   0.00-10.00  sec  2.75 GBytes  2.36 Gbits/sec                  receiver

iperf Done.
yamadatt@mba fc2 % iperf3 -c 192.168.1.100 -R                       
Connecting to host 192.168.1.100, port 5201
Reverse mode, remote host 192.168.1.100 is sending
[  5] local 192.168.1.102 port 53206 connected to 192.168.1.100 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   281 MBytes  2.36 Gbits/sec                  
[  5]   1.00-2.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   2.00-3.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   3.00-4.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   4.00-5.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   5.00-6.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   6.00-7.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   7.00-8.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   8.00-9.00   sec   283 MBytes  2.37 Gbits/sec                  
[  5]   9.00-10.00  sec   283 MBytes  2.37 Gbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  2.77 GBytes  2.38 Gbits/sec    0             sender
[  5]   0.00-10.00  sec  2.76 GBytes  2.37 Gbits/sec                  receiver

iperf Done.

ファイルの転送

実際に1Gのファイルを転送してみると。127.0MB/sのスピード。1GbEのときは107MB/sだったので、少し向上している。

調べると、5600回転のHDDの書き込み速度は60~150MB/sのよう。なので、HDDの書き込み速度がボトルネックになっていると考えられる。SSDに変更すると、

yamadatt@mba fc2 % scp testfile yamadatt@192.168.1.100:/share/video/
yamadatt@192.168.1.100's password: 
testfile                                                                                                                    100% 1024MB 127.0MB/s   00:08    
yamadatt@mba fc2 % scp testfile yamadatt@192.168.1.100:/share/video/
yamadatt@192.168.1.100's password: 
Permission denied, please try again.
yamadatt@192.168.1.100's password: 
testfile                                                                                                                    100% 1024MB 126.9MB/s   00:08    
yamadatt@mba fc2 % scp testfile yamadatt@192.168.1.100:/share/video/
yamadatt@192.168.1.100's password: 
testfile                                                                                                                    100% 1024MB 107.7MB/s   00:09

逆なら速いかと思って、NAS→PCへの転送。読み込みだからか、多少速くなっている。

yamadatt@192.168.1.100's password: 
testfile                                                                                                                    100% 1024MB 134.2MB/s   00:07    
yamadatt@mba fc2 % scp yamadatt@192.168.1.100:/share/video/testfile ~/Downloads
yamadatt@192.168.1.100's password: 
testfile                                                                                                                    100% 1024MB 132.5MB/s   00:07    
yamadatt@mba fc2 % scp yamadatt@192.168.1.100:/share/video/testfile ~/Downloads
yamadatt@192.168.1.100's password: 
testfile                                                                                                                    100% 1024MB 133.6MB/s   00:07