Transcript
Page 1: Active Probing for Available Bandwidth Estimation

1

Active Probing for Available Bandwidth Estimation

Sridhar MachirajuUC Berkeley OASIS Retreat, Jan

2005

Joint work with D.Veitch, F.Baccelli, A.Nucci, J.Bolot

Page 2: Active Probing for Available Bandwidth Estimation

2

Outline

• Motivation• Packet pair problem setup• Describing the system• Solving with i.i.d. assumption• In practice• Conclusions and future work

Page 3: Active Probing for Available Bandwidth Estimation

3

Estimating Available Bandwidth

• Why– Path selection, SLA verification, network

debugging, congestion control mechanisms

• How– Estimate cross-traffic rate and subtract from

known capacity• Use packet pairs

– Estimate available bandwidth directly• Use packet trains

Page 4: Active Probing for Available Bandwidth Estimation

4

Available Bandwidth

• Fluid Definition - spare capacity on a link

• In reality, we have a discrete system– Avail. b/w averaged over some time scale

Capacity = 100Mbps

43 Mbps utilized

ABW = 57Mbps

Capacity = 100Mbps

43 Mbps utilized

ABW = 57Mbps

Page 5: Active Probing for Available Bandwidth Estimation

5

t

Packet Pair Methods

• Assume single FIFO queue of known capacity C– Queuing at other hops on path negligible

• Send packet pair separated by t

• Output separation tout depends on cross-traffic that arrived in t

Capacity = 100Mbps

43 Mbps utilized tout

Page 6: Active Probing for Available Bandwidth Estimation

6

Problem Statement

• What information about the cross-traffic do packet pair delays expose?• Consider multi-hop case• How to use packet pair in practice

• Might not apply in practice if• Non-FIFO queuing• Link layer multi-path

Page 7: Active Probing for Available Bandwidth Estimation

7

Outline

• Motivation• Packet pair problem setup• Describing the system• Solving with i.i.d. assumption• In practice• Conclusions and future work

Page 8: Active Probing for Available Bandwidth Estimation

8

Small Probing Period t

• Assumption is that queue is busy between packets of pair

• Packet pair will not work for arbitrarily large t

tCapacity = 100Mbps

43 Mbps utilized tout

Page 9: Active Probing for Available Bandwidth Estimation

9

How Large Can t Be?

First probe arrivesat queue of size R

Second probe arrivesat queue of size S

Cross-traffic arrives

Cross-traffic arrives

Queue empties after first probe

• t cannot be more than transmit time of first probe!

• Same packet pair delays– Different amounts of intervening cross-traffic

First probe andsome CT serviced

Page 10: Active Probing for Available Bandwidth Estimation

10

Tradeoffs

• Small enough t not possible/applicable in multi-hop path– Under-utilized link of lower capacity before

bottleneck– Queue sizes of other hops comparable in

magnitude to t

• Larger t can be used only if some assumption made about cross-traffic!– Independent increments, long range

dependent

Page 11: Active Probing for Available Bandwidth Estimation

11

Problem Setup

• t-spaced packet pairs of size sz• Consecutive delays R and S of probes

– Delay is same as encountered queue size– Remove need for clock synchronization later

• A(T) is amount (service time) of cross-traffic arriving at (single) bottleneck in time T

• What can we learn about the probability laws governing A(T)?

Page 12: Active Probing for Available Bandwidth Estimation

12

Outline

• Motivation• Packet pair problem setup• Describing the system• Solving with i.i.d. assumption• In practice• Conclusions and future work

Page 13: Active Probing for Available Bandwidth Estimation

13

Busy vs. Idle QueueFirst probe arrivesat queue of size R

Second probe arrivesat queue of size S

First probe andsome CT serviced

Cross-traffic arrives

Cross-traffic arrives

Queue empties after first probe

ttAszRS )( )()( sup],0[in

ststASts

queue is always busy

queue is idleat least once

Page 14: Active Probing for Available Bandwidth Estimation

14

System equations

• Second delay, S is linearly related to first delay, R and amount of cross-traffic OR

• S is related only to amount of cross-traffic

))(,)(max( tBttAszRS

ttA in time CT ofAmount )( )()(sup)(

],0[in ststAtB

ts

CT measuredin time units ofservice time atbottleneck

Page 15: Active Probing for Available Bandwidth Estimation

15

A(t) and B(t)Bottleneck Output Link

CT arriveson 4 links

A(t)=4B(t)=1

A(t)=4B(t)=0

A(t)=4B(t)=4

Periodic CT Burst after 1st packet Burst before 2nd packet

Link 1Link 2Link 3Link 4

Page 16: Active Probing for Available Bandwidth Estimation

16

CDF of A(t)

• Cumulative distribution of A(t)– Arrival process in t time units– Step function if similar amounts of cross-

traffic arrives every time period of size t

0

1

CumulativeDistributionFunction(CDF)

A(t)

Page 17: Active Probing for Available Bandwidth Estimation

17

Joint Prob. Distribution of B(t),A(t)A(t),Arrival in t

B(t),Burstinesswithin time t

t

0

Low rate, lowburstiness(few packets)

High rate, highburstiness(many back toback packets)

High rate, lowburstiness(no back to back packets)

• A(t) > B(t) > A(t) – t (Density non-zero only in strip of size t)– B(t) depends on the capacity of link

• Given A(t), smaller B(t) implies A(t) amount of traffic is well-spread out within t time units

Page 18: Active Probing for Available Bandwidth Estimation

18

Outline

• Motivation• Packet pair problem setup• Describing the system• Solving with i.i.d. assumption• In practice• Conclusions and future work

Page 19: Active Probing for Available Bandwidth Estimation

19

Solving System Equations

• Assumptions on CT needed for arbitrary t• Our assumption on CT

– A(t) is i.i.d. in consecutive time periods of size t– Traces from OC-3 (155Mbps link) at real router

show that dependence between consecutive A(t) is 0.16 to 0.18

• Given delays R and S of many packet pairs– Use conditional probabilities fr(s)=P(S=s|R=r)

Page 20: Active Probing for Available Bandwidth Estimation

20

Packet Pair Delays in (B,A) Space

B(t),Burstinesswithin time t

0

• Consecutive delays (r,s) occur because cross-traffic had (B,A) anywhere on a right angle

• fr(s)=P(S=s|R=r) is sum of (joint) probabilities along right angle

s

s-r-sz

A(t),Arrival in t

Page 21: Active Probing for Available Bandwidth Estimation

21

Resolving Density in (B,A) Space

B(t),Burstinesswithin time t

0s

s-r-sz

A(t),Arrival in t

Take packet pairs suchthat first delay R=rfr(s)=P(S=s|R=r)

+Take packet pairs suchthat first delay R=r-1fr-1(s-1)=P(S=s-1|R=r-1)

Take packet pairs suchthat first delay R=rfr(s-1)=P(S=s-1|R=r)

+Take packet pairs suchthat first delay R=r+1

fr+1(s)=P(S=s|R=r+1)

s-1

_

Page 22: Active Probing for Available Bandwidth Estimation

22

Resolving Density in (B,A) Space

B(t),Burstinesswithin time t

0

• fr(s) + fr-1(s-1) – fr(s-1) + fr+1(s)– Difference in two densities adjacent along a diagonal

• Telescopic sum of differences along diagonal

A(t),Arrival in t

Page 23: Active Probing for Available Bandwidth Estimation

23

Unresolvable Densities

B(t),Burstinesswithin time t

0

• Width of unresolvable strip is probe size, effect of probe intrusiveness

• Joint distribution also gives us CDF of A(t)

A(t),Arrival in t

Page 24: Active Probing for Available Bandwidth Estimation

24

Outline

• Motivation• Packet pair problem setup• Describing the system• Solving with i.i.d. assumption• In practice• Conclusions and future work

Page 25: Active Probing for Available Bandwidth Estimation

25

In Practice

• Absolute delays R and S not available• Use minimum delay value observed and

subtract from all observations– May not work if no probe finds all queues

idle– Even capacity estimation may not work!

• Above limitations intrinsic to packet pair methods

Page 26: Active Probing for Available Bandwidth Estimation

26

• Router traces of CT (utilization – about 50%)• t is 1ms; each unit is 155Mbps*0.1ms bits• Errors due to

– Discretization– A(t) not entirely i.i.d.

B B

A A

Estimation with Router Traces

Page 27: Active Probing for Available Bandwidth Estimation

27

Estimation of A(t)

• About 10-15% error, in general• Larger errors with lower CT rates

– larger delay values less likely

Decreasing Cross-Traffic Rate

Service time of cross-traffic arriving in 0.25, 1ms (milliseconds)

Page 28: Active Probing for Available Bandwidth Estimation

28

Outline

• Motivation• Packet pair problem setup• Describing the system• Solving with i.i.d. assumption• In practice• Conclusions and future work

Page 29: Active Probing for Available Bandwidth Estimation

29

Conclusions and Future Work

• Packet pair methods for (single hop) avail. b/w work either with very small t (or)

• With assumptions on CT– I.I.D. assumption reasonable– Almost complete estimation possible– What other assumptions possible?

• Packet pair does not saturate any link– Hybrid of packet pair and saturating packet

train methods?

Page 30: Active Probing for Available Bandwidth Estimation

30

Backup Slides

Page 31: Active Probing for Available Bandwidth Estimation

31

A(t) and B(t)

Intervening cross-traffic

A(t)(Arrival in t time units)

B(t)(Arrival within t

units)

Periodic traffic of rate u.C

u.t u.t-t

Packet burst sized u.t after first packet

u.t (Size of burst)

Size of burst - t

Packet burst sized u.t just before 2nd pkt.

u.t (Size of burst)

Size of burst

Page 32: Active Probing for Available Bandwidth Estimation

32

Using conditional probabilities

• fr(s)=P(S=s|R=r) is a right angle

• Fr(s)=P(S s|R=r) is a rectangle

• Horizontal bar is difference between rectangles

• Density in the (B,A) space is the difference between two horizontal bars

(s)F-(s)Fs) x,-r-C(s 1rr

] 1)-(sF-1)-(s[F

- (s)F-(s)Fs) x,-r-h(s

r1-r

1rr

Page 33: Active Probing for Available Bandwidth Estimation

33

Required Delays for Estimation

Increasingdelays

Ambiguities of size sz still allow the resolution of distribution of A(t)


Top Related