SlideShare a Scribd company logo
1 of 32
Network Bandwidth Allocation
(and Stability)
In Three Acts
Problem Statement
How to allocate bandwidth to users?
How to model the network?
What criteria to use?
Act I
Modeling
A Physical View
Host
1
Host
2
Host
3
Host
4
Host
5
Router : interconnect, where links meet.
Host : multi-user, endpoint of communication.
Link / Resource : bottleneck, each has finite capacity Cj.
1
C 2
C 3
C 4
C 5
C
6
C 7
C
System Usage
Host
1
Host
2
Host
3
Host
4
Host
5
)
(
1 t
N )
(
2 t
N
)
(
3 t
N
Route : static path through network, supporting Ni(t)
flows with Li(N(t)) allocated bandwidth.
Flows / Users : transfer documents of different sizes,
evenly split allocated bandwidth along route.
Dynamic. Not directed.
))
(
(
1 t
N
L ))
(
(
2 t
N
L
))
(
(
3 t
N
L
Simplification
1
C
2
C 3
C 4
C
5
C
6
C 7
C
)
(
1 t
N )
(
2 t
N
)
(
3 t
N
))
(
(
1 t
N
L ))
(
(
2 t
N
L
))
(
(
3 t
N
L
Extraneous elements have been removed.
Abstraction
1
C
2
C 3
C 4
C
5
C
6
C 7
C
)
(
1 t
N )
(
2 t
N
)
(
3 t
N
))
(
(
1 t
N
L ))
(
(
2 t
N
L
))
(
(
3 t
N
L
Routes are just subsets of links / resources.
Represented by [Aji] : whether resource j is used by route i.
Capacity constraint:


L
0
)
(
:
))
(
(
t
N
i
j
i
ji
i
C
t
A N
Stochastic Behavior
110
220
130
121
020
120
1

)
220
(
1
1L

2

)
130
(
2
2L

3

)
121
(
3
3L

1

2

)
120
(
1
1L

)
120
(
2
2L

Model N(t) as a Markov process with countable state space.
Poisson user arrivals at rate i.
Exponential document sizes with parameter i.
Define traffic intensity ri = i / i.
Act II
Performance
Criteria
Allocation Efficiency
10
10 10 10
10
10 10
5
3 
L 5
1 
L 2
2 
L
• An allocation L is feasible if capacity constraint
satisfied.
• A feasible allocation L is efficient if we don’t have
  L for any other feasible .
• Defined at a point in time, regardless of usage.
Stability
• Stable  Markov chain positive recurrent.
• Returns to each state with probability 1 in finite
mean time.
• Necessary, but not sufficient condition:
• How tight this is gives us an idea of utilization.
• Does not uniquely specify allocation.
j
C
A j
i
i
ji all
for

 r
Maximize Overall Throughput
• That is, max
• No unique allocation.
• Could get unexpected results.

L
0
)
(
: t
N
i
i
i
10 10 10
1
L 2
L 3
L
4
L
Max-Min Fairness
• Increase allocation for each user, unless doing
so requires a corresponding decrease for a
user of equal or lower bandwidth to satisfy the
capacity constraints.
• Uniquely determined.
• Greedy algorithm. Not distributed.
12 12
1
L 2
L
3
L
Proportional Fairness
• L is proportionally fair if for any other
feasible allocation L* we have:
• Same as maximizing:
• Interpret as utility function.
• Distributed algorithms known.
0
)
(
*

L
L

L

i
i
i
i
i t
N
 L
i
i
i t
N log
)
(
a-Fair Allocations








L




L






0
)
(
:
0
)
(
:
1
1
if
log
1
),
,
0
(
if
1
)
(
)
,
(
t
N
i
i
i
i
t
N
i
i
i
i
i
i
N
t
N
t
G
a

a
a
a

a
a
Λ


L
0
)
(
: t
N
i
j
i
ji
i
C
A 0

Li
Maximize
Subject to
With i=1,
a  :maximize throughput
a = 1 : proportional fairness
a  :max-min fairness
With i = 1 / RTTi
2,
a = 2 : TCP
TCP Bias
RTT
timeout
• Congestion window based on
additive increase /
multiplicative decrease
mechanism.
• Increase for each ACK
received, once every
Round Trip Time.
• Timeouts based on RTT.
• Bias against long RTT.
Properties of a-Fair Allocations
• The optimal L exists and is unique.
• It’s positive: L > 0.
• Scale invariance: L(rN) = L(N), for r > 0.
• Continuity: L is continuous in N.
• System is stable when
Assume Ni(t) > 0.
Let L(N(t)) be a solution to the a-fair optimization.
j
C
A j
i
i
ji all
for

 r
Act III
Fluids &
Formalities
Fluid Models
))
(
(
)
(
)
0
(
)
( t
T
S
t
E
N
t
N i
i
i
i
i 


Ni(0) : initial condition
Ei(t) : new arrival process
Ti(t) : cumulative bandwidth allocated
Si(t) : service process
Decompose into non-decreasing processes:
 L

t
i
i s
s
t
T
0
d
))
(
(
)
( N
Consider a sequence indexed by r > 0:
r
rt
N
t
N
r
r )
(
)
( 
Fluid Limit : Visual
0 2 4 6 8 10
0
1
2
3
4
5
6
7
8
9
10
E(t)
t
0 20 40 60 80 100
0
10
20
30
40
50
60
70
80
90
100
E(t)
t
0 200 400 600 800 1000
0
100
200
300
400
500
600
700
800
900
1000
E(t)
t
1

r
10

r
100

r
Fluid Limit : Math
t
r
rt
E
t
r
rt
E
t
t
E
t
t
E
r
r








 )
(
)
(
)
(
)
(





r
t
r
t
r
E
as
)
(

t
t
E
r


)
(
Look at slope:
with probability 1.
By strong law of large numbers for renewal processes:
Thus
Fluid Model Solution
A fluid model solution is an absolutely continuous
function
so that at each regular point t and each route i
and for each resource j
 





L


0
)
(
if
0
0
)
(
if
)
(
)
(
t
N
t
N
t
t
N
i
i
i
i
i
i
dt
d
N


)
(t
N
  j
t
N
i
i
ji
t
N
i
i
ji C
A
t
A
i
i


L 


 0
)
(
:
0
)
(
:
)
( r
N
Fluid Analysis is Easier
A complex function f is absolutely continuous on I=[a,b]
if for every e > 0 there is a d > 0 such that
for any n and any disjoint collection of segments
(a1,b1),…,(an,bn) in I whose lengths satisfy
 




n
i
i
i
1
d
a
b
e
a
b 



n
i
i
i f
f
1
)
(
)
(
If f is AC on I, the f is differentiable a.e. on I, and



x
a
dt
t
f
a
f
x
f )
(
'
)
(
)
(
Definition
Theorem
Visualizing Fluid Flow
1
 2

3
 )
(
1
1 N
L
 )
(
2
2 N
L
 )
(
3
3 N
L

For Stability
• If fluid system empties in finite time, then system is
stable.
T
t
t 
 all
for
0
)
(
N
• Show that 0
)
( 
t
dt
d
N
• In general, what happens as t when some of the
resources are saturated?
j
i
i
ji C
A 
 r
• We approach the invariant manifold, aka the set of
invariant states
 
0
where
all
for
)
(
: 

L
 i
i
i N
i
M r
a N
N
Towards a Formal Framework
• Interested in stochastic processes with samples
paths in D[0, , the space of right continuous real
functions having left limits.
)
(
)
(
lim t
x
s
x
t
s



)
(
)
(
lim 



t
x
s
x
t
s
• Well behaved. At most countably many points of
discontinuity.
t
)
(t
x
Why we need a better metric.
…
…
t
t
)
(
1 t
x
)
(
2 t
x
What goes wrong in Lp ? L ?
Skorohod Topology
Let L be the set of strictly increasing Lipschitz
continuous functions  mapping [0,) onto [0,),
such that




)
(
log
)
( '
t



 
)
)
(
(
),
(
sup
)
,
,
,
(
~
0
u
t
y
u
t
x
r
u
y
x
d
t






1

 r
r
Put (standard bounded metric)





 
 


L

u
u
y
x
d
e
y
x
d u
d
)
,
,
,
(
~
)
(
inf
)
,
(
0




For functions mapping to any Polish (complete,
separable, metric) space.
Prohorov Metric
Let (S,d) be a metric space,
B(S) the s-algebra of Borel subsets of S,
P(S) family of Borel probability measures on S.
Define
 
S
F
F
Q
F
P
Q
P 



 closed
all
for
)
(
)
(
:
0
inf
)
,
( e
e
r e
 
)
,
(
inf
: e
e




y
x
d
S
x
F
F
y
The resulting metric space is Polish.
Fluid Limit Theorem
from Gromoll & Williams
Outline of Proof
• Apply functional law of large numbers to load
processes.
• Derive dynamic equations for state and bounds.
• State contained in compact set with probability 1
in limit.
• State oscillations die down with probability 1 in
limit.
• Sequence is C-tight.
• Weak limit points are fluid solutions with
probability 1.
Papers
2005
2000
1995
Gromoll,
Williams
Bonald,
Massoulié
Kelly,
Williams
Massoulié
Dai
Kelly Kelly,
Maulloo,
Tan
Mo,
Walrand

More Related Content

Similar to Network Bandwidth Allocation.ppt

Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depth
IdcIdk1
 
Passive network-redesign-ntua
Passive network-redesign-ntuaPassive network-redesign-ntua
Passive network-redesign-ntua
IEEE NTUA SB
 
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. ProcessorImplementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
PTIHPA
 
Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726
marangburu42
 
Understanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECLUnderstanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECL
HPCC Systems
 
Robust fuzzy-observer-design-for-nonlinear-systems
Robust fuzzy-observer-design-for-nonlinear-systemsRobust fuzzy-observer-design-for-nonlinear-systems
Robust fuzzy-observer-design-for-nonlinear-systems
Cemal Ardil
 

Similar to Network Bandwidth Allocation.ppt (20)

Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depth
 
Passive network-redesign-ntua
Passive network-redesign-ntuaPassive network-redesign-ntua
Passive network-redesign-ntua
 
Cdc18 dg lee
Cdc18 dg leeCdc18 dg lee
Cdc18 dg lee
 
cre notes non ideal flow RTD resident time distribution
cre notes non ideal flow RTD resident time distributioncre notes non ideal flow RTD resident time distribution
cre notes non ideal flow RTD resident time distribution
 
Basic potential step and sweep methods
Basic potential step and sweep methodsBasic potential step and sweep methods
Basic potential step and sweep methods
 
Tensor Spectral Clustering
Tensor Spectral ClusteringTensor Spectral Clustering
Tensor Spectral Clustering
 
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. ProcessorImplementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
 
Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726Dd 160506122947-160630175555-160701121726
Dd 160506122947-160630175555-160701121726
 
Understanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECLUnderstanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECL
 
lecture12.ppt
lecture12.pptlecture12.ppt
lecture12.ppt
 
Cse iii-logic design [10 cs33]-notes
Cse iii-logic design [10 cs33]-notesCse iii-logic design [10 cs33]-notes
Cse iii-logic design [10 cs33]-notes
 
Realtime Analytics
Realtime AnalyticsRealtime Analytics
Realtime Analytics
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
 
Robust fuzzy-observer-design-for-nonlinear-systems
Robust fuzzy-observer-design-for-nonlinear-systemsRobust fuzzy-observer-design-for-nonlinear-systems
Robust fuzzy-observer-design-for-nonlinear-systems
 
Multirate-signal-processing.pptx
Multirate-signal-processing.pptxMultirate-signal-processing.pptx
Multirate-signal-processing.pptx
 
Constructing Distributed Doubly Linked Lists without Distributed Locking
Constructing Distributed Doubly Linked Lists without Distributed LockingConstructing Distributed Doubly Linked Lists without Distributed Locking
Constructing Distributed Doubly Linked Lists without Distributed Locking
 
17 16512 32451-1-sm (edit ari)
17 16512 32451-1-sm (edit ari)17 16512 32451-1-sm (edit ari)
17 16512 32451-1-sm (edit ari)
 
17 16512 32451-1-sm (edit ari)
17 16512 32451-1-sm (edit ari)17 16512 32451-1-sm (edit ari)
17 16512 32451-1-sm (edit ari)
 
IMT Advanced
IMT AdvancedIMT Advanced
IMT Advanced
 

More from AliIssa53 (9)

4. Quantitative comparison of application network interaction.pdf
4. Quantitative comparison of application network interaction.pdf4. Quantitative comparison of application network interaction.pdf
4. Quantitative comparison of application network interaction.pdf
 
3. Quality of Experience-Centric Management.pdf
3. Quality of Experience-Centric Management.pdf3. Quality of Experience-Centric Management.pdf
3. Quality of Experience-Centric Management.pdf
 
2. A Survey of Rate Adaptation Techniques for Dynamic Adaptive Streaming over...
2. A Survey of Rate Adaptation Techniques for Dynamic Adaptive Streaming over...2. A Survey of Rate Adaptation Techniques for Dynamic Adaptive Streaming over...
2. A Survey of Rate Adaptation Techniques for Dynamic Adaptive Streaming over...
 
1. A Survey on Bitrate Adaptation Schemes for Streaming Media over HTTP.pdf
1. A Survey on Bitrate Adaptation Schemes for Streaming Media over HTTP.pdf1. A Survey on Bitrate Adaptation Schemes for Streaming Media over HTTP.pdf
1. A Survey on Bitrate Adaptation Schemes for Streaming Media over HTTP.pdf
 
1_MWS2018_Tutorial1_Pham_Internet Delivered Media.pdf
1_MWS2018_Tutorial1_Pham_Internet Delivered Media.pdf1_MWS2018_Tutorial1_Pham_Internet Delivered Media.pdf
1_MWS2018_Tutorial1_Pham_Internet Delivered Media.pdf
 
00_Logistics.pdf
00_Logistics.pdf00_Logistics.pdf
00_Logistics.pdf
 
06-dash.pptx
06-dash.pptx06-dash.pptx
06-dash.pptx
 
06-adapt.pptx
06-adapt.pptx06-adapt.pptx
06-adapt.pptx
 
06-adapt.pptx
06-adapt.pptx06-adapt.pptx
06-adapt.pptx
 

Recently uploaded

Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 

Network Bandwidth Allocation.ppt

  • 1. Network Bandwidth Allocation (and Stability) In Three Acts
  • 2. Problem Statement How to allocate bandwidth to users? How to model the network? What criteria to use?
  • 4. A Physical View Host 1 Host 2 Host 3 Host 4 Host 5 Router : interconnect, where links meet. Host : multi-user, endpoint of communication. Link / Resource : bottleneck, each has finite capacity Cj. 1 C 2 C 3 C 4 C 5 C 6 C 7 C
  • 5. System Usage Host 1 Host 2 Host 3 Host 4 Host 5 ) ( 1 t N ) ( 2 t N ) ( 3 t N Route : static path through network, supporting Ni(t) flows with Li(N(t)) allocated bandwidth. Flows / Users : transfer documents of different sizes, evenly split allocated bandwidth along route. Dynamic. Not directed. )) ( ( 1 t N L )) ( ( 2 t N L )) ( ( 3 t N L
  • 6. Simplification 1 C 2 C 3 C 4 C 5 C 6 C 7 C ) ( 1 t N ) ( 2 t N ) ( 3 t N )) ( ( 1 t N L )) ( ( 2 t N L )) ( ( 3 t N L Extraneous elements have been removed.
  • 7. Abstraction 1 C 2 C 3 C 4 C 5 C 6 C 7 C ) ( 1 t N ) ( 2 t N ) ( 3 t N )) ( ( 1 t N L )) ( ( 2 t N L )) ( ( 3 t N L Routes are just subsets of links / resources. Represented by [Aji] : whether resource j is used by route i. Capacity constraint:   L 0 ) ( : )) ( ( t N i j i ji i C t A N
  • 8. Stochastic Behavior 110 220 130 121 020 120 1  ) 220 ( 1 1L  2  ) 130 ( 2 2L  3  ) 121 ( 3 3L  1  2  ) 120 ( 1 1L  ) 120 ( 2 2L  Model N(t) as a Markov process with countable state space. Poisson user arrivals at rate i. Exponential document sizes with parameter i. Define traffic intensity ri = i / i.
  • 10. Allocation Efficiency 10 10 10 10 10 10 10 5 3  L 5 1  L 2 2  L • An allocation L is feasible if capacity constraint satisfied. • A feasible allocation L is efficient if we don’t have   L for any other feasible . • Defined at a point in time, regardless of usage.
  • 11. Stability • Stable  Markov chain positive recurrent. • Returns to each state with probability 1 in finite mean time. • Necessary, but not sufficient condition: • How tight this is gives us an idea of utilization. • Does not uniquely specify allocation. j C A j i i ji all for   r
  • 12. Maximize Overall Throughput • That is, max • No unique allocation. • Could get unexpected results.  L 0 ) ( : t N i i i 10 10 10 1 L 2 L 3 L 4 L
  • 13. Max-Min Fairness • Increase allocation for each user, unless doing so requires a corresponding decrease for a user of equal or lower bandwidth to satisfy the capacity constraints. • Uniquely determined. • Greedy algorithm. Not distributed. 12 12 1 L 2 L 3 L
  • 14. Proportional Fairness • L is proportionally fair if for any other feasible allocation L* we have: • Same as maximizing: • Interpret as utility function. • Distributed algorithms known. 0 ) ( *  L L  L  i i i i i t N  L i i i t N log ) (
  • 15. a-Fair Allocations         L     L       0 ) ( : 0 ) ( : 1 1 if log 1 ), , 0 ( if 1 ) ( ) , ( t N i i i i t N i i i i i i N t N t G a  a a a  a a Λ   L 0 ) ( : t N i j i ji i C A 0  Li Maximize Subject to With i=1, a  :maximize throughput a = 1 : proportional fairness a  :max-min fairness With i = 1 / RTTi 2, a = 2 : TCP
  • 16. TCP Bias RTT timeout • Congestion window based on additive increase / multiplicative decrease mechanism. • Increase for each ACK received, once every Round Trip Time. • Timeouts based on RTT. • Bias against long RTT.
  • 17. Properties of a-Fair Allocations • The optimal L exists and is unique. • It’s positive: L > 0. • Scale invariance: L(rN) = L(N), for r > 0. • Continuity: L is continuous in N. • System is stable when Assume Ni(t) > 0. Let L(N(t)) be a solution to the a-fair optimization. j C A j i i ji all for   r
  • 19. Fluid Models )) ( ( ) ( ) 0 ( ) ( t T S t E N t N i i i i i    Ni(0) : initial condition Ei(t) : new arrival process Ti(t) : cumulative bandwidth allocated Si(t) : service process Decompose into non-decreasing processes:  L  t i i s s t T 0 d )) ( ( ) ( N Consider a sequence indexed by r > 0: r rt N t N r r ) ( ) ( 
  • 20. Fluid Limit : Visual 0 2 4 6 8 10 0 1 2 3 4 5 6 7 8 9 10 E(t) t 0 20 40 60 80 100 0 10 20 30 40 50 60 70 80 90 100 E(t) t 0 200 400 600 800 1000 0 100 200 300 400 500 600 700 800 900 1000 E(t) t 1  r 10  r 100  r
  • 21. Fluid Limit : Math t r rt E t r rt E t t E t t E r r          ) ( ) ( ) ( ) (      r t r t r E as ) (  t t E r   ) ( Look at slope: with probability 1. By strong law of large numbers for renewal processes: Thus
  • 22. Fluid Model Solution A fluid model solution is an absolutely continuous function so that at each regular point t and each route i and for each resource j        L   0 ) ( if 0 0 ) ( if ) ( ) ( t N t N t t N i i i i i i dt d N   ) (t N   j t N i i ji t N i i ji C A t A i i   L     0 ) ( : 0 ) ( : ) ( r N
  • 23. Fluid Analysis is Easier A complex function f is absolutely continuous on I=[a,b] if for every e > 0 there is a d > 0 such that for any n and any disjoint collection of segments (a1,b1),…,(an,bn) in I whose lengths satisfy       n i i i 1 d a b e a b     n i i i f f 1 ) ( ) ( If f is AC on I, the f is differentiable a.e. on I, and    x a dt t f a f x f ) ( ' ) ( ) ( Definition Theorem
  • 24. Visualizing Fluid Flow 1  2  3  ) ( 1 1 N L  ) ( 2 2 N L  ) ( 3 3 N L 
  • 25. For Stability • If fluid system empties in finite time, then system is stable. T t t   all for 0 ) ( N • Show that 0 ) (  t dt d N • In general, what happens as t when some of the resources are saturated? j i i ji C A   r • We approach the invariant manifold, aka the set of invariant states   0 where all for ) ( :   L  i i i N i M r a N N
  • 26. Towards a Formal Framework • Interested in stochastic processes with samples paths in D[0, , the space of right continuous real functions having left limits. ) ( ) ( lim t x s x t s    ) ( ) ( lim     t x s x t s • Well behaved. At most countably many points of discontinuity. t ) (t x
  • 27. Why we need a better metric. … … t t ) ( 1 t x ) ( 2 t x What goes wrong in Lp ? L ?
  • 28. Skorohod Topology Let L be the set of strictly increasing Lipschitz continuous functions  mapping [0,) onto [0,), such that     ) ( log ) ( ' t      ) ) ( ( ), ( sup ) , , , ( ~ 0 u t y u t x r u y x d t       1   r r Put (standard bounded metric)            L  u u y x d e y x d u d ) , , , ( ~ ) ( inf ) , ( 0     For functions mapping to any Polish (complete, separable, metric) space.
  • 29. Prohorov Metric Let (S,d) be a metric space, B(S) the s-algebra of Borel subsets of S, P(S) family of Borel probability measures on S. Define   S F F Q F P Q P      closed all for ) ( ) ( : 0 inf ) , ( e e r e   ) , ( inf : e e     y x d S x F F y The resulting metric space is Polish.
  • 30. Fluid Limit Theorem from Gromoll & Williams
  • 31. Outline of Proof • Apply functional law of large numbers to load processes. • Derive dynamic equations for state and bounds. • State contained in compact set with probability 1 in limit. • State oscillations die down with probability 1 in limit. • Sequence is C-tight. • Weak limit points are fluid solutions with probability 1.