Docsity

Core-Stateless Fair Queueing - Advanced Computer Networks - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Core-Stateless Fair Queueing - Advanced Computer Networks - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Core-Stateless Fair Queueing:

A Scalable Architecture to Approximate Fair

Bandwidth Allocations in High Speed

Networks

Outline

  • Introduction
  • Core-Stateless Fair Queueing (CSFQ)
    • Fluid Model Algorithm
    • Packet Algorithm
    • Flow Arrival Rate
    • Link Fair Share Rate Estimation
  • NS Simulations
  • Conclusions

An “Island” of Routers

Edge Router

Core Router

Source Destination

Destination

Outline

  • Introduction
  • Core-Stateless Fair Queueing (CSFQ)
    • Fluid Model Algorithm
    • Packet Algorithm
    • Flow Arrival Rate
    • Link Fair Share Rate Estimation
  • NS Simulations
  • Conclusions

Edge – Core Router Architecture

Fluid Model Algorithm

  • Assume the bottleneck router has an output link with capacity C.
  • Assume each flow’s arrival rate, ri (t) , is known precisely. The main idea is that max-min fair bandwidth allocations are characterized such that all flows that are bottlenecked by a router have the same output rate.
  • This rate is called the fair share rate of the link_._
  • Let α(t) be the fair share rate at time t.

Fluid Model Algorithm

Thus, the probabilistic fluid forwarding

algorithm that achieves fair bandwidth

allocation is:

Each incoming bit of flow i is dropped

with probability

max (0,1-α(t)/ri (t)) (2)

These dropping probabilities yield fair share

arrival rates at the next hop.

Packet Algorithm

  • Moving from a bit-level, buffer-less fluid

model to a packet-based, buffer model leaves

two challenges:

  • Estimate the flow arrival rates r (^) i(t)
  • Estimate the fair share α(t)
  • This is possible because the rate estimator

incorporates the packet size.

Link Fair Rate Estimation

If we denote the estimate of the fair share by and the acceptance rate by , we have

Note – if we know ri(t) then can be determined by finding the unique solution to F(x) = C.

However, this requires per-flow state!

Heuristic Algorithm

  • The heuristic algorithm needs three aggregate state variables: , , where is the estimated aggregate arrival rate.
  • When a packet arrives, the router computes:

(5)

  • and similarly computes.

CSFQ Algorithm (cont.)

  • If the link is not congested, is set to the largest rate of any active flow.
  • feeds into the calculation of drop probability, p, for the next arriving packet as α in p = max (0 , 1 – α / label)

CSFQ Algorithm (cont.)

  • Estimation inaccuracies may cause to exceed link capacity.
  • Thus, to limit the effect of Drop Tail buffer overflows, every time buffer overflows is decreased by 1% in simulations.

Outline

  • Introduction
  • Core-Stateless Fair Queueing (CSFQ)
    • Fluid Model Algorithm
    • Packet Algorithm
    • Flow Arrival Rate
    • Link Fair Share Rate Estimation
  • NS Simulations
  • Conclusions

Simulations

  • A major effort of the paper is to compare

CSFQ to four algorithms via ns-

simulations.

  • FIFO
  • RED
  • FRED (Flow Random Early Drop)
  • DRR (Deficit Round Robin)