network performance measurement using Iperf

Post on 15-Apr-2017

124 views 9 download

Transcript of network performance measurement using Iperf

1

Network performance measurement using IPERF

By Shravankumar Kiran Bhat

2

Measurement of parameters of network

Bandwidth Latency

Error Rate Jitter

3

IPERF is tool for measurement of the maximum achievable

bandwidth for IP networks

4

Why Iperf ?

No manual data input Multiple parallel streams

How it works ?

SERVER

iperf -s

CLIENT

iperf -c <SERVER_IP>

5

data

6

Server

7

Client

8

Options

Server

9

-i set interval between reports

10

-i set interval between reports

Client

11

Server

-u Perform a UDP test

12

Client

-u Perform a UDP test

13

Client

-b Set target bandwidth

14

Server

-b Set target bandwidth

15

-t Time in seconds to transmit dataClient

16

Server

-t Time in seconds to transmit data

17

Client

-n Bytes to transmit

18

Server

-n Bytes to transmit

19

Client

-w Set window size

20

Server

-w Set window size

21

-m display maximum segment size

Client

22

-m display maximum segment size

Server

23

-P Number of parallel streams Client

24

-P Number of parallel streams Server

25

Client

-F Data as an input file

26

Server

-F Data as an input file

27

Client

-f Format of output

28

Different formats which can be used

K - KilobytesM - MegabytesG - Gigabytesk - Kilobitsm - Megabitsg - Gigabits

29

Server

-f Format of output

30

Client

-p Port to use

31

Server

-p Port to use

32

Client

-l Specify datagram size

33

Server

-l Specify datagram size

34

Client

-r Bidirectional individual bandwidth measurement

35

Server

-r Bidirectional individual bandwidth measurement

36

Tired of commands ?

Use

Jperf !

37Image courtesy of code.google.com/p/xjperf/

-s - Specify host as a server-c - Specify host as client-u - Perform UDP test-i - Interval between reports-t - Time to transmit for-n - Bytes to transmit-w - Set TCP window size-P - Number of parallel streams to use-b - Target bandwidth-F - Input data via a file-f - Format of output-p - port to listen to-l - Datagram size of UDP to use-r - Bidirectional Individual bandwidth -d - Bidirectional simultaneous bandwidth measurement-D – Run server as daemon. Output to a file

PARAMETER LIST

38

Reference• http://www.openss7.org

• http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/

• http://www.tcpipguide.com/free/t_PerformanceMeasurementsSpeedBandwidthThroughputand.html

39

40