Saturday, June 14, 2008

How to check Network speed (Bandwidth / throughput) between servers

One of the best tool I used to check network (bandwidth / throughput) speed is, iperf. The easiest way to install iperf is just google for iperf RPM, download appropriate rpm for your server.

You donot have to be an expert to run iperf. once iperf is installed in your server, just run iperf -s in the server and iperf -c ServerIP in client. Thats all, you will get the result. iperf is having many options to investigate your network performance.

For example:

At Server
=======

iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 32.00 KByte (default)
------------------------------------------------------------

At Client
======

iperf -c 10.0.0.5
------------------------------------------------------------
Client connecting to 10.0.0.5, TCP port 5001
TCP window size: 32.00 KByte (default)
------------------------------------------------------------
[1912] local 10.0.0.211 port 1793 connected with 10.0.0.5 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0-10.0 sec 103 MBytes 94 Mbits/sec

-----------------------------------------------------------------------------------------------------------------
Topics will be covered in this Blog are : Linux System Administrator - Memory Performance Tuning - File System - User Group - Linux / Unix Commands Processes - Virtual Swap Memory - Mail Server - Remote Access - Linux Permissions - Boot procedure system Logging - Network (xinetd) Configuration (ifconfig) - DNS - DHCP - Web Server - Kernel - Shell Script - Tuning Optimization High Availability Heart-BeatClustering-Backup and Recovery - Network Time Protocol - NIS - NFS - RPM Partition - /proc - Scheduling (crontab) - mount unmount - secured shell (ssh) - Remote Access - Virtual Network Computing (VNC) Default Ports - Services
-----------------------------------------------------------------------------------------------------------------