• No results found

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

N/A
N/A
Protected

Academic year: 2021

Share "Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

Lecture 8

Performance Measurements and Metrics

Kurose-Ross: 1.2-1.4

(Hassan-Jain: Chapter 3 ”Performance

Measurement of TCP/IP Networks”)

2010-02-17 Sid 2 David Gundlegård, ITN

Outline

¾

Performance Metrics

¾

Performance Measurements

Performance Metrics

Performance Metrics

¾

Asessment of communication network

performance

¾

How good is our network?

¾ (How much better than competitors?)

¾ Classical: Internet access bandwidth

¾

What can it be used for?

(2)

2010-02-17 Sid 5 David Gundlegård, ITN

Performance Metrics

¾

Main quantitative metrics for packet switched

networks

¾ Packet loss

¾ Due to congestion and bit errors ¾ End-to-end delay

¾ From sender to (final) receiver ¾ Delay-variation (A.k.a. Jitter)

¾ Variation in delay in a packet session ¾ Throughput (Bandwidth)

¾ Bits per second that can be sent through the network

2010-02-17 Sid 6 David Gundlegård, ITN

Performance Metrics

¾

Other aspects

¾ Fairness ¾ CPU usage ¾ Memory usage ¾ Battery consumption ¾ Response time ¾ Availability ¾ Packet reordering ¾ Number of users ¾ Blocking rate ¾ …

¾

Qualitative metrics

¾ Service experience: Good sound, bad picture, slow response…

2010-02-17 Sid 7 David Gundlegård, ITN

Switching and Delay

¾

Circuit switching

¾ Connection establishment delay ¾ Propagation delay ¾ Processing delay (typically small) ¾ Transmission delay

¾

Packet switching

¾ Store-and-forward delay ¾ Propagation delay ¾ Processing delay ¾ Transmission delay ¾ Queuing delay

2010-02-17 Sid 8 David Gundlegård, ITN

(3)

2010-02-17 Sid 9 David Gundlegård, ITN

Link Bandwidth and Delay

¾

Left: high bandwidth

and/or

propagation delay

¾

Right:

low

propagation

delay

and/or

bandwidth

¾

Bandwidth x delay

product

¾

Link utilisation and max

throughput

¾ Rmax=W/RTT

¾ R = datarate

¾ W = window size

2010-02-17 Sid 10 David Gundlegård, ITN

Link Bandwidth and Delay

¾

Sliding Window flow control

¾

Utilisation

¾ Stop and wait

¾ Sliding window ( 2 1) 2 1+ < + = W a a W U a U 2 1 1 + = frame prop t t a=

Delay

¾

Store-and-forward-delay

¾

Prop. to packet size

(L)

¾

In a switch: L/R

¾

Route with Q links:

End-to-end delay (PS)

¾

Store-and-forward: d=QL/R

¾

Propagation: d=distance/velocity

¾ ~3*10^8 m/s (factor 0.7-1 depending on transmission media)

¾

Processing: time for process on every node –

proportional to the number of hops

¾ Error control, routing decisions etc.

¾

Transmission: d=L/R

(4)

2010-02-17 Sid 13 David Gundlegård, ITN

Queuing Delay

¾

Queues occur when incoming traffic to a

node (interface) is larger than the forwarding

capacity (for some period of time)

¾

Forwarding capacity VS link/interface capacity

¾

Number of links/interfaces on a node

A

B

C

100 Mb/s Ethernet 1.5 Mb/s statistical multiplexing queue of packets waiting for output

link

2010-02-17 Sid 14 David Gundlegård, ITN

Queuing Delay

¾

Traffic intensity:

¾ a = average rate that packets arrive to the queue

¾ L = packet length, R = datarate (service rate, capacity)

¾

What happens when La/R>1?

¾ Infinite buffer size?

¾ Finite buffer size?

¾

Analysed with

¾ Queuing theory ¾ Simulation R La = ρ

2010-02-17 Sid 15 David Gundlegård, ITN

Queuing Models

¾

M/M/1 with and without priority

¾

The Markov assumption

2010-02-17 Sid 16 David Gundlegård, ITN

End-to-end Delay Metrics

¾

Round trip time (RTT)

¾ The time needed to travel from source to destination, plus the time to travel from destination back to the source.

¾

One way delay

¾ The time needed to travel from source to destination, or from destination to source

(5)

2010-02-17 Sid 17 David Gundlegård, ITN

Delay Variation (Jitter)

¾

The end-to-end delay

variation over time

(between packets)

¾

Important in real-time

applications (buffer size

and playout delay)

¾

Defined for a session of

packets (>2)

¾ Max difference in delay

¾ Mean difference in delay

¾ Standard deviation

¾ ...

2010-02-17 Sid 18 David Gundlegård, ITN

Throughput

¾

Number of bits per time unit that can be pushed

through the link/network (A.k.a. bandwidth:

ambiguity…)

¾

Data rate

¾ Often referred to as max transmitting rate at a link

¾

Throughput

¾ The actual data rate at the (final) receiver

¾ Taken into account flow control, bottlenecks, retransmissions, FEC, cross traffic (other users) etc.

¾

Throughput variation

Packet Loss

¾

Percentage of packets lost

¾

Packet loss distribution

¾ Bursty

¾ Uniform

¾

TCP VS UDP

¾

Reasons

(6)

2010-02-17 Sid 21 David Gundlegård, ITN

Measurement Tasks

¾

Data collection

¾ Typically raw data from live network

¾

Analysis

¾ Statistical analysis of data

¾ Use collected data in simulation

¾ …

¾

Presentation

¾ Visualisation through graphs and charts

¾

Interpretation

¾ What do the results tell us?

¾ ”We need new equipment”

¾ ”Ip telephony can/cannot be used in current network”

2010-02-17 Sid 22 David Gundlegård, ITN

Measurement Tools

¾

Monitoring tools

¾

Monitors existing traffic

¾

Ethereal,

Tcpdump, Tcpstat…

¾

Benchmarking tools

¾

Generates traffic used for analysis

¾

Often both client and server needed

¾

TPtest, Iperf

, Netperf, Netpipe, DBS…

¾

Standard tools

¾

Ping, traceroute, netstat

2010-02-17 Sid 23 David Gundlegård, ITN

Analysis Approaches

¾

Live network measurements

¾ Often difficult/expensive

¾ Does the system exist yet?

¾

Lab experiments

¾ Requires generalisations to more realistic conditions

¾

Simulations

¾ Time consuming/validation/verification

¾

Analytical evaluation

¾ E.g. queuing theory

¾ Quick but often many simplifications

¾

Combination

¾ For validation purposes

2010-02-17 Sid 24 David Gundlegård, ITN

Data Analysis

¾

Number of measurements

¾ Purpose of measurements?

¾ Variation in results?

¾

Length of every measurement

¾ Transient behaviour?

¾ Variability?

¾

Assumptions and configurations

¾ Generalisations possible?

¾

Statistical measures

¾ Average, min, max, standard deviation, variance, confidence intervals, hypothesis trial, correlation etc.

(7)

2010-02-17 Sid 25 David Gundlegård, ITN

Internet Example

2010-02-17 Sid 26 David Gundlegård, ITN

Measurement Examples

¾

Ethereal

¾

>tracert IP/domännamn

¾

www.liu.se

¾

www.mit.edu

¾

>ping

www.dn.se

–n 10 –l 1000

¾

TPtest5

¾

Iperf

Next Lecture

¾

Quality of Service

References

Related documents

Tot slot zouden andere modererende effecten onderzocht kunnen worden zoals het effect van de leerstijl van de student op de relatie tussen servicekwaliteit en tevredenheid, naast

Bezien we de gevallen waarin abstractie plaatsvindt, dan gaat het in de concrete gevallen telkens om het verwerpen van door de aansprakelijke opgeworpen verweren die niet

The specific objectives were: (i) to investigate the accu- racy of the Monotone Upstream-centred Scheme for Conservation Laws (MUSCL) 2 nd to 5 th - order, and the Weighted

We present the mean (SD) and median weekly income, taxes paid and welfare payments of people aged 45 – 64 years out of the labour force because of ill health (lost PLYs) or in

Micro-particle image velocimetry ( µ piv): Recent developments, applications, and guidelines. Transport coefficients of off-lattice mesoscale- hydrodynamics simulation

Under the leadership of MedPro and Hanaa Hamdi, PhD, Director of the Department of Health and Community Wellness, they’ve developed a full program that includes health

Whilst a general variation clause may not suffice to entitle an employer to unilaterally vary an employee’s terms and conditions of employment, if there is written evidence, in the

You should also continue looking for signs and symptoms of side effects beyond four years as detailed in your patient guide, and you should continue carrying the Patient Alert