Cloud Control with Distributed Rate Limiting Raghaven et all Presented by: Brian Card CS 577 - Fall 2014 - Kinicki 1.

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

Balaji Prabhakar Active queue management and bandwidth partitioning algorithms Balaji Prabhakar Departments of EE and CS Stanford University
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
WHITE – Achieving Fair Bandwidth Allocation with Priority Dropping Based on Round Trip Time Name : Choong-Soo Lee Advisors : Mark Claypool, Robert Kinicki.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
Architectures for Congestion-Sensitive Pricing of Network Services Thesis Defense by Murat Yuksel CS Department, RPI July 3 rd, 2002.
Barath Raghavan, Kashi Vishwanath, Sriram Ramabhadran, Kenneth Yocum, Alex C. Snoeren Defense: Rejaie Johnson, Xian Yi Teng.
Managing Cloud Resources: Distributed Rate Limiting Alex C. Snoeren Kevin Webb, Bhanu Chandra Vattikonda, Barath Raghavan, Kashi Vishwanath, Sriram Ramabhadran,
Cloud Control with Distributed Rate Limiting Barath Raghavan, Kashi Vishwanath, Sriram Ramabhadran, Kenneth Yocum, and Alex C. Snoeren University of California,
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
CNDS 2001, Phoenix, AZ Simulating the Smart Market Pricing Scheme on Differentiated- Services Architecture Murat Yuksel and Shivkumar Kalyanaraman Rensselaer.
SEEDING CLOUD-BASED SERVICES: DISTRIBUTED RATE LIMITING (DRL) Kevin Webb, Barath Raghavan, Kashi Vishwanath, Sriram Ramabhadran, Kenneth Yocum, and Alex.
CS 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
5/17/20151 Adaptive RED: An Algorithm for Increasing the Robustness of RED’s Active Queue Management or How I learned to stop worrying and love RED Presented.
Simulating Large Networks using Fluid Flow Model Yong Liu Joint work with Francesco LoPresti, Vishal Misra Don Towsley, Yu Gu.
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Adaptive Packet Marking for Maintaining End-to-End Throughput in a Differentiated-Services Internet Wu-Chang Feng, Dilip D.Kandlur, Member, IEEE, Debanjan.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
Pricing Granularity for Congestion-Sensitive Pricing Murat Yüksel and Shivkumar Kalyanaraman Rensselaer Polytechnic Institute, Troy, NY {yuksem, shivkuma}
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
802.11n MAC layer simulation Submitted by: Niv Tokman Aya Mire Oren Gur-Arie.
A simulation-based comparative evaluation of transport protocols for SIP Authors: M.Lulling*, J.Vaughan Department of Computer science, University college.
Low Delay Marking for TCP in Wireless Ad Hoc Networks Choong-Soo Lee, Mingzhe Li Emmanuel Agu, Mark Claypool, Robert Kinicki Worcester Polytechnic Institute.
1 Traffic Sensitive Quality of Service Controller Masters Thesis Submitted by :Abhishek Kumar Advisors: Prof Mark Claypool Prof Robert Kinicki Reader:
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
1 End-to-End Detection of Shared Bottlenecks Sridhar Machiraju and Weidong Cui Sahara Winter Retreat 2003.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Travis Grant – Mingzhe Li, Choong-Soo Lee, Emmanuel.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Mingzhe Li, Choong-Soo Lee, Emmanuel Agu, Mark Claypool and Bob Kinicki Computer Science Department.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Better-Behaved Better- Performing Multimedia Networking Jae Chung and Mark Claypool (Avanish Tripathi) Computer Science Department Worcester Polytechnic.
Distributed-Dynamic Capacity Contracting: A congestion pricing framework for Diff-Serv Murat Yuksel and Shivkumar Kalyanaraman Rensselaer Polytechnic Institute,
Cloud Control with Distributed Rate Limiting Barath Raghavan, Kashi Vishwanath Sriram Ramabhadran, Kenneth Yocum & Alex C.Snoeren Offence: Alex Kiaie &
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
Random Early Detection Gateways for Congestion Avoidance
17/10/2003TCP performance over ad-hoc mobile networks. 1 LCCN – summer 2003 Uri Silbershtein Roi Dayagi Nir Hasson.
10th Workshop on Information Technologies and Systems 1 A Comparative Evaluation of Internet Pricing Schemes: Smart Market and Dynamic Capacity Contracting.
On Self Adaptive Routing in Dynamic Environments -- A probabilistic routing scheme Haiyong Xie, Lili Qiu, Yang Richard Yang and Yin Yale, MR and.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Roadmap-Based End-to-End Traffic Engineering for Multi-hop Wireless Networks Mustafa O. Kilavuz Ahmet Soran Murat Yuksel University of Nevada Reno.
Advanced Computer Networking
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
Worcester Polytechnic Insitute, Worcester, MA, USA1 Traffic Sensitive Active Queue Management for Improved Multimedia Streaming Authors: Vishal Phirke,
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
The Impact of Active Queue Management on Multimedia Congestion Control Wu-chi Feng Ohio State University.
Spring 2003CS 3321 Congestion Avoidance. Spring 2003CS 3322 Congestion Avoidance TCP congestion control strategy: –Increase load until congestion occurs,
Deadline-based Resource Management for Information- Centric Networks Somaya Arianfar, Pasi Sarolahti, Jörg Ott Aalto University, Department of Communications.
1 SIGCOMM ’ 03 Low-Rate TCP-Targeted Denial of Service Attacks A. Kuzmanovic and E. W. Knightly Rice University Reviewed by Haoyu Song 9/25/2003.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
Analysis of RED Goal: impact of RED on loss and delay of bursty (TCP) and less bursty or smooth (UDP) traffic RED eliminates loss bias against bursty traffic.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
Quality of Service Schemes for IEEE Wireless LANs-An Evaluation 主講人 : 黃政偉.
Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for AQM By Srisankar Kunniyur & R. Srikant Presented by Hareesh Pattipati.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
1 Sheer volume and dynamic nature of video stresses network resources PIE: A lightweight latency control to address the buffer problem issue Rong Pan,
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Distance Vector Routing
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
R2C2: A Network Stack for Rack-scale Computers Paolo Costa, Hitesh Ballani, Kaveh Razavi, Ian Kash Microsoft Research Cambridge EECS 582 – W161.
TCP - Part II.
Topics discussed in this section:
Random Early Detection Gateways for Congestion Avoidance
Title: An Adaptive Queue Management Method for Congestion Avoidance in TCP/IP Networks Presented By: Frank Posluszny Vishal Phirke Matt Hartling 12/31/2018.
Presentation transcript:

Cloud Control with Distributed Rate Limiting Raghaven et all Presented by: Brian Card CS Fall Kinicki 1

Motivation Distributed Rate Limiting Global Token Bucket Global Random Drop Flow Proportional Share Simulation and Results Conclusions 2 Outline

Worcester Polytechnic Institute Motivation Distributed Cloud Based Services are becoming more prevalent PaaS vendors want to charge for cloud services In a traffic base pricing model, how do you meter traffic in a distributed system? 3

Worcester Polytechnic Institute Bad Example, 100 Mps for 2 Nodes 4 Node150 Mbps Local Limiter Node250 Mbps Local Limiter

Worcester Polytechnic Institute Bad Example, 100 Mps for 2 Nodes 5 Node150 Mbps Local Limiter 80 Mbps Node250 Mbps Local Limiter

Worcester Polytechnic Institute Bad Example, 100 Mps for 2 Nodes 6 Node150 Mbps Local Limiter 80 Mbps 50 Mbps Node250 Mbps Local Limiter Limiter Reduces Traffic to 50 Mbps

Worcester Polytechnic Institute Bad Example, 100 Mps for 2 Nodes 7 Node150 Mbps Local Limiter 80 Mbps 50 Mbps Node250 Mbps Local Limiter 20 Mbps

Worcester Polytechnic Institute Bad Example, 100 Mps for 2 Nodes 8 Node150 Mbps Local Limiter 80 Mbps 50 Mbps Node250 Mbps Local Limiter 20 Mbps Paying for 100 Mbps, have 100 Mbps traffic, only getting 70 Mbps!

Worcester Polytechnic Institute A Better Approach: Distributed Rate Limiter 9 Node1100 Mbps Shared Limiter 80 Mbps Node2 20 Mbps 100 Mbps Shared Limiter 80 Mbps

Worcester Polytechnic Institute A Better Approach: Distributed Rate Limiter 10 Node1100 Mbps Shared Limiter 80 Mbps Node2 20 Mbps 100 Mbps Shared Limiter 80 Mbps Limiters communicate to determine global limit

Worcester Polytechnic Institute Design of Distributed Rate Limiting When global limit is exceeded, packets are dropped Limiters estimate incoming traffic and communicate results to other limiters Communication between limiters is performed using the Gossip Protocol over UDP 11

Worcester Polytechnic Institute Token Bucket Token Buckets are a well known mechanism used to rate limit in networking applications Tokens are generated at a rate R Packets are traded for a token Can handle bursts up to the number of tokens in the bucket Bursts drain bucket and subsequent traffic is limited until new tokens are generated 12

Worcester Polytechnic Institute Token Bucket (cont.) Wehrle, Linux Networking Architecture. Prentice Hall,

Worcester Polytechnic Institute Use of Token Bucket Authors compare results to Centralized Token Bucket where a single bucket is used to distribute all of the traffic ─ Single bucket where all limiters must pull tokens from This scheme is not practical but serves as the baseline for comparing the results 14

Distributed Rate Limiting Algorithms Global Token Bucket Global Random Drop Flow Proportional Share 15

Worcester Polytechnic Institute Global Token Bucket (GTB) Simulate a global bucket ─ Tokens are shared between limiters ─ When a byte arrives it’s traded for a token in the global bucket ─ Each limiter maintains an estimate of the global bucket ─ Limiters broadcast their arrivals to the other limiters which reduces global count ─ ‘Estimate Interval’ defines how frequently updates are sent ✖ Miscounting tokens from stale observations impacts effectiveness 16

Worcester Polytechnic Institute Global Random Drop (GRD) RED-like probabilistic dropping scheme Instead of counting tokens, estimate a global drop probability Apply drops locally based on percentage of traffic received Aggregate drop rate should be near the global drop rate 17

Worcester Polytechnic Institute Flow Proportional Share (FPS) Optimized for TCP flows (assumes TCP congestion control) Tries to ensure fairness between flows Each limiter has a local bucket, no global bucket Token generation rate is proportional to the number of flows at that limiter 18

Worcester Polytechnic Institute Flow Proportional Share Flows are classified as either bottlenecked or unbottlenecked ─ bottlenecked flows use less than the local rate limit ─ unbottlenecked flows use more than the local rate limit (or equal) ─ Flows are unbottlenecked if the limiter is preventing them from passing more traffic Idea here is to give weight to the unbottlenecked flows because they are the ones fighting for traffic 19

Worcester Polytechnic Institute FPS – Bottlenecks * Not to scale 20 Node170 Mbps Limiter Node2 30 Mbps Limiter Flow 1 Flow 2 Flow 3 Flow 4

Worcester Polytechnic Institute FPS – Bottlenecks * Not to scale 21 Node170 Mbps Limiter Node2 30 Mbps Limiter Unbottlenecked Bottlenecked Flow 1 Flow 2 Flow 3 Flow 4

Worcester Polytechnic Institute FPS Weight Calculation Local Arrival Rate ≥ Local Limit Make a fixed size set of all unbottlenecked flows ─ Not all flows to avoid scaling issues with per flow state Pick the largest flow, then divide that by the local rate to find the weight Ideal weight = local limit / max flow rate local limit = (ideal weight * limit) / (remote weights + ideal weight) 22

Worcester Polytechnic Institute FPS – Bottlenecks * Not to scale 23 Node170 Mbps Limiter Node2 30 Mbps Limiter Unbottlenecked Bottlenecked Flow 1 Flow 2 Flow 3 Flow 4 90 Mbps max flow rate local limit

Worcester Polytechnic Institute FPS Weight Calculation Local Arrival Rate < Local Limit Calculate the local flow rate Ideal weight is calculated proportional to the other flow weights: ─ ideal = (local flow rate * sum of all remote weights not including this rate) / (local limit – local demand) Idea is to reduce the local limit to match the arrival rate 24

Worcester Polytechnic Institute Pseudo-code 25

Worcester Polytechnic Institute Use of EWMA Estimated Weighted Moving Averages (EWMA) are used to smooth out estimated arrival rates Also used in Flow Proportional Share to reduce oscillations between two states 26

Evaluation 27 Comparison to Centralized Token Bucket Fairness to Centralized Token Bucket Simulations with Departing and Arriving Flows Simulations with Mixed Length Flows Fairness of Long vs Short Flows Fairness of Bottlenecked Flows in FPS Fairness With Respect to RTT PlanetLab 1/N vs FPS experiments

Worcester Polytechnic Institute Setup Limiters run on Linux ModelNet is used as the network simulator Kernel version TCP NewReno with SACK 28

Worcester Polytechnic Institute Comparison to Centralized Token Bucket 10 Mbps global limit 50 ms estimation interval, 20 second run 3 TCP flows to limiter 1, 7 TCP flows to limiter 2 29

Worcester Polytechnic Institute Arrival Rate Patterns 30 Shows how susceptible the algorithm is to bursting GTB and GRD are less like our mark (CTB)

Worcester Polytechnic Institute Fairness Compared to CTB Above the diagonal is more fair than Central Token Bucket, below the line is less fair GRD and FPS are more fair than CTB in most cases 31

Worcester Polytechnic Institute Departing and Arriving Flows Every 10 seconds, add a new flow up to 5 flows After 50 seconds, start removing flows Notice the reference algorithm CTB is not very fair 32

Worcester Polytechnic Institute 33

Worcester Polytechnic Institute 34 FPS is over the global limit here GRD is over the global limit here

Worcester Polytechnic Institute Mixed Length Flows 10 long lived TCP flows through one limiter Short lived flows with Poisson distribution through another Measuring fairness between different types of flows GRD is the most fair followed by FPS and the CTB 35

Worcester Polytechnic Institute Table 1; Fairness of Long vs Short Flows 36

Worcester Polytechnic Institute Changes in Bottlenecked Flows for FPS 2 limiters, 3 flows to limiter 1, 7 flows to limiter 2 10 Mbps global limit At 15 seconds the 7 flows are restricted to 2 Mbps by a bottleneck ─ Should be 8 Mbps to limiter 1 and 2 Mbps to limiter 2 At 31 seconds a new flow arrives at limiter 2 ─ Should split 8 Mbps between the 4 flows, plus 2 Mbps for other 7 flows, so 4 Mbps at limiter 1 and 6 Mbps at limiter 2 37

Worcester Polytechnic Institute Changes in Bottlenecked Flows for FPS 38 2 Mbps Limit New Flow

Worcester Polytechnic Institute Changes in Bottlenecked Flows for FPS 39 2 Mbps Limit New Flow Not quite 4/6 split Limiter 1 has too much

Worcester Polytechnic Institute Fairness With Respect to RTT Same as baseline experiment except changing RTT times of flows FPS is most fair 40

Worcester Polytechnic Institute Gossip Branching Factor Higher branch factor increases limiter communication Notice fairness degradation at large numbers of limiters 41

Worcester Polytechnic Institute PlanetLab test- 1/N vs FPS 10 PlanetLab servers serving web content 5 Mbps global limit After 30 seconds 7 of the servers cut out FPS re-allocates the load to the 3 servers After another 30 seconds all servers come back FPS re-allocates the load to all 10 servers 42

Worcester Polytechnic Institute PlanetLab test- 1/N vs FPS 43

Worcester Polytechnic Institute Conclusions Several algorithms trying to tackle distributed rate limiting FPS performs well for TCP based flows, other techniques suitable for mixed flows FPS can perform better than the reference implementation CTB in several scenarios Overall interesting approach to DRL with a couple of small quirks 44