SlideShare a Scribd company logo
1 of 28
Download to read offline
Core-Stateless Fair Queueing
Achieving Approximately Fair Bandwidth
Allocations in High Speed Networks
Ion Stoica @ CMU
Scott Shenker @ Xerox PARC
Hui Zhang @ CMU
Presented by Wang Yuanxuan
SIGCOMM ’98
Is end-to-end congestion
control enough?
Limitations of End-to-end Protocols
• All end-host cooperate
– What about ill-behaved users?
• End-hosts implement homogeneous
control algorithms
– Assume all clients adopt TCP
Enforcing Fair Bandwidth Allocation
• Router controls bandwidth
• Each flow is ensured to receive its fair
share
– no matter what control algorithms
Fair Queueing
Fair Queueing (cont.)
• Maintain per flow state
Fair Queueing (cont.)
• A router needs to perform
– Per packet classification
– Per flow buffer management
– Per flow scheduling
• Any disadvantages?
– Complex
– Per flow management
Core-Stateless Fair Queueing
• Significantly reduces implementation
complexity
• Still achieves approximately fair
allocations
How?
decomposing edge and core routers
estimating incoming rate and fair
rate
drop packets probabilistically
Outline
• Previous Work
Design
• Algorithms
• Evaluation
Architecture
• Two types of nodes
– edge nodes
– core nodes
• Only edge routers maintain per flow
state
Probabilistic Dropping
• Given
– rate estimate carried in the label ri(t)
– fair share rate of the router α(t)
• The arrival rate of flow i at time t
min⁡[ 𝑟𝑖 𝑡 , α 𝑡 ]
• The packet is dropped with probability
max⁡(0, 1 −
α(𝑡)
𝑟𝑖(𝑡)
)
Edge Nodes & Core Nodes
• Edge nodes
– estimate the incoming rate of each flow, and
use it to label flow's packets
• All nodes
– periodically estimate the fair rate f
– upon packet arrival, compute the forwarding
probability P and forward it
– when a packet is forwarded reset its label
How to estimating
ri(t) and α(t)?
Example Algorithms
• Computation of Flow Arrival Rate
𝑟𝑖
𝑛𝑒𝑤
= 1 − 𝑒−
𝑇𝑖
𝑘
𝐾
𝑙𝑖
𝑘
𝑇𝑖
𝑘
+ 𝑒−𝑇𝑖 𝑘
/𝐾
𝑟𝑖
𝑜𝑙𝑑
• Link Fair Rate Estimation
ɑ 𝑛𝑒𝑤 = ɑ 𝑜𝑙𝑑
𝐶
𝐹 ri Flow arrival rate
li
k Length of kth packet of flow i
ti
k Arrival time of flow i
Ti
k Duration
C Output link speed
F Estimated rate of the accepted traffic
Pseudocode
Don’t worry
It’s just an initial prototype
And finally…
Evaluation
• Competitors
– FIFO (first in first out, naïve)
– RED (random early detection)
– FRED (flow random early drop, drop based
on flow state)
– DRR (deficit round robin, an efficient
implementation of weighted fair queueing)
– CSFQ
What Should We Evaluate
• Total throughput
• Single flow throughput in congested
network
– TCP
– UDP
• Throughput under Large Latencies
Total Throughput of TCP/UDP Flows
Multiple Congested Links
• Each UDP sends at twice its fair rate
Relative Throughput of A TCP Flow
Relative Throughput of A UDP Flow
Throughputs with Large Latency
• Propagation delay: 100ms
Algorithm Mean Std. dev
DRR 6080 64
CSFQ 5761 220
FRED 4974 190
RED 628 80
FIFO 378 69
Throughputs with Large Latency
• Propagation delay: 100ms
Algorithm Mean Std. dev
DRR 6080 64
CSFQ 5761 220
FRED 4974 190
RED 628 80
FIFO 378 69
Summary
• CSFQ
– a hybrid scheme that asymptotically converges
to max-min fairness
• Two neat ideas
– a decomposition of edge and core routers
– a simple technique to estimate the fair rate in
a core router
• Can achieve a significant degree of
fairness
– comparable or superior to FRED
Drawbacks & Discussion
• Effect of large latencies
• All routers in an island need to be
simultaneously upgraded
• Dynamic packet state needs to be
implemented somehow
– Using IP fragmentation header fields?
• Assume benign routers
– What if buggy or malicious routers exist?
Thanks!

More Related Content

What's hot

Basics of Network Traffic Management
Basics of Network Traffic ManagementBasics of Network Traffic Management
Basics of Network Traffic ManagementPuneet Bawa
 
Qos Quality of services
Qos   Quality of services Qos   Quality of services
Qos Quality of services HayderThary
 
Quality of service(qos) by M.BILAL.SATTI
Quality of service(qos) by M.BILAL.SATTIQuality of service(qos) by M.BILAL.SATTI
Quality of service(qos) by M.BILAL.SATTIMuhammad Bilal Satti
 
Call flow comparison gsm umts
Call flow comparison gsm umtsCall flow comparison gsm umts
Call flow comparison gsm umtslamno
 
QoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.netQoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.netFebrian ‎
 
Overview of Routing Techniques
Overview of Routing TechniquesOverview of Routing Techniques
Overview of Routing TechniquesSigSegVSquad
 
Tech talk network - friend or foe
Tech talk   network - friend or foeTech talk   network - friend or foe
Tech talk network - friend or foearagozin
 
Congestion control
Congestion controlCongestion control
Congestion controlNithin Raj
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic CharacterizationIsmail Mukiibi
 
Intelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow ManipulationIntelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow ManipulationTal Lavian Ph.D.
 
Pause frames an overview
Pause frames an overviewPause frames an overview
Pause frames an overviewMapYourTech
 
Call flow comparison gsm umts
Call flow comparison gsm umtsCall flow comparison gsm umts
Call flow comparison gsm umtssivakumar D
 
Wireless networks ..mac layer
Wireless networks ..mac layerWireless networks ..mac layer
Wireless networks ..mac layerGOURAV KUMAR
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control anuragjagetiya
 
Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13daniel ayalew
 
Qo s routing
Qo s  routingQo s  routing
Qo s routingrajib_
 

What's hot (20)

Basics of Network Traffic Management
Basics of Network Traffic ManagementBasics of Network Traffic Management
Basics of Network Traffic Management
 
Qos Quality of services
Qos   Quality of services Qos   Quality of services
Qos Quality of services
 
Quality of service(qos) by M.BILAL.SATTI
Quality of service(qos) by M.BILAL.SATTIQuality of service(qos) by M.BILAL.SATTI
Quality of service(qos) by M.BILAL.SATTI
 
Call flow comparison gsm umts
Call flow comparison gsm umtsCall flow comparison gsm umts
Call flow comparison gsm umts
 
QoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.netQoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.net
 
Overview of Routing Techniques
Overview of Routing TechniquesOverview of Routing Techniques
Overview of Routing Techniques
 
Tech talk network - friend or foe
Tech talk   network - friend or foeTech talk   network - friend or foe
Tech talk network - friend or foe
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Auto mac rateless wireless concurrent medium access
Auto mac rateless wireless concurrent medium accessAuto mac rateless wireless concurrent medium access
Auto mac rateless wireless concurrent medium access
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
 
Intelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow ManipulationIntelligent Network Services through Active Flow Manipulation
Intelligent Network Services through Active Flow Manipulation
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Pause frames an overview
Pause frames an overviewPause frames an overview
Pause frames an overview
 
Call flow comparison gsm umts
Call flow comparison gsm umtsCall flow comparison gsm umts
Call flow comparison gsm umts
 
Wireless networks ..mac layer
Wireless networks ..mac layerWireless networks ..mac layer
Wireless networks ..mac layer
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control
 
Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13Traffic and Congestion Control in ATM Networks Chapter 13
Traffic and Congestion Control in ATM Networks Chapter 13
 
Qo s routing
Qo s  routingQo s  routing
Qo s routing
 
Chap24
Chap24Chap24
Chap24
 

Viewers also liked

H ip qo s for 3g
H ip qo s for 3gH ip qo s for 3g
H ip qo s for 3gSocnho Kit
 
Congestion control
Congestion controlCongestion control
Congestion controlAbhay Pai
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcpsamarai_apoc
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithmUmesh Gupta
 
3G Basic Overview
3G Basic Overview3G Basic Overview
3G Basic OverviewTel sol
 

Viewers also liked (8)

H ip qo s for 3g
H ip qo s for 3gH ip qo s for 3g
H ip qo s for 3g
 
Transport layer
Transport layerTransport layer
Transport layer
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcp
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
 
3G TECHNOLOGY
3G TECHNOLOGY3G TECHNOLOGY
3G TECHNOLOGY
 
3G Basic Overview
3G Basic Overview3G Basic Overview
3G Basic Overview
 
3G basic
3G basic3G basic
3G basic
 

Similar to Core-Stateless Fair Queueing Achieving Approximately Fair Bandwidth Allocations

Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithmBasit Hussain
 
Vsat day-2008-comtech
Vsat day-2008-comtechVsat day-2008-comtech
Vsat day-2008-comtechSSPI Brasil
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdfTabrezahmed39
 
High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3Seung-Bum Lee
 
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...Prasanna Shanmugasundaram
 
RIPE 76: TCP and BBR
RIPE 76: TCP and BBRRIPE 76: TCP and BBR
RIPE 76: TCP and BBRAPNIC
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptanushaj46
 
New framing-protocols
New framing-protocolsNew framing-protocols
New framing-protocolsNitesh Singh
 
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet MulticastingNP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicastinghamsa nandhini
 
Network State Awareness & Troubleshooting
Network State Awareness & TroubleshootingNetwork State Awareness & Troubleshooting
Network State Awareness & TroubleshootingAPNIC
 
Aceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfAceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfWifiCren
 
Performance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdfPerformance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdfPhcng785014
 
AusNOG 2019: TCP and BBR
AusNOG 2019: TCP and BBRAusNOG 2019: TCP and BBR
AusNOG 2019: TCP and BBRAPNIC
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxAayushMishra89
 

Similar to Core-Stateless Fair Queueing Achieving Approximately Fair Bandwidth Allocations (20)

Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1Advanced networking - scheduling and QoS part 1
Advanced networking - scheduling and QoS part 1
 
Chapter07
Chapter07Chapter07
Chapter07
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
QoSintro.PPT
QoSintro.PPTQoSintro.PPT
QoSintro.PPT
 
Vsat day-2008-comtech
Vsat day-2008-comtechVsat day-2008-comtech
Vsat day-2008-comtech
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf
 
High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
 
Week 3
Week 3Week 3
Week 3
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
 
Play With Streams
Play With StreamsPlay With Streams
Play With Streams
 
RIPE 76: TCP and BBR
RIPE 76: TCP and BBRRIPE 76: TCP and BBR
RIPE 76: TCP and BBR
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
 
New framing-protocols
New framing-protocolsNew framing-protocols
New framing-protocols
 
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet MulticastingNP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
 
Network State Awareness & Troubleshooting
Network State Awareness & TroubleshootingNetwork State Awareness & Troubleshooting
Network State Awareness & Troubleshooting
 
Aceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfAceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdf
 
Performance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdfPerformance & Monitoring Performance.pdf
Performance & Monitoring Performance.pdf
 
AusNOG 2019: TCP and BBR
AusNOG 2019: TCP and BBRAusNOG 2019: TCP and BBR
AusNOG 2019: TCP and BBR
 
ROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptxROUTING PROTOCOLS new.pptx
ROUTING PROTOCOLS new.pptx
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Core-Stateless Fair Queueing Achieving Approximately Fair Bandwidth Allocations

  • 1. Core-Stateless Fair Queueing Achieving Approximately Fair Bandwidth Allocations in High Speed Networks Ion Stoica @ CMU Scott Shenker @ Xerox PARC Hui Zhang @ CMU Presented by Wang Yuanxuan SIGCOMM ’98
  • 3. Limitations of End-to-end Protocols • All end-host cooperate – What about ill-behaved users? • End-hosts implement homogeneous control algorithms – Assume all clients adopt TCP
  • 4. Enforcing Fair Bandwidth Allocation • Router controls bandwidth • Each flow is ensured to receive its fair share – no matter what control algorithms
  • 6. Fair Queueing (cont.) • Maintain per flow state
  • 7. Fair Queueing (cont.) • A router needs to perform – Per packet classification – Per flow buffer management – Per flow scheduling • Any disadvantages? – Complex – Per flow management
  • 8. Core-Stateless Fair Queueing • Significantly reduces implementation complexity • Still achieves approximately fair allocations
  • 9. How? decomposing edge and core routers estimating incoming rate and fair rate drop packets probabilistically
  • 10. Outline • Previous Work Design • Algorithms • Evaluation
  • 11. Architecture • Two types of nodes – edge nodes – core nodes • Only edge routers maintain per flow state
  • 12. Probabilistic Dropping • Given – rate estimate carried in the label ri(t) – fair share rate of the router α(t) • The arrival rate of flow i at time t min⁡[ 𝑟𝑖 𝑡 , α 𝑡 ] • The packet is dropped with probability max⁡(0, 1 − α(𝑡) 𝑟𝑖(𝑡) )
  • 13. Edge Nodes & Core Nodes • Edge nodes – estimate the incoming rate of each flow, and use it to label flow's packets • All nodes – periodically estimate the fair rate f – upon packet arrival, compute the forwarding probability P and forward it – when a packet is forwarded reset its label
  • 15. Example Algorithms • Computation of Flow Arrival Rate 𝑟𝑖 𝑛𝑒𝑤 = 1 − 𝑒− 𝑇𝑖 𝑘 𝐾 𝑙𝑖 𝑘 𝑇𝑖 𝑘 + 𝑒−𝑇𝑖 𝑘 /𝐾 𝑟𝑖 𝑜𝑙𝑑 • Link Fair Rate Estimation ɑ 𝑛𝑒𝑤 = ɑ 𝑜𝑙𝑑 𝐶 𝐹 ri Flow arrival rate li k Length of kth packet of flow i ti k Arrival time of flow i Ti k Duration C Output link speed F Estimated rate of the accepted traffic
  • 16. Pseudocode Don’t worry It’s just an initial prototype
  • 18. Evaluation • Competitors – FIFO (first in first out, naïve) – RED (random early detection) – FRED (flow random early drop, drop based on flow state) – DRR (deficit round robin, an efficient implementation of weighted fair queueing) – CSFQ
  • 19. What Should We Evaluate • Total throughput • Single flow throughput in congested network – TCP – UDP • Throughput under Large Latencies
  • 20. Total Throughput of TCP/UDP Flows
  • 21. Multiple Congested Links • Each UDP sends at twice its fair rate
  • 24. Throughputs with Large Latency • Propagation delay: 100ms Algorithm Mean Std. dev DRR 6080 64 CSFQ 5761 220 FRED 4974 190 RED 628 80 FIFO 378 69
  • 25. Throughputs with Large Latency • Propagation delay: 100ms Algorithm Mean Std. dev DRR 6080 64 CSFQ 5761 220 FRED 4974 190 RED 628 80 FIFO 378 69
  • 26. Summary • CSFQ – a hybrid scheme that asymptotically converges to max-min fairness • Two neat ideas – a decomposition of edge and core routers – a simple technique to estimate the fair rate in a core router • Can achieve a significant degree of fairness – comparable or superior to FRED
  • 27. Drawbacks & Discussion • Effect of large latencies • All routers in an island need to be simultaneously upgraded • Dynamic packet state needs to be implemented somehow – Using IP fragmentation header fields? • Assume benign routers – What if buggy or malicious routers exist?