How Green is IP-Telephony? Salman Abdul Baset*, Joshua Reich*, Jan Janak**, Pavel Kasparek**, Vishal Misra*, Dan Rubenstein*, Henning Schulzrinne* Department.

Slides:



Advertisements
Similar presentations
A Presentation on H.323 Deepak Bote. , IM, blog…
Advertisements

Tom Behrens Adam Muniz. Overview What is VoIP SIP Sessions H.323 Examples Problems.
Voice over IP Fundamentals
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
Skype & Network Management Taken from class reference : An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol Salman A. Baset and Henning Schulzrinne.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 38 – Voice-over-IP/Skype Klara Nahrstedt Spring 2011.
Voice over IP Skype.
1 An Analysis of the Skype Peer-to- Peer Internet Telephony Protocol Speaker : zcchen.
Review of a research paper on Skype
Comparison between Skype and SIP- based Peer-to-Peer Voice-Over-IP Overlay Network Johnson Lee EECE 565 Data Communications.
An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol Salman Baset and Henning Schuzrinne INFOCOMM 2006 Presenter - Bob Kinicki Presenter -
1 Network Architecture and Design Advanced Issues in Internet Protocol (IP) IPv4 Network Address Translation (NAT) IPV6 IP Security (IPsec) Mobile IP IP.
How Green is IP-Telephony? Salman Abdul Baset*, Joshua Reich*, Jan Janak**, Pavel Kasparek**, Vishal Misra*, Dan Rubenstein*, Henning Schulzrinne* Department.
Introduction to Networking & Telecommunications School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 1, Tuesday 1/9/2007)
More about Skype. Overview Any node with a public IP address having sufficient CPU, memory and network bandwidth is a candidate to become a super node.
1-1 Introduction to Computer Networks and Data Communications.
 3G is the third generation of tele standards and technology for mobile networking, superseding 2.5G. It is based on the International Telecommunication.
Reliability and Relay Selection in Peer- to-Peer Communication Systems Salman A. Baset and Henning Schulzrinne Internet Real-time Laboratory Department.
Internet Telephony Helen J. Wang Network Reading Group, Jan 27, 99 Acknowledgement: Jimmy, Bhaskar.
SIMPLEStone – A presence server performance benchmarking standard SIMPLEStone – A presence server performance benchmarking standard Presented by Vishal.
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
NETWORKING HARDWARE.
Scalable Server Load Balancing Inside Data Centers Dana Butnariu Princeton University Computer Science Department July – September 2010 Joint work with.
SIP Explained Gary Audin Delphi, Inc. Sponsored by
Network Components 101 Travis Hill.
Service Oriented VoIP (SOVoIP): True Convergence of Data and Voice Networks Presented By Mohammed Jubaer Arif Supervisors Dr Shanika Karunasekera and Dr.
 Introduction  VoIP  P2P Systems  Skype  SIP  Skype - SIP Similarities and Differences  Conclusion.
VoIP Citizen Decreasing Cost For Communication Voice over Internet Protocol Implement VoIP on your office Bona Simanjuntak, Mei 2004
CSCI-235 Micro-Computer in Science The Network. © Prentice-Hall, Inc Communications  Communication is the process of sending and receiving messages 
Computer Networks.  The OSI model is a framework containing seven layers that defines the protocols and devices used at each stage of the process when.
Common Devices Used In Computer Networks
Version 4.0. Objectives Describe how networks impact our daily lives. Describe the role of data networking in the human network. Identify the key components.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
Computers Are Your Future Tenth Edition Chapter 8: Networks: Communicating & Sharing Resources Copyright © 2009 Pearson Education, Inc. Publishing as Prentice.
Call Control with SIP Brian Elliott, Director of Engineering, NMS.
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
Session Initiation Protocol (SIP). What is SIP? An application-layer protocol A control (signaling) protocol.
Emerging Technologies. Emerging Technology Overview  Emerging technologies are those which are just beginning to be adopted or are at the initial acceptance.
NETWORKING COMPONENTS AN OVERVIEW OF COMMONLY USED HARDWARE Christopher Johnson LTEC 4550.
CSP Implementing a network 1 Implementing a network Lecturer: Smilen Dimitrov Cross-sensorial processing – MED7.
Data and Computer Communications Circuit Switching and Packet Switching.
Appendix A UM in Microsoft® Exchange Server 2010.
NETWORK COMPONENTS Assignment #3. Hub A hub is used in a wired network to connect Ethernet cables from a number of devices together. The hub allows each.
SMOA Devices Bartek Bosak, Krzysztof Kurowski, Bogdan Ludwiczak, Ariel Oleksiak, Michał Konferencja I3 – internet – infrastruktury.
A Conference Gateway Supporting Interoperability Between SIP and H.323 Jiann-Min Ho (Presenter) Jia-Cheng Hu Information Networking Institute Peter Steenkiste.
An Experimental Study of the Skype Peer-to-Peer VoIP System Saikat Guha, Cornell University Neil DasWani, Google Ravi Jain, Google IPTPS ’ 06 Presenter:
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
Peer-to-Peer Communication Systems Protocols and Systems, Reliability, Energy Efficiency and Measurements Salman Abdul Baset Department.
 Introduction – Consumer Market  Benefits – Operational Cost & Flexibility  Challenges – Quality of Service & Securing VOIP  Legal Issuers  Risk.
An analysis of Skype protocol Presented by: Abdul Haleem.
Security, NATs and Firewalls Ingate Systems. Basics of SIP Security.
Voice over IP B 林與絜.
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
Topic 3 Analysing network traffic
SIP Performance Benchmarking draft-ietf-bmwg-sip-bench-term-01 draft-ietf-bmwg-sip-bench-meth-01 March 22, 2010 Prof. Carol Davids, Illinois Inst. of Tech.
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
I NTRODUCTION TO N ETWORK A DMINISTRATION. W HAT IS A N ETWORK ? A network is a group of computers connected to each other to share information. Networks.
SIP-H.323 Interworking Group RRR-1 IETF-48 SIP-H.323 Interworking Requirements draft-agrawal-sip-h323-interworking-reqs-00.txt Hemant.
Office 365 Performance Management. Meet Paul Andrew Office 365 Technical Product Manager – Office 365 datacenter, networking, identity management.
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 11 – VoIP Hardware.
Skype.
سمینار تخصصی What is PSTN ? (public switched telephone network) تیرماه 1395.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
By Asma Hamad Alharbi.
IP Telephony (VoIP).
Introduction to Networking
Where should services reside in Internet Telephony Systems?
Skype P2P communication
Presentation transcript:

How Green is IP-Telephony? Salman Abdul Baset*, Joshua Reich*, Jan Janak**, Pavel Kasparek**, Vishal Misra*, Dan Rubenstein*, Henning Schulzrinne* Department of Computer Science, Columbia University* Tekelec Corporation**

2 Traditional Telephony Place call (Signaling) Directory lookup Circuit reservation Talk (Connectivity) Transfer voice data (analog, digital) Variations on these themes Multi-party conferencing Voic

3 IP-Based Communication Systems Place call (Signaling) Directory lookup Packet switched routes Talk (Connectivity) Direct packet routing Media relaying PSTN/mobile gateways Telephony And More Video IM Status / buddy list

4 Questions 1)Where is energy consumed? 2)How do different design choices effect energy consumption? 3)How we can make IP-telephony more energy efficient?

5 Outline VoIP System Architecture (c/s vs. p2p) Power Consumption Model Measurement and Experimental Results Answering the questions: 1)Where is energy consumed? 2)How do different design choices effect energy consumption? 3)How we can make IP-telephony more energy efficient? Conclusion & Future Work

6 How Green is IP-Telephony? The core function of a VoIP system: provide mechanisms for storing and locating the network addresses of user agents establishing voice and video media sessions over IP (often in the presence of restrictive network address translators (NATs) and firewalls) These systems also provide additional functionality such as voic , buddy lists, conferencing, and calling circuit-switched (PSTN) and mobile phones

7 How Green is IP-Telephony? From the perspective of energy efficiency a VoIP system can broadly be classified according to two criteria: whether it is a primary- line phone service replacing PSTN whether it uses a client-server (c/s) or a peer-to-peer (p2p) architecture. Vonage and Google Talk are examples of c/s architectures, while Skype is an example of a p2p architecture Only Vonage is a primary-line phone service replacing PSTN service.

8 VoIP system architecture The main functionalities in a VoIP system are: Signaling - storing and locating the reachable address of the user agents, and routing calls between user agents. NAT keep-alive - sending and processing user agent traffic to maintain state at the NAT devices for receiving incoming requests and calls. Media relaying - sending VoIP traffic directly between two user agents or through a relay. Relaying is necessary when one or both of the user agents are behind a restrictive NAT/firewall which prevents establishment of a direct VoIP connection. Authentication, authorization, accounting - verifying that a user agent is permitted to use the system and tracking usage for billing purposes. PSTN connectivity - Establishing calls between VoIP clients and PSTN phones using managed gateways. Other services - such as voic , buddy list storage, video calls, and conferencing.

9 C/S ITSP (Internet telephony service provider) Architecture - Based on open protocols: SIP for signaling RTP for media - The SIP registrar stores the reachable address of user agents, whereas the proxy server forwards signaling requests between user agents - User agents connect to SIP servers, perform SIP digest authentication, and register their reachable address every 50 minutes to receive incoming calls

10 C/C ITSP Architecture - Users access the system (e.g., place calls) through hardware SIP phones Most such phones are audio- capable only, although some also support video. - The vast majority of hardphones are connected to the broadband Internet through a home/office router, which is typically configured to act as a NAT/firewall.

11 C/C ITSP Architecture Because most existing NAT devices maintain UDP bindings for a short period of time, hardphones behind NATs need to periodically refresh the binding in order to reliably receive incoming calls. The hardphones achieve this by sending a SIP NOTIFY request every 15s to the SIP server, which replies with a 200 OK response. While wasteful, method proved to be the only reliable way of maintaining NAT bindings.

12 How Does C/S IP-Telephony Work? SIP registrar / proxy server REGISTER (ip addr) REGISTER (ip addr) User agent (1) signaling (2) media (voice, video, IM) SIP registrar / proxy server Utopian Internet No NATs or firewalls IP-PSTN gateway T-ITSP also maintains a number of PSTN servers for calling phones in the traditional telephone network.

13 And In The Real-World… SIP registrar / proxy / presence / server User agent media server NAT / firewall - The vast majority of hardphones are behind NATs/firewalls and use default settings that prevent user agents from establishing direct VoIP calls. - T-ITSP needs to operate RTP relay servers to relay these calls - consuming additional energy and network bandwidth.

14 Media Servers Bypass Firewalls SIP registrar / proxy / presence / server User agents (1) signaling (2) media (voice, video, IM) (UDP or TCP) media server NAT / firewall IP-PSTN gateway

15 C/C ITSP Architecture: Traffic T-ITSP has a total subscriber base of 100k users. The peak call arrival rate is 15 calls per second (CPS) peak active calls in the system are Approximately 60% (or 4,800) of the peak calls were to subscribers within the ITSP; the rest being routed to PSTN/mobile phones. Hardphones register their network address with T-ITSP’s SIP registrar every 50 minutes and send a SIP NOTIFY message every 15 s to maintain the NAT binding. For 100k subscribers, these statistics imply that the SIP registrar needs to process 33 registration events and 6,667 NOTIFY events per second. extrapolate these peak numbers for a large subscriber base

16 P2P VoIP Architecture Skype as representative of a p2p VoIP system. There are two types of nodes in a Skype network, super nodes and ordinary nodes. The super nodes form the Skype overlay network, with ordinary nodes connecting to one or more super nodes.

17 P2P VoIP Architecture -Super nodes: +Are chosen for their unrestricted connectivity and high-bandwidth availability +Are responsible for signaling, NAT keep-alive and media relaying. Skype encrypts signaling and media traffic to prevent super nodes from eavesdropping. -Skype managed-servers provide functionality for authentication, buddy list and voic storage, and calling PSTN and mobile phones.

18 How Does P2P IP-Telephony Work? P2P / PSTN gateway NAT / firewall network address of node B? (3) signaling (4) media network address of node E? (2) signaling (3) media (TCP) node C node B media relay (or relay) node A node D node E (1) (2) node = user agent nodes form an overlay share responsibilities for message routing, signaling, media relaying super nodes, ordinary nodes (1) (2) (1)

19 Architecture: C/S vs. P2P

20 Power Consumption Model - focus on signaling, NAT traversal, and media relaying N: the total number of online ITSP subscribers : the peak number of calls per second these subscribers make d: the average call duration These calls are either to other subscribers of the VoIP provider or to PSTN or mobile phones - : the percentage of VoIP call - : the proportion of calls that need a relay.

21 Power Consumption Model: C/S : wattage consumed by signaling at the peak load : wattage consumed by media servers at the peak load : the rate of NAT traversal messages per second : the peak number of SIP registration events : the number of signaling servers needed to handle the peak signaling and NAT traversal load under a particular transport protocol : the number of media relay servers needed to relay calls : the redundancy factor used for signaling servers : the redundancy factor used for media servers : the system’s PUE

22 Power Consumption Model: P2P -In contrast to c/s systems, where it is easy to attribute the energy consumption of signaling, NAT traversal and relaying: it is non-trivial to do so for super nodes in p2p systems -Two reasonable accounting strategies (which apply as well to energy accounting on phones and network devices): delta : count only the additional power drawn by the signaling and relaying functions of the super node machine above that of the baseline power consumption of the machine. prop : in addition to delta, attribute a fraction of the system baseline power consumption proportional to the time the CPU is woken to handle signaling, NAT traversal and media relaying traffic.

23 Power Consumption Model: P2P : the number of super nodes in the p2p system : the baseline wattage drawn by the super node machine. : the wattage drawn by the overlay maintenance, registration, signaling, NAT traversal, and media relaying functionality. :the proportion of time the CPU is woken by the client if prop accounting policy is chosen or zero for the delta policy

24 Measurement & Results Describe a set of experiments for measuring selected components of c/s VoIP infrastructure and Skype. The power measurements were taken using a Wattsup.NET power meter. The meter provides 0.1W precision and claims accuracy to 1.5% of the measured value.

25 Measurement & Results: Client-Server SIP System Testbed Overview The SIP server machine: - Dell PowerEdge 1900 server, two quad-core 2.33GHz Intel Xeon X5345 processors and 4 GB of memory - Connected to load-generators with two Intel 82545GM Gigabit Ethernet controllers - 6 fans - runs Debian Squeeze (snapshot from 26th February 2010) with Linux kernel the latest version of SIP-Router, an open source SIP server on the machine and configured it with all the features an ITSP operating in the public Internet would need to use. - use MySQL (from a Debian package) configured with 2 GB of query cache. We use SIPp version 3.1.r590-1 to generate SIP traffic according to the traffic model

26 Measurement & Results: Client-Server SIP System Testbed Overview (con.) For RTP relay tests: -IBM HS22 blade server with 5 blades installed (two 2.9 GHz Intel Xeon quad-cor, a 10 GigE Intel NIC, and Linux kernel) 1 blade was used as an RTP relay server 4 blades for RTP load generators - the latest version of iptrtpproxy, a kernel-level RTP relay. -The software relays RTP packets using iptables rules. -a modified version of SEMS to generate a large number of simultaneous RTP sessions.

27 Measurement & Results: Client-Server SIP System SIP Server Measurements Three configurations: (1) signaling and NAT keep-alive (SIP NOTIFY) traffic carried over UDP allows us to reason about the maximum ITSP-like workload a server can handle (2) signaling traffic over UDP but without any SIP NOTIFY traffic provides insights into peak ITSP-like signaling workload a server can handle, assuming there were no NATs (3) signaling traffic over permanent TLS connections is helpful from the perspective of comparing T-ITSP to Skype as Skype uses a TLS-like protocol to encrypt signaling and media traffic

28 Measurement & Results: Client-Server SIP System Configuration 1: The server could handle T-ITSP’s traffic mix for approximately 0.5 M users. Under this load, the number of calls (λ INV), registrations (λ REG), and NAT keep-alives (λ NAT) events per second were 75, 166, 33k the server consumes (Ws) = 210W Configuration 2: The server could handle load for approximately 1M subscribers. Ws = 190 W Configuration 3: there was no need to exchange frequent keep-alive messages over TCP connections to keep NAT bindings open, so λNAT was 0. Ws = 209 W

29 Measurement & Results: Client-Server SIP System Based on these measurements, they extrapolate the number of servers needed for these configurations: Configuration (3) vs Configuration (1): increases approximately by a factor of 12 -Such limitation can be addressed by tuning SSL buffer, by increasing memory in the server or by using hardware SSL accelerators (future work)

30 Measurement & Results: Client-Server SIP System Media Relay Server Saturate the IBM blade with 15,000 simultaneous calls bit rate of each call: 64 kbit/s ==> aggregate bit rate: 960 Mbit/s At this rate, the resource bottleneck appeared to be a single CPU core overloaded by kernel thread At this workload: the media relay server consumes (wm) = approximately 240W

31 Measurement & Results: Client-Server SIP System Media Relay Server They extrapolate the number of relay servers needed as a function of user population and the number of calls that need relaying

32 Measurement & Results: Client-Server SIP System Hardware SIP Phones Measurements to determine the power consumption of a variety of SIP-based hardphones: Phones consume between 3W to 6W and observed that the phone power consumption does not change when placing a voice call

33 Measurement & Results: Skype Softphone - several desktop machines running Windows XP and Windows 7 When Skype is idle: non-discernible change in the power draw When placing a voice call: Skype consumes between 6 W to 8 W (on average) For a video call: Skype consumesbetween 10 W to 20 W - laptop machines running Windows XP and Max OS X When Skype is idle: non-discernible change in the power draw When placing a voice call: Skype consumes between 1 W to 2 W (on average)

34 Measurement & Results: Skype Super Node (These challenges can be studied as future works) Measuring Skype’s energy draw as a super node is not straightforward - machine to transition to super node status. The Skype client itself decides whether to become a super node the decision is made by ensuring that the node has a public IP address, has sufficient bandwidth Run Skype client for a few hours on a machine with public IP address and good network connectivity To determine if the Skype is relaying a call, we performed measurements using a traffic sniffer running on another machine which is connected to the same hub as the Skype machine Although, the meter readings indicated that there was a non-zero power increase, the difference measured was smaller than the measurement error reported by the power meter

35 Comparison P2P vs C/S (energy efficiency) For 100% and 30% relaying, the computed Ws is1.242 kW and 0.81 kW, respectively.

36 Comparison P2P vs C/S (energy efficiency) C/S model –C/S power consumption = #servers * Watts/server * redundancy factor * PUE P2P model –Ns super nodes active - W ∆ super node consumption P2P energy efficient when: Ns * W ∆ < C/S power consumption Assume: the number of super nodes = 1% of the total user population (in a population of 500 k user agents, 5 k are super nodes) Thus, the power consumption per super node, w∆, is 0.81 k /5k= W (c/s and p2p systems to be equivalent in terms of energy efficiency)

37 Comparison P2P vs C/S (energy efficiency) p s = 52mW One active super node per relayed call. Media server fully loaded. 100% calls relayed P2P may consume more than C/S!

38 Discussion: media relaying due to restrictive NATs Figure 3: (a) kWh per month of running signaling and media servers as a function of number of subscribers based on T-ITSP workload -Media relaying due to restrictive NATs is highly wasteful in terms of energy consumption

39 Discussion: what is the relative power consumption of always on hardphones as compared with servers needed to handle peak load? Figure 3: (b) kWh per month of running a c/s and p2p system on a hard- phone. The c/s kWh numbers include servers and hardphones. In a VoIP system that replaces PSTN as the primary phone service, the hardphones, that on average consume 5W, are always powered on -the hardphone power consumption dominates the total power consumption of the VoIP system.

40 Sources of Energy Consumption End-point –Handsets –VoIP conversion boxes –PCs Core –Signaling / directory –Media relaying –PSTN / mobile gateways Network

41 Power Efficient VoIP Systems Some of the techniques for reducing energy waste in VoIP systems are: Embed SIP user agents in the DSL/cable routers so that they can bypass the NAT inside the cable/DSL modem. The DSL/cable routers usually have a public IP address. Such embedded user agents will likely require no media relays and do not need to send NAT keep-alive traffic. This recommendation works well for user agents in a c/s VoIP system. Use persistent TCP connections among the user agents (p2p) and between the user agents and the SIP server. Persistent TCP connections require significantly less keep-alive traffic for maintaining NAT bindings. Use advanced NAT traversal techniques, such as ICE to allow user agents to detect network conditions and use RTP relays managed by the ITSP only when absolutely required.

42 Making IP-Telephony Greener Make phones energy efficient –LCD, processor for phones? NATs & Firewalls –Get rid of NATs or rearchitect them –Use TCP to avoid NAT keep-alive –Make firewalls VoIP-friendly. Set up SIP user agents on gateways PC wakeup on receiving calls

43 Conclusions VoIP endpoints dominate total energy consumption in PSTN replacement systems P2P not necessarily more energy efficient than C/S. NATs and firewalls create the need for media relaying, one of the biggest components of core energy consumption.

44 Future Work -Obtain data on PSTN power consumption and determine the relative power efficiency of PSTN and VoIP systems - Work on accurately measuring W ∆ - Designing a power efficient VoIP architecture for mobile devices Inefficient design of VoIP infrastructure may severely affect VoIP clients running on energy-constrained devices equipped with radio interfaces. Frequent communication will keep the radio interface active, draining the battery, and eventually rendering the device unusable

45 Question?

46 Thank You!