Conges'on Control & Resource Alloca'on Guevara Noubir - - PowerPoint PPT Presentation

conges on control resource alloca on
SMART_READER_LITE
LIVE PREVIEW

Conges'on Control & Resource Alloca'on Guevara Noubir - - PowerPoint PPT Presentation

Conges'on Control & Resource Alloca'on Guevara Noubir Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 6. Fundamentals of Computer Networks CC & RA


slide-1
SLIDE 1

Conges'on ¡Control ¡& ¡ ¡ Resource ¡Alloca'on ¡

Guevara ¡Noubir ¡

Fundamentals of Computer Networks CC & RA

Textbook: Computer Networks: A Systems Approach,

  • L. Peterson, B. Davie, Morgan Kaufmann

Chapter 6.

slide-2
SLIDE 2

Lecture ¡Outline ¡

  • Conges'on ¡control ¡

– Queuing ¡Discipline ¡ – Reac'ng ¡to ¡Conges'on ¡ – Avoiding ¡Conges'on ¡

  • Resource ¡alloca'on ¡

– Real-­‑'me ¡Applica'ons ¡ – Integrated ¡Services ¡ – Differen'ated ¡Services ¡

Fundamentals of Computer Networks CC & RA

slide-3
SLIDE 3

Issues ¡

  • Two ¡sides ¡of ¡the ¡same ¡coin ¡

– pre-­‑allocate ¡resources ¡so ¡at ¡to ¡avoid ¡conges'on ¡ ¡ – control ¡conges'on ¡if ¡(and ¡when) ¡it ¡occurs ¡ ¡

  • Two ¡points ¡of ¡implementa'on ¡

– hosts ¡at ¡the ¡edges ¡of ¡the ¡network ¡(transport ¡protocol) ¡ – routers ¡inside ¡the ¡network ¡(queuing ¡discipline) ¡

  • Addi'onal ¡requirements: ¡fairness ¡
  • Underlying ¡service ¡model ¡

– best-­‑effort ¡(assume ¡for ¡now) ¡ – mul'ple ¡quali&es ¡of ¡service ¡

Fundamentals of Computer Networks CC & RA Destination 1.5-Mbps T1 link Router Source 2 S

  • u

r c e 1 10-Mbps Ethernet

slide-4
SLIDE 4

Framework ¡

  • Connec'onless ¡flows ¡

– sequence ¡of ¡packets ¡sent ¡between ¡source/des'na'on ¡pair ¡ – maintain ¡so/ ¡state ¡at ¡the ¡routers ¡

  • Taxonomy ¡

– router-­‑centric ¡versus ¡host-­‑centric ¡ – reserva'on-­‑based ¡versus ¡feedback-­‑based ¡ – window-­‑based ¡versus ¡rate-­‑based ¡

Fundamentals of Computer Networks CC & RA Router Source 2 Source 1 Source 3 Router Router Destination 2 Destination 1

slide-5
SLIDE 5

Evalua'on ¡

  • Main ¡metrics ¡of ¡networking? ¡

=> ¡Power ¡(ra'o ¡of ¡throughput ¡to ¡delay) ¡

  • Fairness ¡

Fundamentals of Computer Networks CC & RA

Optimal load Load Throughput/delay

slide-6
SLIDE 6

Queuing ¡Discipline ¡

  • First-­‑In-­‑First-­‑Out ¡(FIFO) ¡or ¡First-­‑Come-­‑First-­‑Serve ¡(FCFS) ¡

– does ¡not ¡discriminate ¡between ¡traffic ¡sources ¡ – Scheduling ¡vs. ¡drop ¡policy ¡

  • Fair ¡Queuing ¡(FQ) ¡

– explicitly ¡segregates ¡traffic ¡based ¡on ¡flows ¡ – ensures ¡no ¡flow ¡captures ¡more ¡than ¡its ¡share ¡of ¡capacity ¡ – varia'on: ¡weighted ¡fair ¡queuing ¡(WFQ) ¡

  • Problem? ¡

Fundamentals of Computer Networks CC & RA Flow 1 Flow 2 Flow 3 Flow 4 Round-robin service

slide-7
SLIDE 7

FQ ¡Algorithm ¡

  • Suppose ¡clock ¡'cks ¡each ¡'me ¡a ¡bit ¡is ¡transmi\ed ¡from ¡each ¡flow ¡
  • Let ¡Pi ¡denote ¡the ¡length ¡of ¡packet ¡i ¡
  • Let ¡Si ¡denote ¡the ¡'me ¡when ¡start ¡to ¡transmit ¡packet ¡i ¡
  • Let ¡Fi ¡denote ¡the ¡'me ¡when ¡finish ¡transmi^ng ¡packet ¡i ¡
  • Fi ¡= ¡Si ¡+ ¡Pi ¡
  • When ¡does ¡the ¡router ¡start ¡transmi^ng ¡packet ¡i? ¡

– if ¡packet ¡i ¡arrived ¡before ¡router ¡finished ¡packet ¡i ¡-­‑ ¡1 ¡ from ¡this ¡flow, ¡then ¡immediately ¡aber ¡last ¡bit ¡of ¡i ¡-­‑ ¡1 ¡ (Fi-­‑1) ¡ – if ¡no ¡current ¡packets ¡for ¡this ¡flow, ¡then ¡start ¡ transmi^ng ¡when ¡arrives ¡(call ¡this ¡Ai) ¡

  • Thus: ¡Fi ¡= ¡MAX ¡(Fi ¡-­‑ ¡1, ¡Ai) ¡+ ¡Pi ¡

Fundamentals of Computer Networks CC & RA

slide-8
SLIDE 8

FQ ¡Algorithm ¡(cont) ¡

  • For ¡mul'ple ¡flows ¡

– calculate ¡Fi ¡for ¡each ¡packet ¡that ¡arrives ¡on ¡each ¡flow ¡ – treat ¡all ¡Fi’s ¡as ¡'mestamps ¡ – next ¡packet ¡to ¡transmit ¡is ¡one ¡with ¡lowest ¡'mestamp ¡ – clock ¡advances ¡by ¡one ¡'ck ¡when ¡n ¡bits ¡are ¡transmi\ed ¡

  • Not ¡perfect: ¡can’t ¡preempt ¡current ¡packet ¡
  • Example ¡

Fundamentals of Computer Networks CC & RA

Flow 1 Flow 2 (a) (b) Output Output F = 8 F = 10 F = 5 F = 10 F = 2 Flow 1 (arriving) Flow 2 (transmitting)

slide-9
SLIDE 9

TCP ¡Conges'on ¡Control ¡

  • Idea ¡

– assumes ¡best-­‑effort ¡network ¡(FIFO ¡or ¡FQ ¡routers) ¡each ¡ source ¡determines ¡network ¡capacity ¡for ¡itself ¡ – uses ¡implicit ¡feedback ¡to ¡adapt ¡ – ACKs ¡pace ¡transmission ¡(self-­‑clocking) ¡

  • Challenge ¡

– determining ¡the ¡available ¡capacity ¡in ¡the ¡first ¡place ¡ – adjus'ng ¡to ¡changes ¡in ¡the ¡available ¡capacity ¡

Fundamentals of Computer Networks CC & RA

slide-10
SLIDE 10

Addi've ¡Increase/Mul'plica've ¡ Decrease ¡

  • Objec've: ¡adjust ¡to ¡changes ¡in ¡the ¡available ¡capacity ¡
  • New ¡state ¡variable ¡per ¡connec'on: ¡CongestionWindow ¡

– limits ¡how ¡much ¡data ¡source ¡has ¡in ¡transit ¡ MaxWin = MIN(CongestionWindow, AdvertisedWindow) EffWin = MaxWin - (LastByteSent - LastByteAcked)

  • Idea: ¡

– increase ¡CongestionWindow ¡when ¡conges'on ¡goes ¡down ¡ – decrease ¡CongestionWindow ¡when ¡conges'on ¡goes ¡up ¡

Fundamentals of Computer Networks CC & RA

slide-11
SLIDE 11

AIMD ¡(cont) ¡

  • Ques'on: ¡how ¡does ¡the ¡source ¡determine ¡whether ¡or ¡not ¡the ¡

network ¡is ¡congested? ¡

  • Answer: ¡a ¡'meout ¡occurs ¡

– 'meout ¡signals ¡that ¡a ¡packet ¡was ¡lost ¡ – packets ¡are ¡seldom ¡lost ¡due ¡to ¡transmission ¡error ¡on ¡wired ¡networks ¡ – lost ¡packet ¡implies ¡conges'on ¡

Fundamentals of Computer Networks CC & RA

slide-12
SLIDE 12

AIMD ¡(cont) ¡

  • In ¡prac'ce: ¡increment ¡a ¡li\le ¡for ¡each ¡ACK ¡

Increment = (MSS * MSS)/CongestionWindow CongestionWindow += Increment ¡ ¡

Fundamentals of Computer Networks CC & RA

Source Destination …

  • Algorithm

– increment CongestionWindow by

  • ne packet per RTT (linear increase)

– divide CongestionWindow by two whenever a timeout occurs (multiplicative decrease)

slide-13
SLIDE 13

AIMD ¡(cont) ¡

  • Trace: ¡sawtooth ¡behavior ¡

Fundamentals of Computer Networks CC & RA

60 20 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 KB T ime (seconds) 70 30 40 50 10 10.0

slide-14
SLIDE 14

Slow ¡Start ¡

  • Objec've: ¡determine ¡the ¡

available ¡capacity ¡when ¡ star'ng ¡ ¡

  • Idea: ¡

– begin ¡with ¡CongestionWindow ¡= ¡1 ¡ packet ¡ – double ¡CongestionWindow ¡each ¡ RTT ¡(increment ¡by ¡1 ¡packet ¡for ¡ each ¡ACK) ¡

Fundamentals of Computer Networks CC & RA Source Destination …

slide-15
SLIDE 15

Slow ¡Start ¡(cont) ¡

  • Exponen'al ¡growth, ¡but ¡slower ¡than ¡all ¡at ¡once ¡
  • Used… ¡

– when ¡first ¡star'ng ¡connec'on ¡ – when ¡connec'on ¡goes ¡dead ¡wai'ng ¡for ¡'meout ¡

  • Trace ¡
  • Problem: ¡lose ¡up ¡to ¡half ¡a ¡CongestionWindow’s ¡worth ¡of ¡data ¡

Fundamentals of Computer Networks CC & RA 60 20 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 KB 70 30 40 50 10

slide-16
SLIDE 16

Fast ¡Retransmit ¡and ¡Fast ¡Recovery ¡

  • Problem: ¡coarse-­‑grain ¡TCP ¡

'meouts ¡lead ¡to ¡idle ¡ periods ¡

  • Fast ¡retransmit: ¡use ¡

duplicate ¡ACKs ¡to ¡trigger ¡ retransmission ¡

– In ¡prac'ce ¡3 ¡duplicate ¡ACKs ¡ – Results ¡in ¡20% ¡improvement ¡ in ¡throughput ¡

Fundamentals of Computer Networks CC & RA Packet 1 Packet 2 Packet 3 Packet 4 Packet 5 Packet 6 Retransmit packet 3 ACK 1 ACK 2 ACK 2 ACK 2 ACK 6 ACK 2 Sender Receiver

slide-17
SLIDE 17

Results ¡

  • Fast ¡recovery ¡

– skip ¡the ¡slow ¡start ¡phase ¡ – go ¡directly ¡to ¡half ¡the ¡last ¡successful ¡CongestionWindow (ssthresh) ¡

Fundamentals of Computer Networks CC & RA

60 20 1.0 2.0 3.0 4.0 5.0 6.0 7.0 KB 70 30 40 50 10

slide-18
SLIDE 18

Conges'on ¡Avoidance ¡

  • TCP’s ¡strategy ¡

– control ¡conges'on ¡once ¡it ¡happens ¡ – repeatedly ¡increase ¡load ¡in ¡an ¡effort ¡to ¡find ¡the ¡point ¡at ¡which ¡ conges'on ¡occurs, ¡and ¡then ¡back ¡off ¡

  • Alterna've ¡strategy ¡

– predict ¡when ¡conges'on ¡is ¡about ¡to ¡happen ¡ – reduce ¡rate ¡before ¡packets ¡start ¡being ¡discarded ¡ – call ¡this ¡conges'on ¡avoidance, ¡instead ¡of ¡conges'on ¡control ¡

  • Two ¡possibili'es ¡ ¡

– router-­‑centric: ¡DECbit ¡and ¡RED ¡Gateways ¡ ¡ – host-­‑centric: ¡TCP ¡Vegas ¡ ¡

Fundamentals of Computer Networks CC & RA

slide-19
SLIDE 19

DECbit ¡

  • Add ¡binary ¡conges'on ¡bit ¡to ¡each ¡packet ¡header ¡
  • Router ¡

– monitors ¡average ¡queue ¡length ¡over ¡last ¡busy+idle ¡cycle ¡ – set ¡conges'on ¡bit ¡if ¡average ¡queue ¡length ¡> ¡1 ¡ – a\empts ¡to ¡balance ¡throughout ¡against ¡delay ¡

Fundamentals of Computer Networks CC & RA

Queue length Current time T ime Current cycle Previous cycle A veraging interval

slide-20
SLIDE 20

End ¡Hosts ¡

  • Des'na'on ¡echoes ¡bit ¡back ¡to ¡source ¡
  • Source ¡records ¡how ¡many ¡packets ¡resulted ¡in ¡set ¡

bit ¡

  • If ¡less ¡than ¡50% ¡of ¡last ¡window’s ¡worth ¡had ¡bit ¡

set ¡ ¡

– increase ¡CongestionWindow ¡by ¡1 ¡packet ¡

  • If ¡50% ¡or ¡more ¡of ¡last ¡window’s ¡worth ¡had ¡bit ¡set ¡ ¡

– decrease ¡CongestionWindow ¡by ¡0.875 ¡'mes ¡

Fundamentals of Computer Networks CC & RA

slide-21
SLIDE 21

Random ¡Early ¡Detec'on ¡(RED) ¡

  • No'fica'on ¡is ¡implicit ¡ ¡

– just ¡drop ¡the ¡packet ¡(TCP ¡will ¡'meout) ¡ – could ¡make ¡explicit ¡by ¡marking ¡the ¡packet ¡

  • Early ¡random ¡drop ¡

– rather ¡than ¡wait ¡for ¡queue ¡to ¡become ¡full, ¡drop ¡each ¡ arriving ¡packet ¡with ¡some ¡drop ¡probability ¡whenever ¡ the ¡queue ¡length ¡exceeds ¡some ¡drop ¡level ¡

Fundamentals of Computer Networks CC & RA

slide-22
SLIDE 22

RED ¡Details ¡

  • Compute ¡average ¡queue ¡length ¡

AvgLen = (1 - Weight) * AvgLen +

Weight * SampleLen ¡

0 ¡< ¡Weight ¡< ¡1 ¡(usually ¡0.002) ¡ SampleLen ¡is ¡queue ¡length ¡each ¡'me ¡a ¡packet ¡ arrives ¡

Fundamentals of Computer Networks CC & RA

MaxThreshold MinThreshold A vgLen

slide-23
SLIDE 23

RED ¡Details ¡(cont) ¡

  • Two ¡queue ¡length ¡thresholds ¡

if AvgLen <= MinThreshold then enqueue the packet if MinThreshold < AvgLen < MaxThreshold then calculate probability P drop arriving packet with probability P if ManThreshold <= AvgLen then drop arriving packet ¡

Fundamentals of Computer Networks CC & RA

slide-24
SLIDE 24

RED ¡Details ¡(cont) ¡

  • Compu'ng ¡probability ¡P ¡

TempP = MaxP * (AvgLen - MinThreshold)/ (MaxThreshold - MinThreshold) P = TempP/(1 - count * TempP)

  • Drop ¡Probability ¡Curve ¡

Fundamentals of Computer Networks CC & RA P(drop) 1.0 MaxP MinThresh MaxThresh A vgLen

slide-25
SLIDE 25

Tuning ¡RED ¡

  • Probability ¡of ¡dropping ¡a ¡par'cular ¡flow’s ¡packet(s) ¡is ¡roughly ¡

propor'onal ¡to ¡the ¡share ¡of ¡the ¡bandwidth ¡that ¡flow ¡is ¡currently ¡ ge^ng ¡

  • MaxP ¡is ¡typically ¡set ¡to ¡0.02, ¡meaning ¡that ¡when ¡the ¡average ¡

queue ¡size ¡is ¡halfway ¡between ¡the ¡two ¡thresholds, ¡the ¡gateway ¡ drops ¡roughly ¡one ¡out ¡of ¡50 ¡packets. ¡

  • If ¡traffic ¡id ¡bursty, ¡then ¡MinThreshold ¡should ¡be ¡sufficiently ¡

large ¡to ¡allow ¡link ¡u'liza'on ¡to ¡be ¡maintained ¡at ¡an ¡acceptably ¡ high ¡level ¡ ¡

  • Difference ¡between ¡two ¡thresholds ¡should ¡be ¡larger ¡than ¡the ¡

typical ¡increase ¡in ¡the ¡calculated ¡average ¡queue ¡length ¡in ¡one ¡RTT; ¡ se^ng ¡MaxThreshold ¡to ¡twice ¡MinThreshold ¡is ¡reasonable ¡ for ¡traffic ¡on ¡today’s ¡Internet ¡

  • Penalty ¡Box ¡for ¡Offenders ¡

Fundamentals of Computer Networks CC & RA

slide-26
SLIDE 26

TCP ¡Vegas ¡

  • Idea: ¡source ¡watches ¡for ¡some ¡sign ¡that ¡router’s ¡queue ¡is ¡

building ¡up ¡and ¡conges'on ¡will ¡happen ¡too; ¡e.g., ¡

– RTT ¡grows ¡ – sending ¡rate ¡fla\ens ¡ ¡

Fundamentals of Computer Networks CC & RA

slide-27
SLIDE 27

Algorithm ¡ ¡

  • Let ¡BaseRTT ¡be ¡the ¡minimum ¡of ¡all ¡measured ¡RTTs ¡

(commonly ¡the ¡RTT ¡of ¡the ¡first ¡packet) ¡

  • If ¡not ¡overflowing ¡the ¡connec'on, ¡then ¡

¡ ¡ExpectRate = CongestionWindow/BaseRTT ¡

  • Source ¡calculates ¡sending ¡rate ¡(ActualRate) ¡once ¡per ¡RTT ¡
  • Source ¡compares ¡ActualRate ¡with ¡ExpectRate ¡

¡Diff = ExpectedRate - ActualRate

if Diff < α increase CongestionWindow linearly else if Diff > β decrease CongestionWindow linearly else leave CongestionWindow unchanged

Fundamentals of Computer Networks CC & RA

slide-28
SLIDE 28

Algorithm ¡(cont) ¡

  • Parameters ¡ ¡
  • α ¡= ¡1 ¡packet ¡
  • β ¡= ¡3 ¡packets ¡
  • Even ¡faster ¡retransmit ¡

– keep ¡fine-­‑grained ¡'mestamps ¡for ¡each ¡packet ¡ ¡ – check ¡for ¡'meout ¡on ¡first ¡duplicate ¡ACK ¡

Fundamentals of Computer Networks CC & RA

slide-29
SLIDE 29

Tahoe, ¡Reno, ¡Vegas ¡

  • TCP ¡Tahoe: ¡BSD ¡Network ¡Release ¡1.0 ¡(BNR1) ¡

– Jacobson’s ¡CC ¡+ ¡Slow-­‑Start ¡+ ¡Fast-­‑Retransmit ¡

  • TCP ¡Reno: ¡ ¡

– TCP ¡Tahoe ¡+ ¡Fast-­‑Recovery ¡+ ¡Delayed ¡Acks ¡+ ¡ Header ¡Predic'on ¡ ¡

  • TCP ¡Vegas ¡

Fundamentals of Computer Networks CC & RA

slide-30
SLIDE 30

Real'me ¡Applica'ons ¡

  • Require ¡“deliver ¡on ¡'me” ¡assurances ¡

– must ¡come ¡from ¡inside ¡the ¡network ¡

  • Example ¡applica'on ¡(audio) ¡

– sample ¡voice ¡once ¡every ¡125us ¡ – each ¡sample ¡has ¡a ¡playback ¡&me ¡ – packets ¡experience ¡variable ¡delay ¡in ¡network ¡ – add ¡constant ¡factor ¡to ¡playback ¡'me: ¡playback ¡point ¡

Fundamentals of Computer Networks CC & RA

Microphone Speaker Sampler , A D converter Buffer , D A

slide-31
SLIDE 31

Playback ¡Buffer ¡

Fundamentals of Computer Networks CC & RA

Sequence number Packet generation Network delay Buffer Playback T ime Packet arrival

slide-32
SLIDE 32

Example ¡Distribu'on ¡of ¡Delays ¡

Fundamentals of Computer Networks CC & RA

1 2 3 Packets (%) 90% 97% 98% 99% 150 200 100 50 Delay (milliseconds)

slide-33
SLIDE 33

Taxonomy ¡

Fundamentals of Computer Networks CC & RA

Applications Real time T

  • lerant

Adaptive Nonadaptive Delay- adaptive Rate- adaptive Intolerant Rate-adaptive Nonadaptive Interactive Interactive bulk Asynchronous Elastic

slide-34
SLIDE 34

Integrated ¡Services ¡

  • Service ¡Classes ¡

– guaranteed ¡ – controlled-­‑load ¡

  • Mechanisms ¡

– Flowspec ¡ – signaling ¡protocol ¡ – admission ¡control ¡ – policing ¡ – packet ¡scheduling ¡

Fundamentals of Computer Networks CC & RA

slide-35
SLIDE 35

Flowspec ¡

  • Rspec: ¡describes ¡service ¡requested ¡from ¡network ¡

– controlled-­‑load: ¡none ¡ – guaranteed: ¡delay ¡target ¡

  • Tspec: ¡describes ¡flow’s ¡traffic ¡characteris'cs ¡

– average ¡bandwidth ¡+ ¡burs'ness: ¡token ¡bucket ¡filter ¡ – token ¡rate ¡r ¡ – bucket ¡depth ¡B ¡ – must ¡have ¡a ¡token ¡to ¡send ¡a ¡byte ¡ – must ¡have ¡n ¡tokens ¡to ¡send ¡n ¡bytes ¡ – start ¡with ¡no ¡tokens ¡ – accumulate ¡tokens ¡at ¡rate ¡of ¡r ¡per ¡second ¡ – can ¡accumulate ¡no ¡more ¡than ¡B ¡tokens ¡

Fundamentals of Computer Networks CC & RA

slide-36
SLIDE 36

Per-­‑Router ¡Mechanisms ¡

  • Admission ¡Control ¡

– decide ¡if ¡a ¡new ¡flow ¡can ¡be ¡supported ¡ – answer ¡depends ¡on ¡service ¡class ¡ – not ¡the ¡same ¡as ¡policing ¡

  • Packet ¡Processing ¡

– classifica'on: ¡associate ¡each ¡packet ¡with ¡the ¡ appropriate ¡reserva'on ¡ – scheduling: ¡manage ¡queues ¡so ¡each ¡packet ¡ receives ¡the ¡requested ¡service ¡

Fundamentals of Computer Networks CC & RA

slide-37
SLIDE 37

Reserva'on ¡Protocol ¡

  • Called ¡signaling ¡in ¡ATM ¡
  • Proposed ¡Internet ¡standard: ¡RSVP ¡
  • Consistent ¡with ¡robustness ¡of ¡today’s ¡connec'onless ¡model ¡
  • Uses ¡sob ¡state ¡(refresh ¡periodically) ¡
  • Designed ¡to ¡support ¡mul'cast ¡
  • Receiver-­‑oriented ¡
  • Two ¡messages: ¡PATH ¡and ¡RESV ¡
  • Source ¡transmits ¡PATH ¡(TSpec) ¡messages ¡every ¡30 ¡seconds ¡
  • Des'na'on ¡responds ¡with ¡RESV ¡(TSpec, ¡RSpec) ¡message ¡
  • Merge ¡requirements ¡in ¡case ¡of ¡mul'cast ¡
  • Can ¡specify ¡number ¡of ¡speakers ¡

Fundamentals of Computer Networks CC & RA

slide-38
SLIDE 38

RSVP ¡Example ¡

Fundamentals of Computer Networks CC & RA

slide-39
SLIDE 39

ATM ¡QoS ¡

  • Service ¡Classes: ¡

– Constant ¡Bit ¡Rate ¡(CBR) ¡ – Variable ¡Bit ¡Rate-­‑real-­‑'me ¡(VBR-­‑rt) ¡ – Variable ¡Bit ¡Rate-­‑non-­‑real-­‑'me ¡(VBR-­‑nrt) ¡ – Unspecified ¡Bit ¡Rate ¡(UBR) ¡ – Available ¡Bit ¡Rate ¡(ABR) ¡

Fundamentals of Computer Networks CC & RA

slide-40
SLIDE 40

RSVP ¡versus ¡ATM ¡(Q.2931) ¡

  • RSVP ¡

– receiver ¡generates ¡reserva'on ¡ – sob ¡state ¡(refresh/'meout) ¡ – separate ¡from ¡route ¡establishment ¡ – QoS ¡can ¡change ¡dynamically ¡ – receiver ¡heterogeneity ¡

  • ATM ¡

– sender ¡generates ¡connec'on ¡request ¡ – hard ¡state ¡(explicit ¡delete) ¡ – concurrent ¡with ¡route ¡establishment ¡ – QoS ¡is ¡sta'c ¡for ¡life ¡of ¡connec'on ¡ – uniform ¡QoS ¡to ¡all ¡receivers ¡

Fundamentals of Computer Networks CC & RA

slide-41
SLIDE 41

Differen'ated ¡Services ¡

  • Problem ¡with ¡Integrated ¡Services: ¡scalability ¡
  • Idea: ¡support ¡two ¡classes ¡of ¡packets ¡

– premium ¡ – best-­‑effort ¡

Fundamentals of Computer Networks CC & RA P(drop) 1.0 MaxP Min

in

Max

in

Max

  • ut

Min

  • ut

A vgLen

  • Mechanisms

– Use TOS IP field (6 bits) to indicate Diff.

  • Ser. Code Points (DSCP) to identify the

“Per-Hop Behavior” of routers – Types of PHB:

  • Expeditive Forwarding
  • Assured Forwarding: RED In and Out

(RIO) or Weighted RED. Maintains in-order delivery

  • Combined with WFQ
  • IETF “assured service”: 12 DSCP = 4

queues, each with 3 drop preferences