Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis



Similar documents
Strategies. Addressing and Routing

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

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

Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

Operating Systems and Networks Sample Solution 1

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Application Level Congestion Control Enhancements in High BDP Networks. Anupama Sundaresan

Comparative Analysis of Congestion Control Algorithms Using ns-2

Chapter 3 ATM and Multimedia Traffic

CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering

CSE3214 Computer Network Protocols and Applications. Chapter 1 Examples and Homework Problems

The Impact of QoS Changes towards Network Performance

Computer Networks Homework 1

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

Transport Layer Protocols

Queuing Theory. Long Term Averages. Assumptions. Interesting Values. Queuing Model

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

TCP Westwood for Wireless

Applying Active Queue Management to Link Layer Buffers for Real-time Traffic over Third Generation Wireless Networks

Final for ECE374 05/06/13 Solution!!

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

Applications. Network Application Performance Analysis. Laboratory. Objective. Overview

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

Requirements of Voice in an IP Internetwork

Improving Effective WAN Throughput for Large Data Flows By Peter Sevcik and Rebecca Wetzel November 2008

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

Three Key Design Considerations of IP Video Surveillance Systems

Robust Router Congestion Control Using Acceptance and Departure Rate Measures

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Based on Computer Networking, 4 th Edition by Kurose and Ross

RTT 60.5 msec receiver window size: 32 KB

RESOURCE ALLOCATION FOR INTERACTIVE TRAFFIC CLASS OVER GPRS

Architecture and Performance of the Internet

Clearing the Way for VoIP

COMP 361 Computer Communications Networks. Fall Semester Midterm Examination

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

Question: 3 When using Application Intelligence, Server Time may be defined as.

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

TCP in Wireless Mobile Networks

Frequently Asked Questions

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Data Networks Summer 2007 Homework #3

Latency on a Switched Ethernet Network

What is Network Latency and Why Does It Matter?

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

Encapsulating Voice in IP Packets

Earliest Due Date (EDD) [Ferrari] Delay EDD. Jitter EDD

Application Performance Analysis and Troubleshooting

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

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

Gigabit Ethernet: Architectural Design and Issues

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

Answer: that dprop equals dtrans. seconds. a) d prop. b) d trans

Adaptive DCF of MAC for VoIP services using IEEE networks

Computer Networks CS321

First Midterm for ECE374 02/25/15 Solution!!

CHAPTER 1 ATM TRAFFIC MANAGEMENT

17: Queue Management. Queuing. Mark Handley

15-441: Computer Networks Homework 2 Solution

Network Management Quality of Service I

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

1. Repetition probability theory and transforms

6.6 Scheduling and Policing Mechanisms

A Policy-Based Admission Control Scheme for Voice over IP Networks

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

Smart Queue Scheduling for QoS Spring 2001 Final Report

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

TCP over Wireless Networks

The Quality of Internet Service: AT&T s Global IP Network Performance Measurements

Using median filtering in active queue management for telecommunication networks

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

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

Real-time apps and Quality of Service

THE UNIVERSITY OF AUCKLAND

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

Key Components of WAN Optimization Controller Functionality

CSCI Topics: Internet Programming Fall 2008

First Midterm for ECE374 03/24/11 Solution!!

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

4 Internet QoS Management

QoS issues in Voice over IP

White paper. Latency in live network video surveillance

VoIP network planning guide

Optimizing Converged Cisco Networks (ONT)

AN OVERVIEW OF QUALITY OF SERVICE COMPUTER NETWORK

Basic Queuing Relationships

File Transfer Protocol (FTP) Throughput Testing by Rachel Weiss

Distributed Systems 3. Network Quality of Service (QoS)

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

Seamless Congestion Control over Wired and Wireless IEEE Networks

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

VoIP Network Dimensioning using Delay and Loss Bounds for Voice and Data Applications

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Lecture 4: Introduction to Computer Network Design

Transcription:

Basic Multiplexing models? Supermarket?? Computer Networks - Vassilis Tsaoussidis

Schedule Where does statistical multiplexing differ from TDM and FDM Why are buffers necessary - what is their tradeoff, how far shall we use buffers? How do we model networks and how do we represent the models Understand basic concepts in multiplexing Store-and forward leads to delays but better utilization of resources

Where queuing theory helps Resources: Bandwidth, Processors, Storage Demand is unscheduled=> delay or loss likely Quantify Delay or loss System has four components: An entry point (arrival rate important) A waiting area (waiting time important) A service entity (service time differs consider size) An exit point (nothing associated with it hence, ignore it)

Q-ing models In a typical application, customers demand resources at random times and use the resources for variable duration This assumption holds - packets have variable length, therefore demanding varying service time When all resources are in use, arriving customers form a queue We assume that interarrival times are independent random variables

Classification Customer arrival pattern Service time distribution Number of servers Max number in the system For example M/M/1/K corresponds to a queuing system in which the interarrival times are exponentially distributed/the service times are exponentially distributed/ there is a single server/ at most K customers are allowed in the system M/M/1 is similar with no restriction in the number of customers. M/G/1: exponential arrivals/service time follow general distribution/single server M/D/1: exponential arrivals, constant (deterministic) service times/single server

Arrival process/service time/servers/max occupancy M=exponential M=exponential 1 server K customers D=Deterministic D=Determinis tic C servers G=General G=General infinite Unspecified if unlimited Arrival rate =1/E[t], t=interarrival time Service rate =1/E[X], X=service time

Colnclusions Buffers are good, infinite (too large) buffers of no use Better without traffic lights? Better without separation lines? QoS has a price! There is always a tradeoff.

Traffic analogy Consider m lanes in a highway In FDM, crossover is not allowed, thereby each lane can be used only by cars in the lane. In Statistical multiplexing crossover is allowed (or otherwise a single sixfold lane is used) thereby using the road better

Multiplexing Traffic Transmission capacity C : number of bits per second which can be transmitted. TDM: with m traffic streams, link capacity is divided into m time portions - one per traffic stream FDM: channel bandwidth is divided into m sub-channels, (I.e. bandwidth portions) each with bandwidth W/m and transmission capacity C/m per channel, where C is capacity of total bandwidth W L bit long packet needs L/(C/m)=Lm/C transmission time In statistical multiplexing we have a single queue and FIFO transmission scheme; the full capacity is allocated in each packet. L-bit packet takes L/C seconds for transmission.

TDM and SM For n packets in a Q belonging in m streams, which are L-bit long we need n x L transmission time with SM For n packets belonging in m streams, which are L-bit long and time slot is L/m we need at least n x L transmission time in TDM m =3, n=9 OR m=3 n=7 m1: 1r, 2r, 3r; m2: 2r, 3r; m3: 1r, 3r; time slot is 1/3 ms; packet transmission time is 1ms Scheduling in TDM (ms): 1m11/3, 2 -, 3m31/3, (3 rounds complete 2 packet transmissions in 3 ms) 4m12, 5m22, 6-, (3 times complete 3 ms) 7m13, 8m23, 9m33 --> 9ms Scheduling in SM (ms): 1m11, 2m31, 3m12, 4m22, 5m13, 6m23, 7m33-->7ms

Why/When buffering helps With buffers: Link is better scheduled Queuing delay is increased Resource utilization is better

Basic Queuing model for multiplexer Customers (connection requests or packets) arrive to the system according to some arrival pattern System: multiplexer, line, or network Customer spends some time T in the system After T, customer departs from the system System may come into a blocking state (e.g. due to lack of resources) Measures: Time spent in system: T Number of customers in the system: N(t) Fraction of arriving customers that are lost/blocked: Pb Average number of packets/customers per second that pass through the system: Throughput

Arrival rates and traffic load A(t): number of arrivals from time 0 to t B(t): number of blocked customers (0->t) D(t): number of departed customers (0->t) N(t): number of customers in the system = A(t)-B(t)-D(t) Long term arrival rate, throughput: A( t) lim customers / sec t D( t) throughput lim customers / sec t

Little s formula Relates: Average time spent in the system E[T] Average number of customers in the system E[N] Arrival rate Then: E[N]= E[T] That is, crowded systems (large N)are associated with longer customers delays (large T) a fast food (take-away food) needs small waiting room, while on a rainy day traffic moves slower (large T) and the streets are more crowded (large N).

Little's Law says that, under steady state conditions, the average number of items in a queuing system equals the average rate at which items arrive multiplied by the average time that an item spends in the system. Letting L =average number of items in the queuing system, W = average waiting time in the system for an item, and A =average number of items arriving per unit time, the law is L=AW (N= ) This relationship is remarkably simple and general. We require stationarity assumptions about the underlying stochastic processes, but it is quite surprising what we do not require. We have not mentioned how many servers there are, whether each server has its own queue or a single queue feeds all servers, what the service time distributions are, or what the distribution of inter-arrival times is, or what is the order of service of items, etc.

Proof :, sec. ). Graphic proof: The integral equals the Sum. Multiply and divide by A(t).

Servers.=>customer arrives every 1/ sec If = departure rate and system has 1 server=>, else m For 1 server: => congestion => underutilization = ->average load

Use of Buffers: why, when Assume no buffers:? Buffers help in scheduling the link. Arrival pattern (i.e. density of arrivals) may overcome max service rate (that is, capacity); buffering allows for later service Buffers shape traffic to match the properties of the server

Example: k arrivals at time t0 No buffers: ->fraction of Buffers: -> =1pkt/ms, to: k pkts, tk 0 pkts =>k ms->k pkts, =kpkts/kms=1pkt/ms= RTT should be smaller than Qing delay, buffers at the senders are better than buffers in the network. Network buffers affect all arrivals, should be kept as small as possible.

Cost of buffers Cost of shaping traffic to match the service rate is the increase of queuing delay Queuing Delay appears to all packets Less impact Better service: a new approach to network services and fairness

,, (layer), 95% 7-layer model OSI.,.

OSI: 7 Layers

(7)? Layers are only to help simplify things by breaking the functionality into pieces. 3. A network is not consisted of 7 layers. Some guys found that 7 layers describe appropriately and completely the network functionality. The Internet community however ignored them..

Multiplexing and Demultiplexing (demux key) Encapsulation (header/body)

Internet Architecture Internet Engineering Task Force (IETF) Application vs Application Protocol (FTP, HTTP) Features does not imply strict layering hourglass shape

Signal Bit Bit-rate, Baud-rate Byte Frame/Packet/Message Contention/Congestion Flow

Performance Metrics (B, D, J, R, F) Bandwidth and derived metrics Delay and derived metrics Jitter Reliability Fairness

Performance: Bandwidth Bandwidth Amount of data that can be transmitted per time unit Example: 10Mbps Notation: b-bit, B-Byte KB = 2 10 bytes Mbps = 10 6 bits per second Bandwidth related to bit width

Bandwidth-derived metrics Bandwidth: (bps) » bits. Throughput: (Bps),,. Overhead Bytes (B) Throughput= Data Sent in Bytes / Time Application Throughput=Data Received in Bytes / Time Goodput: (Bps) To Throughput headers retransmission overhead.. Goodput=Throughput-(Overhead/time)

Latency (delay) Time it takes to send message from point A to point B Example: 24 milliseconds (ms) Sometimes interested in in round-trip time (RTT) e.g. to know how long to wait for an ACK Components of Delay (latency) Delay = Processing + Propagation + Transmit + Queue Propagation = Distance / SpeedOfLight Transmit = Size / Bandwidth

Speed of light 3.0 x 10 8 meters/second in a vacuum 2.3 x 10 8 meters/second in a cable 2.0 x 10 8 meters/second in a fiber Notes no queuing delays in direct link bandwidth not relevant if Size = 1 bit process-to-process latency includes software overhead software overhead can dominate when Message is small

Delay Propagation Delay (ms). Transmission Delay (ms). Transmission Delay = Transmitted Data / Bandwidth Queuing Delay (ms) buffers routers. Processing Delay (ms). Delay = Propagation Delay + Transmission Delay + Queuing Delay + Processing Delay.

Relative importance of bandwidth and latency small message (e.g., 1 bit): 1ms vs 100ms dominates 1Mbps vs 100Mbps large message (e.g., 12.5 MB): 1Mbps vs 100Mbps dominates 1ms vs 100ms Delay x Bandwidth Product e.g., 100ms RTT and 45Mbps Bandwidth = 560KB of data Application Needs bandwidth requirements: average v. peak rate jitter: variance in latency (inter-packet gap)

Overhead Overhead: (B). Overhead=Headers + Retransmission Overhead.

Reliability: What Goes Wrong in the Network? Bit-level errors (electrical interference) Packet-level errors (congestion) Link and node failures Messages are delayed Messages are deliver out-of-order Third parties eavesdrop The key problem is to fill in the gap between what applications expect and what the underlying technology provides.

Tradeoffs / - Throughput / Delay / Jitter / Fairness

Fairness -,. Fairness index n ( i 1 f ( x, x,..., x ) 1 2 n n n i 0 f 1, 1 max x x i i 2 n 1 i, then nxn 1, then x ) i x fairness 1. numerator / deno min ator 1 i 2 2 1 n (, flows), f(x1, x2,..xn), i throughput flow i. 1.

(P2P): Bandwidth 10Mbps. Propagation Delay 50ms. Overhead 40 bytes. 1450bytes. RTT.

Bandwidth 10Mpbs 1KB 1 (2, 4, 8 ). 40 Bytes headers KB. 20 Propagation Delay 10ms. Goodput Throughput.

Bandwidth Propagation Delay ).?