Multiaccess Communication

Similar documents
Answers to the problems from problem solving classes

Markov Chain Model for ALOHA protocol

16:330:543 Communication Networks I Midterm Exam November 7, 2005

Multimedia Communication Services Traffic Modeling and Streaming

requests/sec. The total channel load is requests/sec. Using slot as the time unit, the total channel load is 50 ( ) = 1

Analysis of random-access MAC schemes

Power Laws in ALOHA Systems

Random Access Protocols ALOHA

Chapter 5. Elementary Performance Analysis

Discrete Random Variables

Computer Networks More general queuing systems

Performance Evaluation of Queuing Systems

On the Throughput, Capacity and Stability Regions of Random Multiple Access over Standard Multi-Packet Reception Channels

Power Controlled FCFS Splitting Algorithm for Wireless Networks

Stochastic Optimization for Undergraduate Computer Science Students

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

Link Models for Packet Switching

On the Stability and Optimal Decentralized Throughput of CSMA with Multipacket Reception Capability

Modeling and Simulation NETW 707

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Wireless Internet Exercises

Lan Performance LAB Ethernet : CSMA/CD TOKEN RING: TOKEN

Maximum Sum Rate of Slotted Aloha with Capture

Intro to Queueing Theory

Delay and throughput analysis of tree algorithms for random access over noisy collision channels

Information in Aloha Networks

Design and Analysis of Multichannel Slotted ALOHA for Machine-to-Machine Communication

Week 5: Markov chains Random access in communication networks Solutions

Introduction to Markov Chains, Queuing Theory, and Network Performance

Continuous Time Processes

Kybernetika. Andrzej Dziech; Andrzej R. Pach Bounds on the throughput of an unslotted ALOHA channel in the case of a heterogeneous users' population

Queue length analysis for multicast: Limits of performance and achievable queue length with random linear coding

Introduction to queuing theory

Link Models for Circuit Switching

Conference Paper. Stability and Delay of Network-Diversity Multiple Access with Backlog Retransmission Control. Ramiro Robles CISTER-TR

Design and Analysis of a Propagation Delay Tolerant ALOHA Protocol for Underwater Networks

LECTURE 3. Last time:

Analysis of tree algorithm for collision resolution

6 Solving Queueing Models

Queues and Queueing Networks

P e = 0.1. P e = 0.01

The Timing Capacity of Single-Server Queues with Multiple Flows

Digital Networks. Dr. Vladimir Sidorenko Prof. Dr. -Ing. Martin Bossert

Part I Stochastic variables and Markov chains

A Simple Model for the Window Size Evolution of TCP Coupled with MAC and PHY Layers

Multiaccess Problem. How to let distributed users (efficiently) share a single broadcast channel? How to form a queue for distributed users?

Stability and Performance of Contention Resolution Protocols. Hesham M. Al-Ammal

An Evolutionary Game Perspective to ALOHA with power control

FCFS Tree Algorithms with Interference Cancellation and Single Signal Memory Requirements

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Distributed Multiple Access with Multiple Transmission Options at The Link Layer

Job Scheduling and Multiple Access. Emre Telatar, EPFL Sibi Raj (EPFL), David Tse (UC Berkeley)

Lecture on Sensor Networks

Stability Analysis in a Cognitive Radio System with Cooperative Beamforming

Relaying Information Streams

A POMDP Framework for Cognitive MAC Based on Primary Feedback Exploitation

Mathematical Analysis of IEEE Energy Efficiency

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

STABILITY OF FINITE-USER SLOTTED ALOHA UNDER PARTIAL INTERFERENCE IN WIRELESS MESH NETWORKS

MARKOV PROCESSES. Valerio Di Valerio

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Channel Allocation Using Pricing in Satellite Networks

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

On the Throughput-Optimality of CSMA Policies in Multihop Wireless Networks

Modeling Approximations for an IEEE WLAN under Poisson MAC-Level Arrivals

TCP over Cognitive Radio Channels

Performance analysis of IEEE WLANs with saturated and unsaturated sources

Service differentiation without prioritization in IEEE WLANs

Queueing Theory and Simulation. Introduction

ABSTRACT CROSS-LAYER ASPECTS OF COGNITIVE WIRELESS NETWORKS. Title of dissertation: Anthony A. Fanous, Doctor of Philosophy, 2013

Exact Statistics of a Markov Chain trhough Reduction in Number of States: Marco Aurelio Alzate Monroy Universidad Distrital Francisco José de Caldas

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

Performance analysis of queueing systems with resequencing

Stability Analysis of Slotted Aloha with Opportunistic RF Energy Harvesting

Stability of Multipacket Slotted Aloha with Selfish Users and Perfect Information

Chapter 2 Queueing Theory and Simulation

Analysis on Packet Resequencing for Reliable Network Protocols

On ARQ for Packet Erasure Channels with Bernoulli Arrivals

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Stability analysis of a cognitive multiple access channel with primary QoS constraints

EE 368. Weeks 3 (Notes)

Data analysis and stochastic modeling

Tuning the TCP Timeout Mechanism in Wireless Networks to Maximize Throughput via Stochastic Stopping Time Methods

Capacity and Delay Tradeoffs for Ad-Hoc Mobile Networks

Analysis and Performance Evaluation of Dynamic Frame Slotted-ALOHA in Wireless Machine-to-Machine Networks with Energy Harvesting

WiFi MAC Models David Malone

CS115 Computer Simulation Project list

Energy Optimal Control for Time Varying Wireless Networks. Michael J. Neely University of Southern California

Reliable Data Transport: Sliding Windows

IS 709/809: Computational Methods in IS Research Fall Exam Review

A discrete-time priority queue with train arrivals

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Average Age of Information with Hybrid ARQ under a Resource Constraint

System occupancy of a two-class batch-service queue with class-dependent variable server capacity

Quiz 1 EE 549 Wednesday, Feb. 27, 2008

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

The Wright-Fisher Model and Genetic Drift

Transcription:

Information Networks p. 1 Multiaccess Communication Satellite systems, radio networks (WLAN), Ethernet segment The received signal is the sum of attenuated transmitted signals from a set of other nodes, corrupted by distortion, delay and noise The multiaccess medium is allocated among the various nodes by the MAC (medium access control) sublayer We can view multiaccess communication in queueing terms: Each node has a queue of packets to be transmitted and the multiaccess channel is a common server.

Information Networks p. 2 Multiaccess Communication Ideally, the server should view all the waiting packets as one combined queue to be served by an appropriate queueing discipline. Problem: The server doesn t know which nodes contains packets. Problem: The nodes are unaware of packets at other nodes. Knowledge about the state of the queue is distributed.

Information Networks p. 3 Slotted Multiaccess Model Slotted system: Same length of all packets, each packet needs one time unit (a slot) for transmission. All transmitters are synchronized, transmission starts at an integer time and ends before next integer time. Poisson arrivals: Packets arrive at each of the m transmitting nodes according to independent Poisson processes. Let λ be the overall arrival rate, and λ/m the arrival rate at each transmitting node. Collision or perfect reception: If two or mode nodes sends in a time slot there is a collision and the receiver obtains no information about the content or sources of the transmitted packages. If just one node sends the packet is correctly received.

Information Networks p. 4 Slotted Multiaccess Model (cont.) (0, 1,e) Immediate Feedback: At the end of each slot, each node obtains feedback specifying whether 0 packets (idle), 1 packet (successful transmission), or more that 1 packet (collision/error) were transmitted in that slot. Retransmission of collisions: Each packet involved in a collision will be retransmitted in some later slot, until successfully transmitted. A node with a packet that must be retransmitted is said to be backlogged

Information Networks p. 5 Slotted Multiaccess Model (cont.) One of the two following is assumed (a) No buffering: If one packet at a node is currently waiting for transmission or colliding with another packet during transmission, new arrivals at that node are discarded and never transmitted. (b) Infinite set of nodes (m = ): The system has an infinite set of nodes and each newly arriving packet arrives at a new node.

Information Networks p. 6 Slotted Multiaccess Model (cont.) With large number of nodes, relatively small arrival rate λ, and small required delay, new arrivals at backlogged nodes are almost negligible. Thus in this case the delay with assumption (a) should be relatively close to one with buffering. For a wide variety of systems with buffering and flow control assumption (a) will give a lower bound to the delay. The assumption (b) provides an upper bound for the delay. Each of a finite set of nodes can consider itself as a set of virtual nodes and apply the given algorithm independently for each arrived packet. In this approach a node with several backlogged packets will sometimes cause a sure collision, by avoiding that we can get smaller delays.

Information Networks p. 7 Slotted Aloha The Aloha network was developed around 1970 to provide radio communication between central computer and various data terminals at the campuses of University of Hawaii. The basic idea is an unbacklogged node transmits a newly arriving packet in the first slot after packet arrival, thus risking occasional collisions but achieving very small delay if collisions are rare. When a collision occurs each node sending one of the colliding packets discovers the collision at the end of the slot and becomes backlogged. Backlogged nodes wait for some random number of slots before retransmitting.

Information Networks p. 8 Slotted Aloha, preliminary analysis Using infinite node assumption (b) New arrivals transmitted in a slot is a Poisson random variable with rate λ If retransmissions from backlogged nodes are sufficiently randomized, it is plausible to approximate the total number of retransmissions and new transmissions in a slot as a Poisson random variable with rate G > λ The probability that k nodes will transmit in a slot is then G k k! e G

Information Networks p. 9 Slotted Aloha, preliminary analysis The probability of a successful transmission is thus Ge G. In equilibrium the arrival rate, λ, should be equal to the departure rate, Ge G Maximum possible departure rate occurs at G = 1 and is 1/e 0.368 For arrival rate λ < 1/e there are two values of G for which arrival rate equals departure rate! We ignore the dynamics of the system, as number of backlogged packets changes the parameter G will change.

Information Networks p. 10 Slotted Aloha, analysis Assume that each backlogged node retransmits with some fixed probability q r in each successive slot until a successful transmission occurs Number of slots from a collision until a given node involved in the collision retransmits is a geometric random variable, i.e. the probability that the number of slots is i 1 is q r (1 q r ) i 1 We will now first assume the no-buffering assumption (a) The behaviour is now described by a discrete time Markov model where the state is the number n of backlogged nodes

Information Networks p. 11 Slotted Aloha, analysis Each of the n backlogged nodes will transmit, independently of each other, with probability q r Each of the m n other nodes will transmit if one (or more) packets arrived during the previous slot Since arrivals are Poisson distributed with rate λ/m, the probability of no arrivals is e λ/m ; thus the probability that an unbacklogged node will transmit is q a = 1 e λ/m Let Q a (i,n) be the probability that i unbacklogged nodes transmit when n nodes are backlogged Let Q r (i,n) be the probability that i backlogged nodes transmit when n nodes are backlogged

Information Networks p. 12 Slotted Aloha, analysis We get Q a (i,n) = Q r (i,n) = ( m n ( n i ) (1 q a ) m n i q i a i ) (1 q r ) n i qr i The state n (number of backlogged nodes) increases by the number of new arrivals if we get a collision The state decreases by 1 if we get no new arrivals and a successful transmission (of a retransmitted packet) The state is unchanged if we get a new arrival that is successfully transmitted, or if no retransmission occurs, or if retransmission occurs with collision

Information Networks p. 13 Slotted Aloha, analysis If we get i 2 new arrivals, collision will occur and the state will increase with i, thus the transition probability P n,n+i = Q a (i,n) in this case (2 i m n). If we get one new arrival and a retransmission, collision will occur and the state will increase with 1, P n,n+1 = Q a (1,n)(1 Q r (0,n)) If we get one new arrival and no retransmission, or no new arrival and no or at least two retransmission, the state will be unchanged P n,n = Q a (1,n)Q r (0,n) + Q a (0,n)(1 Q r (1,n)) If we get no new arrivals and one (i.e. successful) retransmission the state will decrease by 1, P n,n 1 = Q a (0,n)Q r (1,n)

Information Networks p. 14 Slotted Aloha, analysis The steady-state probabilities p n will satisfy p n = n+1 p i P i,n, m p n = 1 i=0 n=0 This gives p n+1 = 1 P n+1,n ( p n (1 P n,n ) n 1 i=0 p i P i,n ) With this we can recursively express all p n in p 0 and then use m n=0 p n = 1 to find the value of p 0 and thus all p n.

Information Networks p. 15 Slotted Aloha, analysis Now we can compute the expected number of backlogged nodes as N = m n=0 np n With Little s theorem we get the average delay T = N/λ

Information Networks p. 16 Little s theorem N(t) is number of packets waiting in a queue (here nr of backlogged packets) at time t α(t) is the number of packets that arrived in the interval (0,t) T i is the time spent in the queue by packet i, The time average of N(t) up to t is N t = 1 t t 0 N(τ)dτ Normally N t changes with t, but many systems has a steady state as t increases, i.e. N = lim t N t exists.

Information Networks p. 17 Little s theorem We also have the time average arrival rate over the interval (0, t) λ t = α(t) t And the steady-state arrival rate λ = lim t λ t (assuming it exists) The time average of packet delay up to time t is T t = α(t) i=0 T i α(t) And the steady-state time average packet delay T = lim t T t (assuming it exists)

Information Networks p. 18 Little s theorem If the steady state averages N,λ and T exists, Little s theorem says that N = λt The proof is to look at the area between the arrival function α(t) and the departure function β(t) in two ways. This yields Dividing by t yields t 0 N(τ)dτ = α(t) i=0 T i N t = 1 t α(t) i=0 T i = α(t) t α(t) i=0 T i α(t) = λ t T t

Information Networks p. 19 Slotted Aloha, instability This steady state analysis doesn t tell the whole truth! We want retransmission probability q r to be relatively large to avoid large delays after collisions. If arrival rate is small, and few packets are involved in collisions, this works well and retransmissions are normally successful But, if we get enough backlogged packets n such that q r n >> 1, we get collisions in almost all successive slots and the system remains heavily backlogged for a long time.

Information Networks p. 20 Slotted Aloha, instability We define the drift, D n, in state n as the expected change in backlog over one slot time, starting in state n D n is the expected number of new arrivals accepted into the system (m n)q a less the expected number of successful transmissions in the slot, i.e. probability of successful transmission, P s Thus D n = (m n)q a P s where P s = Q a (1,n)Q r (0,n) + Q a (0,n)Q r (1,n) The attempt rate G(n) is the expected number of attempted transmission in a slot when the system is in state n

Information Networks p. 21 Slotted Aloha, instability We have G(n) = (m n)q a + nq r By inserting the definition of Q a and Q r in P s we get P s = (m n)(1 q a ) m n 1 q a (1 q r ) n + + (1 q a ) m n n(1 q r ) n 1 q r ( ) 1 1 = (m n)q a + nq r (1 q a ) m n (1 q r ) n 1 q a 1 q r ((m n)q a + nq r )e q a(m n) q r n = G(n)e G(n) where the approximation is good if q a and q r are small The probability of an idle slot is approximately e G(n)

Information Networks p. 22 Slotted Aloha, instability Thus the probability of number of packets in a slot is well approximated by a Poisson process random variable with rate G(n), note that the rate varies with the state. By plotting P s = G(n)e G(n) and the line (m n)q a (as function of n) we can see the drift D n as the difference between the curve and the line Since the drift is the expected change in in state from one slot to the next, the system tends to move in the direction of the drift although it may fluctuate