Skip to main content

iperf3 to measure network bandwidth between linux servers

 1.Install iperf3 on both server and client:

    download:  https://iperf.fr/iperf-download.php#fedora


    Install with: rpm -ivh iperf3-3.1.3-1.fc24.x86_64.rpm

2.Run server to listen on port 5201 with below command:

   iperf3 -s -f K


Example:

 /]# iperf3 -s -f K

-----------------------------------------------------------

Server listening on 5201

-----------------------------------------------------------

Accepted connection from 10.10.10.1, port 44246

[  5] local 10.10.1.1 port 5201 connected to 10.10.10.1 port 44248

[ ID] Interval           Transfer     Bandwidth

[  5]   0.00-1.00   sec  3.01 GBytes  3157621 KBytes/sec

[  5]   1.00-2.00   sec  4.20 GBytes  4399773 KBytes/sec

[  5]   2.00-3.00   sec  2.20 GBytes  2305199 KBytes/sec

[  5]   3.00-4.00   sec  2.08 GBytes  2184224 KBytes/sec

[  5]   4.00-5.00   sec  2.65 GBytes  2775254 KBytes/sec

[  5]   5.00-6.00   sec  2.95 GBytes  3095611 KBytes/sec

[  5]   6.00-7.00   sec  2.81 GBytes  2942424 KBytes/sec

[  5]   7.00-8.00   sec  2.82 GBytes  2951992 KBytes/sec

[  5]   8.00-9.00   sec  3.64 GBytes  3815794 KBytes/sec

[  5]   9.00-10.00  sec  2.41 GBytes  2527937 KBytes/sec

[  5]  10.00-10.04  sec  76.0 MBytes  2078139 KBytes/sec

- - - - - - - - - - - - - - - - - - - - - - - - -

[ ID] Interval           Transfer     Bandwidth

[  5]   0.00-10.04  sec  0.00 Bytes  0.00 KBytes/sec                  sender

[  5]   0.00-10.04  sec  28.8 GBytes  3012197 KBytes/sec                  receiver

-----------------------------------------------------------

Server listening on 5201


3.For client run below command:

   ~]# iperf3 -c 10.10.10.2 -f K

Connecting to host 172.17.38.42, port 5201

[  4] local 10.10.10.2 port 44248 connected to 10.10.10.1 port 5201

[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd

[  4]   0.00-1.00   sec  3.17 GBytes  3320810 KBytes/sec    0   1.56 MBytes

[  4]   1.00-2.00   sec  4.12 GBytes  4317820 KBytes/sec    0   1.87 MBytes

[  4]   2.00-3.00   sec  2.21 GBytes  2319258 KBytes/sec    0   1.87 MBytes

[  4]   3.00-4.00   sec  2.06 GBytes  2160896 KBytes/sec    0   1.87 MBytes

[  4]   4.00-5.00   sec  2.70 GBytes  2835078 KBytes/sec    2   1.44 MBytes

[  4]   5.00-6.00   sec  2.92 GBytes  3065520 KBytes/sec    0   1.69 MBytes

[  4]   6.00-7.00   sec  2.80 GBytes  2937884 KBytes/sec    0   1.75 MBytes

[  4]   7.00-8.00   sec  2.85 GBytes  2989876 KBytes/sec    0   1.81 MBytes

[  4]   8.00-9.00   sec  3.61 GBytes  3788754 KBytes/sec    0   1.87 MBytes

[  4]   9.00-10.00  sec  2.38 GBytes  2497104 KBytes/sec    0   1.94 MBytes

- - - - - - - - - - - - - - - - - - - - - - - - -

[ ID] Interval           Transfer     Bandwidth       Retr

[  4]   0.00-10.00  sec  28.8 GBytes  3023283 KBytes/sec    2             sender

[  4]   0.00-10.00  sec  28.8 GBytes  3023283 KBytes/sec                  receiver



 

Comments

Popular posts from this blog

How to Open KVM oVirt Virtual machine console from windows

  To open virtual machine console from ovirt manager (KVM) 1. Download and Install ovirt-viewer from the below link:     https://virt-manager.org/download 2.From browser open ovirt engine and login to administrator portal 3.Right click the virtual machine and choose "Console" 4.Console file be getting created on your windows->downloads 5.Right click the file ->Properties and change the file "Opens With:" as a new program and browse till c:\program files->ovirt-viewer-> "Remote-Viewer" type 5.Now double click on the "Console.vv" file will open the console:

Deploy OVF fails Issues detected with selected template. Details: VALUE_ILLEGAL: No supported hardware versions among [virtualbox-2.2]; supported: [vmx-04, vmx-07, vmx-08, vmx-09, vmx-10, vmx-11, vmx-12, vmx-13, vmx-14, vmx-15, vmx-16, vmx-17, vmx-18, vmx-19].

 Error: While deploy using OVF file ,getting error as : Issues detected with selected template. Details: - -1:-1:VALUE_ILLEGAL: No supported hardware versions among [virtualbox-2.2]; supported: [vmx-04, vmx-07, vmx-08, vmx-09, vmx-10, vmx-11, vmx-12, vmx-13, vmx-14, vmx-15, vmx-16, vmx-17, vmx-18, vmx-19]. Solution: Open .OVF file and edit       <Info>Virtual hardware requirements for a virtual machine</Info>       <System>         <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>         <vssd:InstanceID>0</vssd:InstanceID>         <vssd:VirtualSystemIdentifier>zabbix_appliance-6.2.7</vssd:VirtualSystemIdentifier>         <vssd:VirtualSystemType> virtualbox-2.2 </vssd:VirtualSystemType>       </System> to  vmx-19       <Info>Virtual hardware requireme...

HPE Morpheus UI loading hangs

  Error: After Morpheus installation, the UI hangs, saying loading. Solution: edit /etc/morpheus/morpheus.rb file and mark below parameter as "false" ui['morpheus_hub_enabled'] = false   Then run the below command to reconfigure: morpheus-ctl stop morpheus-ui morpheus-ctl reconfigure morpheus-ctl start morpheus-ui