Académique Documents
Professionnel Documents
Culture Documents
Report
Computer A, Computer networks, 7.5 points,
DT024G (distance)
IP networks - throughput
Test tools
Magnus Abrahamsson
IP networks - throughput
Magnus Abrahamsson 2010-02-17
Foreword
This is a short technical report written as an assignment in the course
Datornätverk. The report is actually an extension to the one of the topics
we studied in this course. I have chosen write a report that you could
say is a mix of the subject “Test and compare two types of software in the
area of data communication” and “Compare two data communication stan-
dards”. I will look closer on test tools to measure IP network perform-
ance with focus on throughput, and describe their advantages and
disadvantages.
It has been quit a challenge for me, but a good one. I hope you enjoy
reading it as much as I liked writing and working with it.
Kind regards
Magnus Abrahamsson
IP networks - throughput
Magnus Abrahamsson 2010-02-17
Table of Contents
Foreword ..........................................................................................................iii
1 Introduction............................................................................................5
1.1 Scope .............................................................................................5
1.2 Outline ..........................................................................................5
1.3 Contributions ...............................................................................5
3 Network tools.........................................................................................8
3.1 iperf ...............................................................................................8
3.2 jperf................................................................................................8
3.3 ntop................................................................................................9
5 Conclusions / Discussion...................................................................17
6 References.............................................................................................18
IP networks - throughput Introduction
Magnus Abrahamsson 2010-02-17
1 Introduction
How to measure throughput and if it’s really delivered is one of the
topics both end-users and network operators are discussing right now.
As networks become larger, more complex, and more heterogeneous
network management turns into an increasingly complex task. It re-
quires different types of network monitoring and diagnostic tools then
ping and traceroute, how are suitable just for tackling simple connectivity
problems. Both automated tools and special performance tools will be
necessary in the future to support the human effort.
1.1 Scope
There are several different network monitoring and diagnostic tools and
ways to measure the network performance in an IP network. This study
has its focus on how to measure of bandwidth/throughput with iperf and
ntop.
1.2 Outline
Chapter 2 gives you a description of different IP network performance
terms.
1.3 Contributions
Special big thanks to all colleagues at work which have been very sup-
portive during the whole process.
IP networks - throughput Network throughput introduction
Magnus Abrahamsson 2010-02-17
2.1 Throughput
How fast we actually can send data through a network. It’s usually
measured bit per second (bps).
You have to keep in mind that the value of “maximum throughput” could
have four different meanings depending of its context. They are:
Keep an eye on the lowest value link in the series, it’s referred to as the
bottleneck.
For example, in the case of file transfer, the goodput corresponds to the achieved
file transfer rate. The file transfer rate in bit/s can be calculated as the file size
(in bytes), divided by the file transfer time (in seconds), and multiplied by eight.
3 Network tools
We will in this chapter look deeper into two different tools, and see
what kind of network performance they actually measures.
3.1 iperf
iperf is a nifty little program for measuring TCP and UDP performance
between end points. It has both client and server pieces, so it requires
installation at both ends of the connection you're measuring. Via this
tool you then could measure throughput on your various network
segments, and collect jitter and datagram loss statistics. [4]
iperf Advantages
+ Easy to install
+ Possible to simulate application traffic
+ Could be running directional or bi-directional
+ Measures jitter on simulated traffic (UDP)
+ Measures packet lost.
+ Free (Open-source)
iperf Disadvantages
- lack of documentation
3.2 jperf
It’s possible to use a Java based GUI for iperf called jperf. I not going into
any further detail regarding this tool, only show you a screenshot from
it.
IP networks - throughput Network tools
Magnus Abrahamsson 2010-02-17
3.3 ntop
ntop is a wonderful hybrid packet analyzer that generates nice clickable
HTML reports that show you what's happening on your network. It
slices and dices network traffic all kinds of ways: by protocol, host, local
or remote network, network load, network flow, what Web sites your
users are visiting, how much traffic is coming from or going to remote
sites, throughput and loads more. It supports virtually all network
protocols over both IP networks and Fibre Channel. [5]
ntop Advantages
+ Easy to install
+ Simple application traffic
+ Free(Open-source)
+ Traffic measurement
+ Traffic monitoring
+ Network optimization and planning
IP networks - throughput Network tools
Magnus Abrahamsson 2010-02-17
ntop Disadvantages
- (sampling period)
IP networks - throughput Test tool measurements
Magnus Abrahamsson 2010-02-17
4.1 Testbed
Server1
Redhat HP server, 2 Dual-Core AMD Opteron(tm) Processor 2218
processors (4 cpu cores) (version 2.00.00-rhel4), 4Gb memory
1000 Mbps full duplex, receive & transmit flow control ON
Client1
Ubuntu 9.10 desktop, Pentium 4 3Ghz, 1Gb memory
100 Mbps, full duplex. Flow control is off for TX and off for RX.
Client1 Server1
Subnet A Subnet B
Sw R Sw
IP networks - throughput Test tool measurements
Magnus Abrahamsson 2010-02-17
4.2 iperf
First start up iperf in server mode with this command:
admin@server1# iperf -s
Pretty nice- that's as good as you can get on Fast Ethernet. This is what
happens when tcpdump is running on server side:
[ 3] Server Report:
[ 3] 0.0-10.0 sec 5638046520444870 bits 0.00
(null)s/sec 0.007 ms 0/ 893 (0%)
That's very good speed, and 0.041% datagram loss is insignificant. That's
a good clean connection. VoIP call can tolerate as much as 10% UDP
datagram loss.
As you can see the Client1 machine has big troubles with sending
packages to the server during bidirectional testing. Why kind of
bottleneck is this
?
- This is because Clinet1 hasn’t flow control turn on?
- Or is it because of the 1000Base-T and 100Base-T differ?
- Or could it be the swiches on subnet A?
We can see that we now have almost no jitter (0.029ms) but a lot of
package lost (4.6%) in the other direction, server -> client
communication.
IP networks - throughput Test tool measurements
Magnus Abrahamsson 2010-02-17
4.3 ntop
We will only look at the ntop in web-mode.
5 Conclusions / Discussion
Measuring the throughput, delay, jitter and packet loss only gives you a
hint of where you could have performance issues or the bottleneck in
the network. Finding network problems does not necessarily lead to
instant solutions. Correct interpretation is still needed. Sometimes it can
be frustrating to have a lot of information without finding the answer to
your problems. However, network monitoring can truly be an asset to
your corporation as a whole.
IP networks - throughput References
Magnus Abrahamsson 2010-02-17
6 References
[5] [Deri98] Deri, L. NTOP User’s Guide - Network Usage Monitor for
Unix Systems.Centro Serra, University of Pisa, Italy. Available at
http://www.ntop.org/ntop-overview.pdf. Fetched 2010-02-16