How to Test a Network Throughput Using Iperf

How to Test a Network Throughput Using Iperf

book

Article ID: CTX126474

calendar_today

Updated On:

Description

This article describes how to test a network throughput using Iperf. Iperf allows administrators and engineers to test throughput between any two hosts, including physical systems and Virtual Machines (VM) running on XenServer.

Requirements

  • Iperf for Windows
    Download a copy of Iperf for Windows.
    This is executable
    which need not be installed. You can save it in any location and run it from command prompt (cmd).

  • Iperf for Linux
    Most Linux distributions include Iperf in their package repositories which can be downloaded and installed from there. Note that Iperf is not included in Dom0 and if installed would place your environment in an unsupported state until removed.


Instructions

Complete the following procedure:

  1. Run the following command to view Iperf options:
    # iperf.exe –h
    MACHINE1 – Iperf Server

  2. Run the following command on the Iperf server. This system accepts the communication from the Iperf client. Ensure that this system’s firewall does not block the communication (default port 5001).
    # iperf.exe -s
    MACHINE2 – Iperf Client

  3. Run the following command on the Iperf client and wait for the results.
    # iperf.exe -c <ip_of_iperf_server> -f M -t 30 -i 1

  4. When providing the performance report to Citrix Technical Support, include the following items:
  • Scenario description
  • Iperf Server IP/subnet
  • Iperf Client IP/subnet
  • Complete output from Iperf including the command

Issue/Introduction

This article describes how to test a network throughput using Iperf. Iperf allows administrators and engineers to test throughput between any two hosts, including physical systems and virtual machines running on XenServer.