TSIN01 Information Networks Lecture 3

Similar documents
Multiple Access Communications. EEE 538, WEEK 11 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

TSIN01 Information Networks Lecture 8

Markov Chains and Multiaccess Protocols: An. Introduction

Packet multiple access and the Aloha protocol

LANs Local Area Networks LANs provide an efficient network solution : To support a large number of stations Over moderately high speed

Chapter 6 Medium Access Control Protocols and Local Area Networks

ECE453 Introduction to Computer Networks. Broadcast vs. PPP. Delay. Lecture 7 Multiple Access Control (I)

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

Multiple Access Protocols

ECEN 5032 Data Networks Medium Access Control Sublayer

Power Laws in ALOHA Systems

Multiple Access (1) Required reading: Garcia 6.1, 6.2.1, CSE 3213, Fall 2010 Instructor: N. Vlajic

1999, Scott F. Midkiff

Redes de Computadores. Medium Access Control

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Wireless Medium Access Control Protocols

The Link Layer and LANs. Chapter 6: Link layer and LANs

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

ECE 4450:427/527 - Computer Networks Spring 2017

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

EE 122: Ethernet and

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

CS 455/555 Intro to Networks and Communications. Link Layer

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

The Medium Access Control Scheme (MAC Layer) Reference: Andrew S. Tanenbaum, Computer Networks, 3rd Edition, Prentice Hall, 1996.

Multiple Access. Data Communications and Networking

Splitting Algorithms

COS 140: Foundations of Computer Science

Multiple Access Links and Protocols

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Protocols for Multiaccess Networks

Written Exam in Information Networks TSIN01

Chapter 4 (Week 7) The Medium Access Control Sublayer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP CN&DC Dr.

Lecture 12 December 04, Wireless Access. Graduate course in Communications Engineering. University of Rome La Sapienza. Rome, Italy

Jaringan Komputer. Broadcast Network. Outline. MAC (Medium Access Control) Channel Allocation Problem. Dynamic Channel Allocation

Chapter 3 MEDIA ACCESS CONTROL

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 16

Wireless Communications

Chapter 5: Link layer

Chapter 5 Link Layer and LANs

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Data. Networks. Second Ed ition DIMITRI BERTSEKAS ROBERT GALLAGER. PRENTICE HALL, Englewood Cliffs, New Jersey 07632

CSE 461 Multiple Access. David Wetherall

Lecture 9 November 12, Wireless Access. Graduate course in Communications Engineering. University of Rome La Sapienza. Rome, Italy

2. Modelling of telecommunication systems (part 1)

Medium Access Control

CHAPTER 5 PROPAGATION DELAY

Data and Computer Communications. Chapter 11 Local Area Network

MAC Sublayer(1) Principal service of the Medium Access Control Sublayer: Allocating a single broadcast channel (mostly a LAN) among competing users

Computer Networks. Medium Access Sublayer (Part I)

COMP476 Networked Computer Systems. Polling. Sharing the Wire. LAN Technologies. COMP476 Networked Computer Systems 1

Com S 611 Spring Semester 2007 Discrete Algorithms for Mobile and Wireless Networks. Lecture 3: Tuesday, 23rd January 2007

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

CS 123: Lecture 12, LANs, and Ethernet. George Varghese. October 24, 2006

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

1-1. Switching Networks (Fall 2010) EE 586 Communication and. November 8, Lecture 30

Comp277 Assignment 1 Fall 2011 Due 20 th December 2011 at 11:00am

Data Link Layer: Multi Access Protocols

COS 140: Foundations of Computer Science

Aloha and slotted aloha

Random Access. 1. Aloha. 2. Slotted Aloha 3. CSMA 4. CSMA/CD

COMP/ELEC 429/556 Introduction to Computer Networks

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

CSC 4900 Computer Networks: The Link Layer

COMPUTER NETWORKS - Local area networks

Local area networks. Copyright

EP2210 FEP3210 Performance analysis of Communication networks. Topic 2 Medium access control (or multiple access protocols)

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

EITF25 Internet Techniques and Applications L4: Network Access. Stefan Höst

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Ethernet. Introduction. CSE 3213 Fall 2011

Telecommunication Protocols Laboratory Course. Lecture 2

Multimedia Communication Services Traffic Modeling and Streaming

Link Layer: Retransmissions

Links. CS125 - mylinks 1 1/22/14

Chapter 6 Medium Access Control Protocols and Local Area Networks

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan

Contention Protocols and Networks

Random Assignment Protocols

Link Layer I: ALOHA, Time-, Frequency-, and Code Division. COS 463: Wireless Networks Lecture 4 Kyle Jamieson

Mobile Communications Chapter 3 : Media Access

Access Technologies! Fabio Martignon

Data Link Layer: Overview, operations

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

Overview of Networks

Local Area Networks (LANs) SMU CSE 5344 /

Data Link Layer: Collisions

CMPE 257: Wireless and Mobile Networking

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

Communication and Networks. Problems

Data Link Layer, Part 5. Medium Access Control

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

College of Computer and Information Sciences Department of Computer Engineering CEN444 Computer Networks Midterm 2 Exam Second Semester 1434/1435

Goals of Today s Lecture. Adaptors Communicating

Medium Access Control

Transcription:

TSIN01 Information Networks Lecture 3 Danyo Danev Division of Communication Systems Department of Electrical Engineering Linköping University, Sweden September 10 th, 2018 Danyo Danev TSIN01 Information Networks Lecture 3 1 / 24

Lecture overview Agenda Multiaccess communication Multiaccess media Idealized slotted multiaccess model Danyo Danev TSIN01 Information Networks Lecture 3 2 / 24

Multiaccess communication media Point-to-point communication links: twisted pairs of wires, coaxial cables, optical fibers, microwave radio links The received signal on each link depends only on the transmitted signal, the properties of the link and noise strength Multiaccess communication media: satellite systems, radio broadcast, multidrop telephone lines, multitap bus systems The received signal on one node depends on the transmitted signals from a set of other nodes, the properties of the link and noise strength Multiaccess media form the basis for LANs, MANs, satellite networks, and radio networks Danyo Danev TSIN01 Information Networks Lecture 3 3 / 24

Satellite channels In geosynchronous communication satellite systems, many ground stations transmit to a common satellite receiver The received messages are relayed to the ground stations Danyo Danev TSIN01 Information Networks Lecture 3 4 / 24

Satellite channels If several stations transmit at the same time and frequency band, their signals are garbled and incorrectly received Satellites often have separate antenna beams for different geographical areas, allowing independent reception and relaying between areas FDM or TDM can be used to make the satellite channel a collection of virtual point-to-point links Problem is same (increased delay and underutilization) with serving multiple sessions on one point-to-point link Sharing the medium on a demand basis reduces the delay and increases utilization Demand sharing is more difficult than in point-to-point links, cause earth stations are not aware of the instantaneous traffic of other earth stations Danyo Danev TSIN01 Information Networks Lecture 3 5 / 24

Multidrop telephone lines Connect one primary node with many secondary nodes Signal of primary node is received by all secondary ones Sum of secondary nodes received by primary node Major problem is sharing the channel secondary to primary Polling avoids interference, but is inefficient Danyo Danev TSIN01 Information Networks Lecture 3 6 / 24

Multitapped bus Each node can receive the signal sent by each other node If many nodes transmit at the same time, the received signal is garbled Nodes directly overhearing each other has important practical consequences in the design of access protocols Danyo Danev TSIN01 Information Networks Lecture 3 7 / 24

Packet radio networks Each node can receive from a subset of (not all) other nodes This makes packet radio networks far more complex If many nodes in the subset transmit at the same time, the received signal is garbled Danyo Danev TSIN01 Information Networks Lecture 3 8 / 24

MAC sublayer The multiaccess medium is allocated to the nodes by the Medium Access Control (MAC) sublayer, which lies between the PHY and DLC layers Implication: the separation of functions between layers is not as clear as in point-to-point links Feedback on transmission errors is part of LLC in DLC, but also required for allocation (thus flow control) in MAC Routing is automatically implemented due to the broadcast nature of multiaccess channels Danyo Danev TSIN01 Information Networks Lecture 3 9 / 24

Queueing view Multiaccess communication in queueing terms: each node has a queue of packets to be transmitted; the multiaccess channel is a common server Ideally, the server views all the waiting packets as one combined queue to be served by a queueing discipline But, the server doesn t know which nodes contain packets Also, the nodes are unaware of packets at other nodes Interesting part of multiple access problem is that the knowledge about the state of the queue is distributed Danyo Danev TSIN01 Information Networks Lecture 3 10 / 24

Extreme strategies Two extreme strategies for the multiaccess problem: 1. Free-for-all approach: nodes send new packets immediately, hoping for no interference from other nodes When and how packets are retransmitted when collisions (interference) occur? 2. Perfectly scheduled approach: there is some order (e.g. round robin) in which nodes receive reserved intervals for channel use What determines the scheduling order? (it can be dynamic) How long can a reserved interval last? How are nodes informed about their turn? Danyo Danev TSIN01 Information Networks Lecture 3 11 / 24

Recap - Multiaccess problem A set of nodes share a multiaccess communication channel If two or more nodes transmit simultaneously, reception is garbled If none transmit, the channel is unused Problem statement: coordinate the use of channel so that exactly one node is transmitting at every instance of time We use a highly idealized model that allows us to focus on the contention problem occurring when multiple nodes attempt to use the channel simultaneously Danyo Danev TSIN01 Information Networks Lecture 3 12 / 24

Idealized slotted multiaccess model System: m transmitting nodes and 1 receiver node Assumption 1: Slotted system All packets have same length Each packet needs one time unit (a slot) for transmission All transmitters are synchronized so that reception starts at an integer time and ends before next integer time Comments: With slots the system is discrete-time and easier analyzed Carrier sensing and early collision detection are precluded (for the moment; later, the model will be extended) Synchronization of transmitters is not entirely trivial; it requires stable clocks, feedback and guard time Danyo Danev TSIN01 Information Networks Lecture 3 13 / 24

Idealized slotted multiaccess model Assumption 2: Poisson arrivals Packets arrive at each of the m transmitting nodes according to independent identical Poisson processes Let λ be the overall packet arrival rate to the system Let λ/m be the packet arrival rate at each node Comments: Poisson arrivals are unrealistic for multipacket messages, since the packet arrivals are correlated Danyo Danev TSIN01 Information Networks Lecture 3 14 / 24

Poisson process The arrival instants are derived from a Poisson process X(t) with intensity parameter λ (packets/sec) The number of packets k that arrive during an interval [t 0, t 0 + t] of duration t is Poisson distributed: P r{x(t) = k} = (λt)k e λt k! On average, λt packets arrive in an interval of duration t The difference between the arrival times of two consecutive messages is exponentially distributed with average 1/λ P r{t i+1 t i = τ} = f(τ) = λe λτ Danyo Danev TSIN01 Information Networks Lecture 3 15 / 24

Idealized slotted multiaccess model Assumption 3: Collision or perfect reception If two or more nodes send in a given time slot, there is a collision and the receiver obtains no information about the content or sources of the transmitted packets If just one node sends, the packet is correctly received Comments: Perfect reception ignores the possibility of errors due to noise, channel impairments, etc Collision ignores the possibility that a receiver can successfully decode one transmission in the presence of other transmissions Danyo Danev TSIN01 Information Networks Lecture 3 16 / 24

Idealized slotted multiaccess model Assumption 4: (0, 1, e) Immediate Feedback At the end of each slot, each node obtains feedback specifying how any packets were transmitted in that slot 0 zero packets (idle) 1 one packet(successful transmission) e more that one packet (collision/error) Comments: Immediate feedback is unrealistic for channels with large propagation delay, such as the satellite channels This assumption simplifies the analysis; delayed or limited feedback complicates the analysis Danyo Danev TSIN01 Information Networks Lecture 3 17 / 24

Idealized slotted multiaccess model Assumption 5: Retransmission of collisions Each packet involved in a collision will be retransmitted in some later slot, until it is successfully received A node with a packet that must be retransmitted is said to be backlogged Comments: This assumption is reasonable in providing reliable communication Practical retransmission protocols (e.g. ARQ - Automatic Repeat request) allow a limited number of retransmissions Danyo Danev TSIN01 Information Networks Lecture 3 18 / 24

Idealized slotted multiaccess model Regarding buffering capabilities, one of the two following assumptions is made: Assumption 6a: 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 Assumption 6b: Infinite set of nodes (m = ) The system has an infinite set of nodes and each newly arriving packet arrives at a new node Danyo Danev TSIN01 Information Networks Lecture 3 19 / 24

Discussion of no-buffering assumption 6a Appears peculiar, since new arrivals in backlogged nodes are discarded, whereas packets once transmitted must be retransmitted until they are successfully received Interest is on channels with large number of nodes, relatively small arrival rate λ, and small required delay (conditions where TDM is inefficient) Then, the fraction of backlogged nodes is small and new arrivals at them are almost negligible Thus, the delay is relatively close to one with buffering Gives a lower bound to the delay of practical systems In practice, there is some buffering and some form of flow control to avoid buffer overflow Danyo Danev TSIN01 Information Networks Lecture 3 20 / 24

Discussion of infinite-node assumption 6b Provides an upper bound for the delay achieved with a finite number of nodes Each node (of a finite set) can consider itself as a set of virtual nodes, one for each arriving packet Virtual nodes apply any given multiaccess algorithm independently, equivalently to having infinite nodes A node with several backlogged packets will sometimes send them in one slot causing a sure collision In practice, the delay is smaller, since sure collisions are avoided and there is a finite number of nodes and buffering If bounds are close, approximation is good Assumption 6b is more accurate, but 6a is less abstract Danyo Danev TSIN01 Information Networks Lecture 3 21 / 24

Throughput Individual throughput is the expected number of packets that are delivered to the receiver in a unit time The system throughput is the sum of the individual throughputs For a stable system with infinite buffering the throughput is equal to the message arrival rate It is measured in packets/sec, symbols/sec, bits/sec Danyo Danev TSIN01 Information Networks Lecture 3 22 / 24

Delay The time difference between the arrival of a packet to the receiver node and the sender node If the information flow is modeled by a stochastic process, the delay is a positive real-valued stochastic variable The distribution function and the mean value of the delay are of interest The delay indicates whether the system is stable or not In an ideal system we assume unlimited buffer storage Danyo Danev TSIN01 Information Networks Lecture 3 23 / 24

Next lecture Agenda Slotted ALOHA, definition Slotted ALOHA, instructive analysis Slotted ALOHA, rigorous analysis Little s theorem Danyo Danev TSIN01 Information Networks Lecture 3 24 / 24