Title: Quality of Service QoS tools Iperf, QoS Analyzer
1Quality of Service (QoS) toolsIperf, QoS
Analyzer
- Sujay Daniel, NJEDge.Net
- DRG Meeting - February 19, 2004
2Iperfhttp//dast.nlanr.net/Projects/Iperf/
- A client-server program for fine tuning network
parameters and for measuring bandwidth
performance - Helps in tuning TCP connections by providing
tuning options on parameters like window size,
maximum transmission unit (MTU) - Helps in tuning UDP connections by providing
reports on delay jitter and packet loss - Version available for IPv6
- Runs on various platforms
- Windows, Linux, SGI IRIX, HP-UX, Solaris, AIX,
and Cray UNICOS
3Running Iperf in server mode
- node2gt iperf -s
- --------------------------------------------------
---------- - Server listening on TCP port 5001
- TCP window size 60.0 KByte (default)
- --------------------------------------------------
---------- - 4 local ltIP Addr node2gt port 5001 connected
with ltIP Addr node1gt port 2357 - ID Interval Transfer Bandwidth
- 4 0.0-10.1 sec 6.5 MBytes 5.2 Mbits/sec
Running Iperf in client mode
node1gt iperf -c ltIP Addr node2gt ------------------
------------------------------------------ Client
connecting to node1, TCP port 5001 TCP window
size 59.9 KByte (default) -----------------------
------------------------------------- 3 local
ltIP Addr node1gt port 2357 connected with ltIP Addr
node2gt port 5001 ID Interval Transfer
Bandwidth 3 0.0-10.0 sec 6.5 MBytes 5.2
Mbits/sec
4TCP tuning
- node2gt iperf -s
- --------------------------------------------------
---------- - Server listening on TCP port 5001
- TCP window size 60.0 KByte (default)
- --------------------------------------------------
---------- - 4 local ltIP Addr node2gt port 5001 connected
with ltIP Addr node1gt port 2357 - ID Interval Transfer Bandwidth
- 4 0.0-10.1 sec 6.5 MBytes 5.2 Mbits/sec
- node1gt iperf -c node2
- --------------------------------------------------
---------- - Client connecting to node1, TCP port 5001
- TCP window size 59.9 KByte (default)
- --------------------------------------------------
---------- - 3 local ltIP Addr node1gt port 2357 connected
with ltIP Addr node2gt port 5001 - ID Interval Transfer Bandwidth
- 3 0.0-10.0 sec 6.5 MBytes 5.2 Mbits/sec
- --------------------------------------------------
------------------------------
5UDP measurements
- node2gt iperf -s -u -l 32k -w 128k -i 1
- --------------------------------------------------
---------- - Server listening on UDP port 5001
- Receiving 32768 byte datagrams
- UDP buffer size 128 KByte
- --------------------------------------------------
---------- - 3 local ltIP Addr node2gt port 5001 connected
with ltIP Addr node1gt port 11303 - ID Interval Transfer Bandwidth
Jitter Lost/Total Datagrams - 3 0.0- 1.0 sec 1.3 MBytes 10.0 Mbits/sec
0.430 ms 0/ 41 (0) - 3 1.0- 2.0 sec 1.1 MBytes 8.5 Mbits/sec
5.996 ms 6/ 40 (15) - 3 2.0- 3.0 sec 1.2 MBytes 9.7 Mbits/sec
0.796 ms 1/ 40 (2.5) - 3 3.0- 4.0 sec 1.2 MBytes 10.0 Mbits/sec
0.403 ms 0/ 40 (0) - 3 4.0- 5.0 sec 1.2 MBytes 10.0 Mbits/sec
0.448 ms 0/ 40 (0) - 3 5.0- 6.0 sec 1.2 MBytes 10.0 Mbits/sec
0.464 ms 0/ 40 (0) - 3 6.0- 7.0 sec 1.2 MBytes 10.0 Mbits/sec
0.442 ms 0/ 40 (0) - 3 7.0- 8.0 sec 1.2 MBytes 10.0 Mbits/sec
0.342 ms 0/ 40 (0) - 3 8.0- 9.0 sec 1.2 MBytes 10.0 Mbits/sec
0.431 ms 0/ 40 (0) - 3 9.0-10.0 sec 1.2 MBytes 10.0 Mbits/sec
0.407 ms 0/ 40 (0) - 3 0.0-10.0 sec 12.3 MBytes 9.8 Mbits/sec
0.407 ms 7/ 401 (1.7)
node1gt iperf -c node2 -b 10m -l 32k -w
128k ---------------------------------------------
--------------- Client connecting to node2, UDP
port 5001 Sending 32768 byte datagrams UDP buffer
size 128 KByte ---------------------------------
--------------------------- 3 local ltIP Addr
node2gt port 11303 connected with ltIP Addr node1gt
port 5001 ID Interval Transfer
Bandwidth 3 0.0-10.0 sec 12.5 MBytes 10.0
Mbits/sec 3 Sent 401 datagrams
6JPerf The IPerf front end
Requirements for running Jperf Jperf requires a
java virtual machine version 1.4 or greater. To
compile Jperf you also need a java compiler 1.4
or greater. These can be obtained from Sun
Microsystems.
7Iperf
To learn more Iperf - http//dast.nlanr.net/Proje
cts/Iperf/ Jperf - http//dast.nlanr.net/projects/
jperf/ The National Laboratory for Applied
Network Research (NLANR) - http//www.nlanr.net/
8QoS Analyzerhttps//ascotel.ascom.ch/extra/suppor
t/software/voip/qos-analyzer/qos_5.02.00.zip
9QoS Analyzer
Requirements The QoS Analyzer Client requires
the JRE, version 1.2 or higher, to be installed
before the installation of the QoS Analyzer
itself. JRE can be downloaded from Java Homepage
of Sun Microsystems (java.sun.com). Type of
Service (ToS) support ToS bits marking
functionality is disabled by default on Windows
2000 and Windows XP The installation program
modifies the registry for these OS to enable
packet marking FREE TRIAL LICENCE for 360 days,
10QoS Analyzer EchoServer
Usage nodegtQos_EchoServer ltportgt (To prevent
port conflict with CTM web endpoint, Netmeeting
etc)
11QoS Analyzer Client Main Window
Test Presets
12QoS AnalyzerAdding addressing details
Use port of servers signaling port
13QoS AnalyzerConfiguring Stream Parameters
number of streams to be measured
14QoS AnalyzerConfiguring Call Parameters
Set to 1 call per stream
Distributed, Random, Burst
100 packets per call
G711, G723, G729 and others
15QoS AnalyzerMarking packets (Setting ToS byte)
IP precedence of 4
16QoS AnalyzerStart the test
Click Measure to start the test
17QoS AnalyzerMeasurements
18QoS AnalyzerViewing details for a stream
Pick a stream and click on Load Stream
19QoS AnalyzerStream Details Delay Distribution
Chart
20QoS AnalyzerStream Details Per packet delay
chart
21QoS AnalyzerCreate report for all measured
streams
22(No Transcript)
23Ideal delay and Jitter graphs
24QoS AnalyzerMarking packets (Setting ToS byte)
- Mark outgoing packets at client
- Verify that the server is
- receiving marked packets
- Verify incoming packets at client
- Compare jitter and delay values of marked and
unmarked packets by setting ToS .byte to 0 and 4
25UDP Packet captured using Ethereal QoS analyzer
client to EchoServer
Marked
26Packet echoed back to client with same ToS byte
marking
Marked
27Links to other monitoring tools
QoS tools for non-Windows platforms
http//www.fokus.gmd.de/research/cc/glone/project
s/ip-qos/tools/qos.html More commercial
public domain monitoring tools http//www.adminfa
vorites.com/cat_monitor/ Ethereal can be
downloaded from http//www.ethereal.com/