clock for blog

Office Hours
Mon-Fri 09:00-21:00

Knowledgebase: Non-Gizmo Specific
How To: Benchmark your network capabilities
Posted by Panagiotis Mantzouranis on 05 February 2014 11:44 AM

This tutorial will help you determine the maximum theoretical speed of your network & clients and possibly locate bottleneck and problems

It uses Jperf, a graphical frontend for Iperf written in Java.

We will be running the Jperf client on our server computer and the Iperf server on a client pc. The Jperf client will be creating random TCP or UDP packets for server to receive.

Note that, since all data transferred is created by the Iperf application, no disk reads are performed, so the hard disk performance does not affect the measurements.

 

  • First download the latest jperf package from here: https://code.google.com/p/xjperf/downloads/list Both client and server are integrated in the same executable.
  • Extract the package on your server and again on a client
  • Run jperf.bat. The main jperf window will open.

 

Physical Setup:

  • Physically disconnect all devices from you Lan; do not just turn them off
  • Connect 2 computers to the switch. Your server and 1 client.
  • Test you network speed (see below).
  • Repeat with a different client and/or a different switch port/ethernet link
  • Note down your result
  • Start adding devices to your lan - Repeat the test and note any abnormal changes.
  • Try to identify devices that (when active), worsen the test results.

 

Jpref Configuration:

To test TCP transfer rate use the following settings:

  • On Server PC, select client mode and enter the client pc's IP address. Select TCP in Transport Layer Options. Buffer Length 1MB. Leave all other settings to default
  • On Client PC, select server mode.  Select TCP in Transport Layer Options. Leave all other settings to default
  • (Optionally) Change Output format to Mbytes
  • Press Run Iperf, first on Client PC (server mode) and then on Server PC (client mode)

To test UDP multicast transfer rate use the following settings:

  • On Server PC, select client mode and enter 224.0.67.67 as address. Select UDP in Transport Layer Options. Set UDP Bandwidth to 20Mbytes/secSet UDP Packet Size to 63.9kbytes. Leave all other settings to default
  • On Client PC, select server modeSelect UDP in Transport Layer Options. Set UDP Packet Size to 63.9kbytesEnter 224.0.67.67 in IP Layer options - Bind to host. Leave all other settings to default
  • (Optionally) Change Output format to Mbytes
  • Press Run Iperf, first on Client PC (server mode) and then on Server PC (client mode)
  • Increase or decrease the UDP Bandwidth and repeat until the client starts dropping Datagrams. This is the theoretical UDP limit your network can handle. The actual speed Gizmo will be able to achieve will depend on many factors such as CPU and disk speeds. Note also that Gizmo verifies packet delivery contrary to iperf.
(3 vote(s))
Helpful
Not helpful