SIP Server Overload Control: Design and Evaluation



Similar documents
SIP Overload Control IETF Design Team Summary

Controlling Overload in Networks of SIP Servers

TCP in Wireless Mobile Networks

Protecting VoIP Services Against DoS Using Overload Control

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

SIP: Ringing Timer Support for INVITE Client Transaction

SIP Messages. 180 Ringing The UA receiving the INVITE is trying to alert the user. This response MAY be used to initiate local ringback.

Robust Router Congestion Control Using Acceptance and Departure Rate Measures

Transport Layer Protocols

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Active Queue Management (AQM) based Internet Congestion Control

SIP: Ringing Timer Support for INVITE Client Transaction

An enhanced TCP mechanism Fast-TCP in IP networks with wireless links

Managing (VoIP) Applications DYSWIS

Two-Stage Forking for SIP-based VoIP Services

Session Initiation Protocol (SIP) The Emerging System in IP Telephony

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

SIP, Session Initiation Protocol used in VoIP

Low-rate TCP-targeted Denial of Service Attack Defense

An Efficient Server Load Balancing using Session Management

internet technologies and standards

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

SIP : Session Initiation Protocol

Transport layer issues in ad hoc wireless networks Dmitrij Lagutin,

Journal of Engineering Science and Technology Review 7 (3) (2014) 1 6. Research Article

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Adopting SCTP and MPLS-TE Mechanism in VoIP Architecture for Fault Recovery and Resource Allocation

Publication III. c 2003 IEEE. Reprinted with permission.

Authentication and Authorisation for Integrated SIP Services in Heterogeneous Environments 1

Load Testing 2U Rockbochs System

Prevention of Anomalous SIP Messages

Optimization of Communication Systems Lecture 6: Internet TCP Congestion Control

Developing Higher Density Solutions with Dialogic Host Media Processing Software

WHITE PAPER. Testing Voice over IP (VolP) Networks

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network

VoIP. Overview. Jakob Aleksander Libak Introduction Pros and cons Protocols Services Conclusion

4 Delivers over 20,000 SSL connections per second (cps), which

Improving Authentication Performance of Distributed SIP Proxies

SIP Registration Stress Test

NAT TCP SIP ALG Support

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

Secure SCTP against DoS Attacks in Wireless Internet

Analysis of SIP Traffic Behavior with NetFlow-based Statistical Information

Mobile Communications Chapter 9: Mobile Transport Layer

Evaluating SIP Proxy Server Performance

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

Comparison between two approaches to overload control in a Real Server: local or hybrid solutions?

How To Write A Transport Layer Protocol For Wireless Networks

Chapter 10 Session Initiation Protocol. Prof. Yuh-Shyan Chen Department of Computer Science and Information Engineering National Taipei University

Support of Multimedia SIP Applications over Proactive MANETs Extension of OLSR for Service Discovery

Enhancements to Collaborative Media Streaming with IETF Protocols

Performance Evaluation of VoIP Services using Different CODECs over a UMTS Network

Detecting Spam in VoIP Networks. Ram Dantu Prakash Kolan

Using Fuzzy Logic Control to Provide Intelligent Traffic Management Service for High-Speed Networks ABSTRACT:

DEMYSTIFYING THE RELIABILITY OF CLOUD SERVICES. Michael Tortorella, Ph.D. Rutgers University

Cisco Integrated Services Routers Performance Overview

2.2 SIP-based Load Balancing. 3 SIP Load Balancing. 3.1 Proposed Load Balancing Solution. 2 Background Research. 2.1 HTTP-based Load Balancing

Defending against Flooding-Based Distributed Denial-of-Service Attacks: A Tutorial

IxLoad VoIP SIP, MGCP Features

MAC Based Routing Table Approach to Detect and Prevent DDoS Attacks and Flash Crowds in VoIP Networks

Mixer/Translator VOIP/SIP. Translator. Mixer

Protecting SIP Proxy Servers from Ringing-based Denial-of-Service Attacks

Authors Mário Serafim Nunes IST / INESC-ID Lisbon, Portugal mario.nunes@inesc-id.pt

SIP-based VoIP Traffic Behavior Profiling and Its Applications

VIDEOCONFERENCING. Video class

VoIP versus VoMPLS Performance Evaluation

AN APPROACH TOWARDS THE LOAD BALANCING STRATEGY FOR WEB SERVER CLUSTERS

Unit 23. RTP, VoIP. Shyam Parekh

SIP Trunking. Service Guide. Learn More: Call us at

Session Initiation Protocol

For internal circulation of BSNL only

An Improved Mobile VoIP Call Setup with Pre-detection of Callee MS State Information

A Binary Feedback Scheme for Congestion Avoidance in Computer Networks

Comparing Session Border Controllers to Firewalls with SIP Application Layer Gateways in Enterprise Voice over IP and Unified Communications Scenarios

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Development of SIP-H.323 Gateway Project

Internet Working 15th lecture (last but one) Chair of Communication Systems Department of Applied Sciences University of Freiburg 2005

Per-Flow Queuing Allot's Approach to Bandwidth Management

SHORT DESCRIPTION OF THE PROJECT...3 INTRODUCTION...4 MOTIVATION...4 Session Initiation Protocol (SIP)...5 Java Media Framework (JMF)...

TCP for Wireless Networks

Horizon: Balancing TCP over multiple paths in wireless mesh networks

Performance Analysis of Transmitting Voice over Communication Links Implementing IPsec

Efficient Transport of VoIP Firewall Control Signaling

TCP based Denial-of-Service Attacks to Edge Network: Analysis and Detection

Anat Bremler-Barr Ronit Halachmi-Bekel Jussi Kangasharju Interdisciplinary center Herzliya Darmstadt University of Technology

SIP Trunking and Voice over IP

Understanding Server Configuration Parameters and Their Effect on Server Statistics

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

Passive Queue Management

SipCloud: Dynamically Scalable SIP Proxies in the Cloud

Transcription:

SIP Server Overload Control: Design and Evaluation Charles Shen and Henning Schulzrinne Columbia University Erich Nahum IBM T.J. Watson Research Center

Session Initiation Protocol (SIP) Application layer signaling protocol for managing sessions in the Internet Run on top of common transport layer, e.g., UDP, TCP and SCTP Typical usage: voice-over-ip call setup, instant messaging, presence, conferencing UA Proxy Proxy UA INVITE INVITE Trying INVITE Trying 8 Ringing 8 Ringing 8 Ringing 2 OK 2 OK 2 OK ACK ACK ACK Media BYE 2 OK BYE 2 OK BYE 2 OK Slide 2

SIP Server Overload Problem Many causes to SIP server overload Natural disaster and emergency-induced call volume (earthquake) Predictable special events (Mother s Day) Flash Crowds: American Idol, Free tickets to the third caller Denial of service attacks Simply dropping requests on overload? INVITE INVITE Simple message dropping induces more messages due to retransmission (especially for SIP over UDP) E.g., Timer A for INVITE retransmission T = 5 ms, increases exponentially INVITE INVITE Slide 3

SIP Server Overload Problem (Cont.) Rejecting excessive requests upon overload? SIP 53 (Service Unavailable) response code used to reject individual request overall sending rate is not reduced rejecting costs comparable CPU cycles with accepting requests! 53 (Service Unavailable) with Retry-After? Client completely shut off during the period specified Reducing rate on/off may cause oscillation Trying an alternative server? Alternative server may soon be overloaded too -> cascading failure! Slide 4

Feedback-based SIP Overload Control RE controls the SE sending pace through a feedback channel Slide 5

SIP Overload Feedback Control Design Considerations Requirements approaching ideal performance Few tweak control parameters Design decisions SIP session as basic control unit Characterizing SIP session check number of INVITEs accepted Dynamic session backlog estimation count both INVITEs and non-invites for current session backlog Active source estimation directly tracking each current active SE sending incoming load Goodput.2.8.6.4.2 Ideal Goodput 2 3 4 5 6 7 8 9 Load Slide 6

Window-based Feedback Control Algorithms Win-disc Win-cont Win-auto Window size decrement upon receiving session request (INVITE) Window size adjustment algorithm every control interval every message arrival after processing new INVITE request budget queuing delay budget queuing delay N/A Tuning parameters control Interval measurement interval measurement Interval Slide 7

Rate-based Feedback Control Algorithms Rate-abs Rate-occ Rate adjustment algorithm (every control interval) acceptable rate request acceptance ratio Tuning parameters budget queuing delay control interval measurement interval budget CPU occupancy control interval measurement interval OCC tuning parameters Slide 8

Simulation Assumptions and Metrics RFC326 compatible simulator built on OPNET exponential call inter-arrival standard seven-message call flow 72 cps RE service capacity; 3 cps rejection rate UAs and SEs have infinite capacity UDP transport, no link delay and loss Piggyback feedback Goodput = # of calls whose INVITE-to- ACK delay below s Delay = time from INVITE sent to ACK (2 OK) received Slide 9

No Feedback Control Simple drop message dropped when queue full Threshold rejection queue length configured with a high and a low threshold value high threshold: new INVITE rejected but other messages processed Low threshold: new INVITE processing restored Similar congestion collapse * but different reasons: Simple Drop Only /3 of INVITEs arriving at the callee all 8 RINGING and most of the 2 OK also dropped due to queue overflow Threshold Rejection no INVITEs reache the callee RE only sending rejection messages Goodput.8.6.4.2 Simple Drop Threshold Rejection 2 3 4 5 6 7 8 9 Load * All load and goodput values normalized over server capacity in this presentation Slide

Sensitivity to Budget Queuing Delay and Control Interval Small queuing delay (< ½ T timer) avoids timeout and gives best results Example results for win-disc delay budget (D B ) <= 2 ms control interval (CI) = 2 ms goodput degraded by 25% for D B = 5 ms Similar results for win-cont and rate-abs Sensitivity of control interval smaller CI is better Example results for win-disc at D B =2 ms, CI <= 2 ms sufficient to archive unit goodput in our scenario Goodput Goodput.95.9.85.8.75.7.65.6.9.8.7.6.5.4 D B = 2ms D B = 3ms D B = 4ms D B = 5ms D B = 6ms 2 3 4 5 6 7 8 9 Load CI = 2ms CI = 5ms CI = s 2 3 4 5 6 7 8 9 Load Slide

Impact of Control Interval across Algorithms Comparing CI for win-disc, rate-abs and rate-occ * at D B = 2ms Both win-disc and rate-abs close to unit goodput except CI = s with heavy load win-disc more sensitive to CI than rate-abs rate-occ not as good as the other two.2 win-disc rate-abs rate-occ.2 win-disc rate-abs rate-occ Goodput.8.6.4 Goodput.8.6.4.2.2 4ms ms 2ms s Control Interval 4ms ms 2ms s Control Interval Goodput vs. CI at Load Goodput vs. CI at Load 8.4 * rate-occ has ρ B set to 85% which is seen to give the highest and stable performance across different load conditions in the given scenario Slide 2

Best Performance Comparison across Algorithms All except rate-occ reach unit goodput no retransmissions server always busy processing messages each single message part of a successful session rate-occ < unit goodput artificial 85% CPU limit occupancy too indirect extremely small CI improves performance at heavy load but incurs problems Goodput.95.9.85.8.75.7 win-cont win-disc rate-abs rate-occ2 rate-occ 2 3 4 5 6 7 8 9 Load Slide 3

Fairness User-centric fairness equal success rate for each individual user implementation: divide RE capacity proportionally to original SE load arrivals applicability example: Free ticket to the third caller Provider-centric fairness each provider (SE) gets the same aggregate share of total capacity implementation: divide RE capacity equally among SEs applicability example: equal-share SLA Customized fairness any allocation as pre-specified by SLA, penalizing the specific sources in denial-of-service attacks Slide 4

Dynamic Load Performance with Provider Centric Fairness Realistic server to server overload situations likely short periods of bulk loads accompanied by source arrivals or departures Example result using rateabs algorithm Each upstream SE share close to equal RE capacity Fast dynamic transition Load Goodput 5 ua3 4 3 ua2 2 ua 2 4 6 8 2 4 6 8 Time (sec).2.8 ua ua2.6 ua3.4.2 2 4 6 8 2 4 6 8 Time (sec) Slide 5

User Centric Fairness 5 4 ua3 Load 3 2 ua ua2 Double feed architecture Provide incoming load Example using win-cont algorithm Upstream SEs share RE capacity proportionally Fast dynamic transition Goodput 2 4 6 8 2 4 6 8 Time (sec) ua ua2.8 ua3.6.4.2 2 4 6 8 2 4 6 8 Time (sec) Slide 6

Win-auto Source arrival transition time could be noticeably longer Hard to enforce explicit fairness no processing intervention Still achieves aggregate unit goodput Load Goodput 5 ua3 4 3 ua2 2 ua 2 4 6 8 2 4 6 8 Time (sec).2 ua.8 ua2 ua3.6.4.2 2 4 6 8 2 4 6 8 Time (sec) Slide 7

Conclusions and Future Work Win-disc Win-cont Win-auto Rate-abs Rate-occ Optimal steady state performance ß Optimal dynamic performance ß User-centric fairness (with double-feed) (with double-feed) ß (with double-feed) Providercentric fairness ß # of tuning parameters 3 2 3 5 Future work: consider more realistic network configurations Slide 8

Archive slides Slide 9

Feedback-based SIP Overload Control RE controls the SE sending pace through a feedback channel Slide 2