iperf

Test Bandwidth on EC2 instances with iperf3

  1. Install iperf

[root@centos64 ~]# yum install iperf iperf3
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror2.evolution-host.com
* elrepo: ca.mirror.babylon.network
* epel: mirror.math.princeton.edu
* extras: centos.mirror.rafal.ca
* rpmforge: repoforge.mirror.constant.com
* updates: mirror2.evolution-host.com
Resolving Dependencies
–> Running transaction check
—> Package iperf.x86_64 0:2.0.5-11.el6 will be installed
—> Package iperf3.x86_64 0:3.0.12-1.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package          Arch             Version                 Repository      Size
================================================================================
Installing:
iperf            x86_64           2.0.5-11.el6            epel            53 k
iperf3           x86_64           3.0.12-1.el6            epel            65 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 118 k
Installed size: 279 k
Is this ok [y/N]: y

 

Downloading Packages:
(1/2): iperf-2.0.5-11.el6.x86_64.rpm                                                                            |  53 kB     00:00
(2/2): iperf3-3.0.12-1.el6.x86_64.rpm                                                                           |  65 kB     00:00
—————————————————————————————————————————————
Total                                                                                                  445 kB/s | 118 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : iperf3-3.0.12-1.el6.x86_64                                                                                          1/2
Installing : iperf-2.0.5-11.el6.x86_64                                                                                           2/2
Verifying  : iperf-2.0.5-11.el6.x86_64                                                                                           1/2
Verifying  : iperf3-3.0.12-1.el6.x86_64                                                                                          2/2

Installed:
iperf.x86_64 0:2.0.5-11.el6                                       iperf3.x86_64 0:3.0.12-1.el6

Complete!
[root@centos64 ~]#

 

[root@centos64 ~]# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————

Leave a comment