Bandwidth usage of common networking applications



Similar documents
VoIP Bandwidth Calculation

VoIP Bandwidth Considerations - design decisions

Voice Over IP Per Call Bandwidth Consumption

Calculating Bandwidth Requirements

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

Chapter 2 - The TCP/IP and OSI Networking Models

Clearing the Way for VoIP

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Optimizing Converged Cisco Networks (ONT)

Implementing VoIP support in a VSAT network based on SoftSwitch integration

Network Simulation Traffic, Paths and Impairment

TECHNICAL CHALLENGES OF VoIP BYPASS

technology standards and protocol for ip telephony solutions

Data Communication Networks and Converged Networks

WAN Data Link Protocols

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

The OSI & Internet layering models

Challenges and Solutions in VoIP

Introduction VOIP in an Network VOIP 3

Protocols. Packets. What's in an IP packet

The OSI and TCP/IP Models. Lesson 2

Lecture 2: Protocols and Layering. CSE 123: Computer Networks Stefan Savage

An Introduction to VoIP Protocols

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Frequently Asked Questions

Other VPNs TLS/SSL, PPTP, L2TP. Advanced Computer Networks SS2005 Jürgen Häuselhofer

Virtual Private Network VPN IPSec Testing: Functionality Interoperability and Performance

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Analyzing 6LoWPAN/ZigBeeIP networks with the Perytons Protocol Analyzer May, 2012

VegaStream Information Note Considerations for a VoIP installation

How To Understand The Internet From A Telephone To A Computer (For A Computer)

Computer Networks CS321

Call Admission Control and Traffic Engineering of VoIP

Encapsulating Voice in IP Packets

Chapter 9. IP Secure

VoIP network planning guide

Transport and Network Layer

Lecture 1: Course Introduction" CSE 222A: Computer Communication Networks Alex C. Snoeren

Understanding Latency in IP Telephony

Deployment Aspects for VoIP Services over HSPA Networks

How To Test A Network Performance

VoIP: How to Plan for the Bandwidth and Calculate the Cost Savings

Written examination in Computer Networks

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

Advanced Higher Computing. Computer Networks. Homework Sheets

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

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

High Performance VPN Solutions Over Satellite Networks

SSVVP SIP School VVoIP Professional Certification

CSE 3461 / 5461: Computer Networking & Internet Technologies

High-Level Data Link Control

Measuring Wireless Network Performance: Data Rates vs. Signal Strength

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Data Communication Networks

Network Security. Vorlesung Kommunikation und Netze SS 10 E. Nett

OPEN SYSTEMS INTERCONNECTION OVERVIEW OF PROTOCOL LAYERING AND OSI MODEL OF NETWORK STACKS

SSVP SIP School VoIP Professional Certification

Lecture 8. IP Fundamentals

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

The Picture must be Clear. IPTV Quality of Experience

Combining Voice over IP with Policy-Based Quality of Service

White Paper. D-Link International Tel: (65) , Fax: (65) Web:

Virtual Private Networks

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

CCNP: Optimizing Converged Networks

Analysis of QoS parameters of VOIP calls over Wireless Local Area Networks

Chapter 5. Data Communication And Internet Technology

CPS221 Lecture: Layered Network Architecture

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

VOIP-211RS/210RS/220RS/440S. SIP VoIP Router. User s Guide

Nortel Technology Standards and Protocol for IP Telephony Solutions

Overview of Computer Networks

Networking 4 Voice and Video over IP (VVoIP)

VoIP over MANET (VoMAN): QoS & Performance Analysis of Routing Protocols for Different Audio Codecs

ECE/CS 372 introduction to computer networks. Lecture 2. Midterm scheduled for Tuesday, May 7 th

Internet Packets. Forwarding Datagrams

How To Analyze The Security On An Ipa Wireless Sensor Network

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

CTS2134 Introduction to Networking. Module 07: Wide Area Networks

Networked AV Systems Pretest

SUNYIT. Reaction Paper 2. Measuring the performance of VoIP over Wireless LAN

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Wireless Encryption Protection

Overview of Voice Over Internet Protocol

Unit 23. RTP, VoIP. Shyam Parekh

RTP Performance Enhancing Proxy

Online course syllabus. MAB: Voice over IP

Ethernet. Ethernet. Network Devices

Extended-rtPS Algorithm for VoIP Services in IEEE systems

Course 4: IP Telephony and VoIP

1 Introduction to mobile telecommunications

ReadyNAS Remote White Paper. NETGEAR May 2010

Introduction to Packet Voice Technologies and VoIP

Networking Test 4 Study Guide

Transcription:

Bandwidth usage of common networking applications

Overview Bandwidth vs. bandwidth Networking stack review Basic rules for calculating bandwidth usage Examples Calculating bandwidth usage for VOIP Calculating bandwidth usage for an scp session Calculating bandwidth usage for an HTTP download Errors and error correction

Bandwidth is finite Signal bandwidth is the difference or distance between the high and low cutoff frequencies in a channel. Like everything else, bandwidth is not infinite. Capacities of common networking media: Ethernet via CAT5e/CAT6 cable - 1 Gbit/sec Ethernet via CAT5 cable - 100Mbit/sec 802.11G wireless 54Gbit/sec T1 data line 1.54 Mbit/sec GSM 64Kbit/sec(voice) 384Kbit/sec(data) These are all theoretical and not achievable in real-world situations.

What s eating our lunch? Overhead is everywhere Structural overhead The cost of doing business Physical layer -ethernet frame header, PPP headers, ATM, VSAT protocols Network and transport layer - IP headers Application -Encapsulation and Application-specific headers Errors eat capacity too Retransmission Back-off/sync-ing messages, etc. inefficient recovery interference (wireless)

Basic bandwidth calculation:tcp/ip over Ethernet

Applications: VOIP Bandwidth Usage Roughly, the bandwidth required for a VOIP call is Codec bandwidth =(sample frequency/1000)*codec sample rate ((Codec bandwidth)+((network overhead)+(media overhead)) - VAD** = Total Network Bandwidth required* (usually given in Kbits/sec) *Not including add l Layer 2/3 headers like HDLC, MPLS, etc. **Also called silence suppression

Some common VOIP codecs Data Rate(Kbit/ sec) Codec Sample interval (in msec) Codec sample size(byt es) Voice sample rate(msec) Voice payload(bytes) payload packets/sec G.711 64 10 80 20 160 50 G.726 32* 5 20 20 80 50 G.723.1 6.3 30 24 30 24 34 G.723.1 5.3 30 20 30 20 34 G.729A 8 10 10 20 20 50 *can also be used at 16 & 24 Kbit/sec

G.711 over 802.3 Ethernet Codec characteristics: G.711-64Kbit/sec codec 20 msec(160 bytes or 1280 bits) sample payload 50 Payload Packets/Sec(PPS) * 1280=64Kbit/sec Overhead components: Ethernet frame header: 18 bytes (14 bytes +4 byte CRC)*8 =144 bits RTP:12 bytes(96 bits) IP header: 20 bytes(160 bits) UDP header: 12 bytes(96 bits) 144+96+160+96=496 bits overhead *per packet* 50(payload packets/sec)*496=24,800 bits total overhead/sec +64,000= 88,800Kbit/sec total bandwidth required

In addition Additional Layer2/3 protocols can add an additional 1-4 bytes-perpacket overhead Compression(cRTP, etc.) can remove 40+bytes/packet of overhead Silence Suppresion (VAD) can reduce this even further

SSH Protocol Overhead Encrypted protocol with it s own internal transport, connection and authentication layers. Adds random(4-255 bytes) of padding to each packets Actual bandwidth consumption depends on channel type, transport, compression, etc. For an ssh tunnel the worst-case additional overhead is: 4 bytes - ssh packet length 1 byte - random padding length(in bytes) 1-255 bytes - padding ~20 bytes for MAC (depends on MAC algorithm) 66 bytes IP encapsulation <----don t forget this!! 346 bytes

Summary When calculating network bandwidth needed for network applications, we must account for overhead used by the various network and transport layers carrying our data payload Some of this overhead is constant, some is variable. Some of this can t be fully accounted for(errors, layer 2&3 routing protocols in intermediate routers, etc.), so we can really only make close estimates. The only way to know for sure how much bandwidth an application will use is to to try it out. First get it working, then optimize

Exercises Calculate bandwidth needed for: G.711 VOIP call over 802.11G Lab Practice use iperf to measure: scp download of a Linux image or other file over Ethernet vs. ftp download of the same file. use tcpdump to look at and identify/compare protocols

Exercise: G.711 over 802.11G Codec characteristics: G.711-64Kbit/sec codec 20 msec(160 bytes or 1280 bits) sample payload 50 Payload Packets/Sec(PPS) * 1280=64Kbit/sec Characteristics for 802.11G 54 Mbit/sec 2.4Ghz wireless protocol Overhead : 2 bytes frame-control 2 bytes Duration, 12-24 bytes of address space, 2 bytes Sequence Control, 4-bytes CRC Compute estimated bandwidth required Hint: Things might go easier if you convert to bits

G.711 over 802.11G Codec characteristics: G.711-64Kbit/sec codec 20 msec(160 bytes or 1280 bits) sample payload 50 Payload Packets/Sec(PPS) * 1280=64Kbit/sec Overhead components: 2-byte frame-control +2-byte Duration +12-24 bytes of address space +2 bytes Sequence Control +4-bytes CRC(trailing) 22-34 byte header or 176-272 bits of overhead per packet +RTP+IP+UDP=528-624 bits per packet 26400-31200 +64000=90.4-95.2Kbit/sec