Bandwidth Estimation Workshop Mathieu Goutelle and Pascale Primet - - PowerPoint PPT Presentation

bandwidth estimation workshop
SMART_READER_LITE
LIVE PREVIEW

Bandwidth Estimation Workshop Mathieu Goutelle and Pascale Primet - - PowerPoint PPT Presentation

tracerate : a non-intrusive method for measuring the hop-by-hop capacity of a path Bandwidth Estimation Workshop Mathieu Goutelle and Pascale Primet INRIA RESO team, LIP laboratory (ENS Lyon, France) 9-10 december 2003 Slides available at


slide-1
SLIDE 1

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 1/19

tracerate: a non-intrusive method for measuring the hop-by-hop capacity of a path

Bandwidth Estimation Workshop

Mathieu Goutelle and Pascale Primet INRIA RESO team, LIP laboratory (ENS Lyon, France) 9-10 december 2003

Slides available at http://perso.ens-lyon.fr/mathieu.goutelle/fichiers/sl_BEst2003.pdf

slide-2
SLIDE 2

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 2/19

Overview

■ Introduction ; ■ Bandwidth measurement in IP networks ; ■ The Packet Pair method ; ■ Our proposition: tracerate ; ◆ Method principles ; ◆ Data Analysis. ■ Results and validations ; ■ Conclusion.

slide-3
SLIDE 3

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 3/19

Introduction

■ Simplicity of IP networks: no control channel, few informations

provided by equipments ;

slide-4
SLIDE 4

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 3/19

Introduction

■ Simplicity of IP networks: no control channel, few informations

provided by equipments ;

■ Need of an external mean to evaluate the end-to-end

performances:

◆ delay, loss rate: classical and easy (ping, traceroute); ◆ Capacity: Maximal available rate between two nodes ; ◆ Available rate: Accessible rate between two machines given

an utilization on the followed path ;

slide-5
SLIDE 5

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 3/19

Introduction

■ Simplicity of IP networks: no control channel, few informations

provided by equipments ;

■ Need of an external mean to evaluate the end-to-end

performances:

◆ delay, loss rate: classical and easy (ping, traceroute); ◆ Capacity: Maximal available rate between two nodes ; ◆ Available rate: Accessible rate between two machines given

an utilization on the followed path ;

■ Use of the delay between two machines → not enough to evaluate

the duration of a data transfer.

slide-6
SLIDE 6

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 4/19

Bandwidth measurement in IP networks

■ A “rate” knowledge gives a more realistic view ; ◆ to estimate a transfer duration estimation ; ◆ to schedule transfer in grid computing ; ◆ to choose a data source or a data mirror ; ◆ ...

slide-7
SLIDE 7

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 4/19

Bandwidth measurement in IP networks

■ A “rate” knowledge gives a more realistic view ; ◆ to estimate a transfer duration estimation ; ◆ to schedule transfer in grid computing ; ◆ to choose a data source or a data mirror ; ◆ ... ■ Available rate: intrusive measurements (iperf, MRTG, NWS) or

non-intrusive (pathload [JD02]);

slide-8
SLIDE 8

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 4/19

Bandwidth measurement in IP networks

■ A “rate” knowledge gives a more realistic view ; ◆ to estimate a transfer duration estimation ; ◆ to schedule transfer in grid computing ; ◆ to choose a data source or a data mirror ; ◆ ... ■ Available rate: intrusive measurements (iperf, MRTG, NWS) or

non-intrusive (pathload [JD02]);

■ Total capacity:

Method Type of measure Measure Protocol Receiver pathchar [Jac97] Variable Packet Size hop-by-hop slow

UDP, ICMP

no tailgater [LB00] Packet Tailgating end-to-end fast

TCP, ICMP

no pathrate [DRM01] Packet Pair end-to-end slow

UDP

yes

slide-9
SLIDE 9

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 4/19

Bandwidth measurement in IP networks

■ A “rate” knowledge gives a more realistic view ; ◆ to estimate a transfer duration estimation ; ◆ to schedule transfer in grid computing ; ◆ to choose a data source or a data mirror ; ◆ ... ■ Available rate: intrusive measurements (iperf, MRTG, NWS) or

non-intrusive (pathload [JD02]);

■ Total capacity:

Method Type of measure Measure Protocol Receiver pathchar [Jac97] Variable Packet Size hop-by-hop slow

UDP, ICMP

no tailgater [LB00] Packet Tailgating end-to-end fast

TCP, ICMP

no pathrate [DRM01] Packet Pair end-to-end slow

UDP

yes

■ Issues: high-performance network, bottleneck localization, low intrusivity.

slide-10
SLIDE 10

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 5/19

The Packet Pair method (1)

■ Quite old principle (Van Jacobson, 1988 [Jac88]) ; ■ A path is considered as a succession of delays (queue waiting

time, transmission time, etc.) ;

■ Capacity evaluation through the dispersion (inter-packet delay)

measurement of two packets sent back-to-back ;

■ This delay is the consequence of the smallest link on the path:

C=3c C=c C=3c L/3c L/c L/c Sender Receiver

slide-11
SLIDE 11

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 5/19

The Packet Pair method (1)

■ Quite old principle (Van Jacobson, 1988 [Jac88]) ; ■ A path is considered as a succession of delays (queue waiting

time, transmission time, etc.) ;

■ Capacity evaluation through the dispersion (inter-packet delay)

measurement of two packets sent back-to-back ;

■ This delay is the consequence of the smallest link on the path:

C=3c C=c C=3c L/3c L/c L/c Sender Receiver

■ Hypothesis: No concurrent traffic! ■ Otherwise, concurrent traffic may cause the measure to under- or

  • verestimate the real path capacity.
slide-12
SLIDE 12

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 6/19

The Packet Pair method (2)

■ Due to concurrent traffic, the measurement distribution is

multimodal [DRM01]:

10 20 30 40 50 60 70 80

Bandwidth (Mbps)

40 80 120 160 200 240 280 320 360 400

# of measurements

P={100,75,55,40,60,80}, L=Lc=1500B

u=20% Capacity Mode (CM) Post−Narrow Capacity Mode Sub−Capacity Dispersion Range (SCDR) (PNCM)

10 20 30 40 50 60 70 80

Bandwidth (Mbps)

20 40 60 80 100 120 140 160

# of measurements

P={100,75,55,40,60,80}, L=Lc=1500B

SCDR PNCM CM u=80%

◆ under-estimation (SCDR): A packet has spaced the two

probe packets ;

◆ over-estimation (PNCM): The first probe has waited for

the second in an non-empty queue.

slide-13
SLIDE 13

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 7/19

Our proposition: tracerate

■ Objectives: to propose a method little intrusive to measure and to

localize the bottleneck of a path. It must work in a high-performance environment and without cooperation of the destination ;

slide-14
SLIDE 14

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 7/19

Our proposition: tracerate

■ Objectives: to propose a method little intrusive to measure and to

localize the bottleneck of a path. It must work in a high-performance environment and without cooperation of the destination ;

■ Proposition: ◆ We use a Packet Pair because it is more robust regarding the

presence of invisible nodes [PDM03] ;

◆ We measure the hop-by-hop capacity (and delay and loss) up

to the path bottleneck ;

◆ We eliminate “topology” parasitic modes with a better

hop-by-hop knowledge of the topology (like traceroute) ;

◆ We will be able to evaluate the hop-by-hop utilization rate up to

the path bottleneck ;

slide-15
SLIDE 15

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 8/19

Topology discovery

■ TTL (Time To Live): field in the IP header. It indicates the remaining

number of equipments a packet can go through:

◆ If an equipment receives a packet with a zero value TTL, it

sends this packet back to the sender ;

◆ Otherwise, it decreases this value and sends the packet to the

next hop.

■ With this mechanism, you can discover the topology with

increasing TTL loops. hop n hop n-1

slide-16
SLIDE 16

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 9/19

Method principles

■ Measurements gathering ; ■ Distribution analysis: extraction of

the capacity mode.

50 100 150 200 250 300 20 40 60 80 100 120 Nb of measurements Capacity (Mbits/s)

slide-17
SLIDE 17

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 9/19

Method principles

■ Measurements gathering ; ■ Distribution analysis: extraction of

the capacity mode.

50 100 150 200 250 300 20 40 60 80 100 120 Nb of measurements Capacity (Mbits/s)

■ At step n + 1, we already have the capacity value for the loops up to n: ◆ If there is no relatively acute mode below the previous capacity mode,

the bottleneck (up to hop n + 1) is in the previous loop ;

◆ Otherwise, a mode below the previous capacity mode has been detected

and the link between hop n and n + 1 is the new bottleneck.

slide-18
SLIDE 18

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 10/19

Data Analysis

■ Mode detection (increase up to a maximum and then decrease) ; ■ Determination of four characteristics of the distribution:

Maximal mode Noise area New mode Previous mode 20 40 60 80 100 20 40 60 80 100 120 140

■ Capacity mode extraction depending on the position and the

population of the characteristics.

slide-19
SLIDE 19

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 11/19

Capacity mode extraction

for all hop on the path do

2:

Compute the measurements distribution Determine the new, previous and maximal modes and the noise area

4:

if max_mode = prev_mode

  • r (max_mode = new_mode and new_mode not in noise_area) then

capacity_mode ← max_mode

6:

else if 1.1 × |new_mode| ≥ |prev_mode| and new_mode not in noise_area then capacity_mode ← new_mode

8:

else if (max_mode not in noise_area or |max_mode| ≥ 0.6 × total_pop) and |max_mode| ≥ 1.25 × |prev_mode| then capacity_mode ← max_mode

10:

else capacity_mode ← prev_mode

12:

end if end for

slide-20
SLIDE 20

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 12/19

Validations

■ Validations in simulations (NS-2) in a controlled environment

(capacity, delay):

◆ Behaviour consistent with the one expected ; ◆ Accuracy validation of the analysis method ; ◆ Robustness validation regarding the network conditions (path

length, load).

1 2 3 4 5 6

100 75 55 40 60 80

slide-21
SLIDE 21

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 12/19

Validations

■ Validations in simulations (NS-2) in a controlled environment

(capacity, delay):

◆ Behaviour consistent with the one expected ; ◆ Accuracy validation of the analysis method ; ◆ Robustness validation regarding the network conditions (path

length, load).

1 2 3 4 5 6

100 75 55 40 60 80

■ Experimentation in a high-performance environment (DataTAG

platform, http://www.datatag.org).

slide-22
SLIDE 22

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 13/19

Accuracy study

■ 100 simulations with a variable utilization rate from 0 up to 100% ; ■ Measure of the relative error between the real capacity and the measured

value for each hop:

slide-23
SLIDE 23

Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 13/19

Accuracy study

■ 100 simulations with a variable utilization rate from 0 up to 100% ; ■ Measure of the relative error between the real capacity and the measured

value for each hop: Relative error hop 1 hop 2 hop 3 hop 4 hop 5 hop 6 u ≤ 0,5 0,1% 0,1% 1,1% 2,5% 4,8% 6,9% u ≤ 0,75 0,1% 1,4% 4,6% 7,1% 5,9% 8,3% u ≤ 1 0,1% 12,4% 14,9% 15,3% 11,5% 13,7%

■ Influence of the load and path length, but the quality degradation of the result

remains low ;

■ The method tries to be conservative: it can detect the bottleneck at one or

two steps later.

slide-24
SLIDE 24

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 14/19

Robustness study

■ 100 simulations with a random load and link capacities ;

slide-25
SLIDE 25

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 14/19

Robustness study

■ 100 simulations with a random load and link capacities ;

Correlation Avg relat. err. 6 hops (u < 0,5) 0,82 0,14 6 hops (u < 1) 0,58 0,28 10 hops (u < 0,5) 0,88 0,16 10 hops (u < 1) 0,62 0,37

■ The method is robust regarding the path length ; ■ The network load may be a difficulty if it becomes high.

slide-26
SLIDE 26

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 15/19

Experimental validation

■ Implementation in Linux based on tcptraceroute ; ■ Experimentation on a real platform (DataTAG): ◆ It works! ◆ Measure up to 1Gbit/s ; ◆ Some problems with ICMP in routers: limitation due because

the ICMP path is different from the normal path ;

◆ it needs some extra tests to validate tracerate...

slide-27
SLIDE 27

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 15/19

Experimental validation

■ Implementation in Linux based on tcptraceroute ; ■ Experimentation on a real platform (DataTAG): ◆ It works! ◆ Measure up to 1Gbit/s ; ◆ Some problems with ICMP in routers: limitation due because

the ICMP path is different from the normal path ;

◆ it needs some extra tests to validate tracerate... ■ Non-intrusivity:

Tool Short path (4 hops) Long path (11 hops) pathchar 11,562 31,782 clink 6,002 16,400 pchar 11,732 32,417 nettimer 982 6,663 tracerate 4,000 11,000

slide-28
SLIDE 28

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 16/19

Utilization rate evaluation

■ When you know both the capacity and the utilization rate of a path,

you can deduce almost all its characteristics ;

■ Given the previous measurements (distribution for each hop), we

want to find a relation between the population in the capacity mode and the utilization rate.

slide-29
SLIDE 29

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 16/19

Utilization rate evaluation

■ When you know both the capacity and the utilization rate of a path,

you can deduce almost all its characteristics ;

■ Given the previous measurements (distribution for each hop), we

want to find a relation between the population in the capacity mode and the utilization rate.

10 20 30 40 50 60 70 80 90 100 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 % of measurements Utilization rate hop 1 hop 2 hop 3 hop 4 hop 5 hop 6

slide-30
SLIDE 30

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 17/19

Conclusion

■ Non-intrusive method to evaluate the capacity: determination of

the bottleneck and its localization on the path ;

■ Validations in simulations ; ■ Linux implementations, working in a high-performance

environment → tracerate ;

■ Promising future work: utilization rate evaluation and finalization

  • f the implementation ;
slide-31
SLIDE 31

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 17/19

Conclusion

■ Non-intrusive method to evaluate the capacity: determination of

the bottleneck and its localization on the path ;

■ Validations in simulations ; ■ Linux implementations, working in a high-performance

environment → tracerate ;

■ Promising future work: utilization rate evaluation and finalization

  • f the implementation ;

More details in this research report: http://www.inria.fr/rrrt/rr-4959.html

slide-32
SLIDE 32

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 18/19

References

[CM01] James Curtis and Tony McGregor. Review of bandwidth estimation techniques. In New Zealand Computer Science Research Students’ Conference, University

  • f Canterbury, New Zealand, April 2001.

[DRM01] Constantinos Dovrolis, Parameswaran Ramanathan, and David Moore. What do packet dispersion techniques measure? In Proceedings of INFOCOM’01, pages 905–914, 2001. [Jac88] Van Jacobson. Congestion Avoidance and Control. In ACM SIGCOMM ’88, volume 18, pages 314–329, Stanford, CA, August 1988. [Jac97] Van Jacobson. pathchar - a tool to infer characteristics of internet paths. MSRI talk, April 1997. [JD02] Manish Jain and Constantinos Dovrolis. Pathload: A measurement tool for end- to-end available bandwidth. In Passive and Active Measurements (PAM) Work- shop, March 2002. [LB00] Kevin Lai and Mary Baker. Measuring link bandwidths using a deterministic model of packet delay. In SIGCOMM, pages 283–294, August 2000. [PDM03] Ravi S. Prasad, Constantinos Dovrolis, and Bruce A. Mah. The effect of layer-2 store-and-forward devices. In Proceedings of INFOCOM ’03, San Fransisco, CA, April 2003.

slide-33
SLIDE 33

Overview Introduction BW mes. in IP networks The Packet Pair method Our proposition Topology discovery Method principles Data Analysis Capacity extraction Validations Accuracy study Robustness study Experimental validation Utilization rate evaluation Conclusion References Mathieu Goutelle, 9-10 dec. 2003 Bandwidth Estimation Workshop 2003 – p. 19/19

Questions?