CprE 458/558: Real-Time Systems

Slides:



Advertisements
Similar presentations
CprE 458/558: Real-Time Systems
Advertisements

Streaming Video over the Internet
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
Spring 2000CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
Engineering Internet QoS
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Giuseppe Bianchi Basic switching concepts circuit switching message switching packet switching.
1 Call Admission Control Carey Williamson Department of Computer Science University of Calgary.
Presented By: Pariya Raoufi. Motivations Future applications require: higher bandwidth, generate a heterogeneous mix of network traffic, low latency.
1 All about ATM: ATM Terminology Explained Carey Williamson Department of Computer Science University of Calgary.
Asynchronous Transfer Modes By: Megan Cwiklinski Adam Nasset Brad Samples Will Vanlue.
1 EE 400 Asynchronous Transfer Mode (ATM) Abdullah AL-Harthi.
1 Fall 2005 Virtual Circuit Switching and ATM: Asynchronous Transfer Mode Qutaibah Malluhi CSE Department Qatar University.
1 An Introduction to Computer Networks Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof.
EE 4272Spring, 2003 Chapter 11. ATM and Frame Relay Overview of ATM Protocol Architecture ATM Logical Connections ATM Cells ATM Service Categories ATM.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 ATM (Asynchronous Transfer Mode) Cell Relay protocol designed by the ATM Forum and adopted by the ITU-T.
Page 110/4/2015 CSE 40373/60373: Multimedia Systems Quality of Service  Quality of service measures the kind of service provided by the system  On systems.
EITnotes.com For more notes and topics visit:
Establishing Connections Networking Modes: When you are evaluating a network, you concentrate on circuit switching versus packet switching. But it's also.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 11 Asynchronous Transfer Mode.
CHAPTER #6  Introducti on to ATM. Contents  Introduction  ATM Cells  ATM Architecture  ATM Connections  Addressing and Signaling  IP over ATM.
Chapter 24. Congestion Control and Quality of Service part 3
A T M (QoS).
Computer Networks with Internet Technology William Stallings
ATM Technologies. Asynchronous Transfer Mode (ATM) Designed by phone companies Single technology meant to handle –Voice –Video –Data Intended as LAN or.
Data and Computer Communications Chapter 11 – Asynchronous Transfer Mode.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
ECS5365 Lecture 6 ATM Traffic and Network Management
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
1 Chapter 3. Communication Networks Wen-Shyang Hwang KUAS EE.
WAN – Packet and Cell-switched Networks
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi.
Chapter 2 PHYSICAL LAYER.
The Network Layer Role Services Main Functions Standard Functions
Congestion Control in Data Networks and Internets
QoS & Queuing Theory CS352.
Point-to-Point Network Switching
Klara Nahrstedt Spring 2009
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
ASYNCHRONOUS TRANSFER MODE(ATM) Sangram Sekhar Choudhuri
COMPUTER NETWORKS CS610 Lecture-19 Hammad Khalid Khan.
CprE 458/558: Real-Time Systems
RSVP and Integrated Services in the Internet: A Tutorial
Chapter 3 Switching.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
Chapter 25 Multimedia TCP/IP Protocol Suite
Communication Networks
Ch 14 Connection-Oriented Networking and ATM
Taxonomy of network applications
Advanced Computer Networks
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Provision of Multimedia Services in based Networks
CS Lecture 2 Network Performance
VoIP—Voice over Internet Protocol
EE 122: Quality of Service and Resource Allocation
Data Communication Networks
On-time Network On-chip
Switching Techniques.
Chapter 12: Circuit Switching and Packet Switching
Ch 15 Network Characteristics
Yiannis Andreopoulos et al. IEEE JSAC’06 November 2006
L9: Intro Network Systems
Wide Area Networks (WANs), Routing, and Shortest Paths
University of Houston Quality of Service Datacom II Lecture 3
Circuit Switched Network
An Engineering Approach to Computer Networking
Point-to-Point Network Switching
Introduction and Overview
Presentation transcript:

CprE 458/558: Real-Time Systems Chapter 7: Real-Time Networks (WAN) CprE 458/558: Real-Time Systems (G. Manimaran)

Real-Time communications: Introduction source destination CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Performance metrics Bandwidth of the connection End-to-end delay: The total time the packet experienced from source to destination Delay jitter: It is the maximum variation in delay experienced by packets that travel across the connection Packet Loss: Percentage of packets lost The nature of the applications dictate the kind of performance requirements required CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Performance metrics Delay Delay jitter Delay-jitter = Max_delay – Min_delay In the example, Delay-jitter = (D1 – D3) Delay, D2 Delay, D1 M3 M2 M1 D3 D2 M4 M3 M2 D1 M1 CprE 458/558: Real-Time Systems (G. Manimaran)

Applications and Guarantee requirements Interactive applications require Bound on both delay and delay-jitter Can tolerate occasional message loss Examples: continuous media traffic (video or audio playback) Discrete applications require Error-free service Can tolerate both delay and jitter Examples: File transfer, Image retrieval CprE 458/558: Real-Time Systems (G. Manimaran)

Providing performance guarantees: Issues Choice of the packet scheduling algorithm at the intermediate node (switch) The message scheduling algorithms at the switches determine the order in which the packets from different connections are serviced CprE 458/558: Real-Time Systems (G. Manimaran)

Approaches to Real-time Communication Pure circuit switching: It reserves the entire physical channel for the connection. E.g., telephone networks Pure packet switching: It can efficiently utilize network bandwidth but cannot provide real-time guarantees. E.g., Internet Packet-oriented switching: A virtual channel is established before transmission begins, employs statistical multiplexing to utilize bandwidth efficiently. E.g., ATM (Asynchronous Transfer Mode) network CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Types of service Guaranteed service: (Deterministic or hard guaranteed service). This approach is conservative in resource reservation (for peak workload) and is the simplest method for real-time services. Predictive service: This service is meant for adaptive applications that can tolerate occasional violation of delay bound. Multimedia playback applications function well with this category of service. As-soon-as-possible service: This is best-effort service with priorities, the highest to be given to interactive burst traffic and the lowest to asynchronous bulk transfer. This category of service provides no guarantees, and no resources are reserved for it. CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Real-Time Channel A virtual circuit that provides the required end-to-end QoS guarantees. QoS parameters: bandwidth, delay, delay jitter, packet loss, etc. CprE 458/558: Real-Time Systems (G. Manimaran)

Life-cycle of a Real-Time Channel Channel establishment phase QoS routing Resource reservation Data Transmission phase Traffic policing/shaping Packet scheduling Rate adaptation Channel tear-down phase Releasing session resources CprE 458/558: Real-Time Systems (G. Manimaran)

Channel Establishment Phase Request for a new connection: I need the so and so QoS guarantees Channel Establishment Phase If yes admit the connection Can the current network condition provide the required QoS ?? If NO reject the connection CprE 458/558: Real-Time Systems (G. Manimaran)

Run-time scheduling phase Which flow to send first?? Router Set of Per-flow queues Node 1 2 3 4 Output Link 5 CprE 458/558: Real-Time Systems (G. Manimaran)

Characterization of Real-Time Traffic The traffic generated by the real-time sources fall in one of the two categories: Constant bit rate (CBR): In CBR, fixed-size packets are generated at regular intervals. It is smooth and nonbursty. The data generated by sensors (periodic). Variable bit rate (VBR): (1) fixed sized packets arriving at irregular intervals or (2) variable-sized packets arriving at regular intervals Voice traffic (talk spurts alternate with periods of silence) video source (different compression ratios result in variable size packets generated at regular intervals) CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) CBR and VBR examples Source CBR 1 1 1 1 1 1 6 12 18 24 30 Source VBR 1 1 1 1 1 3 1 1 6 12 14 16 18 21 23 30 CprE 458/558: Real-Time Systems (G. Manimaran)

Change in Traffic characteristics Source 1 6 12 18 24 CBR 1 1 1 1 1 1 1 1 1 1 1 Source 6 Switch VBR 1 6 12 14 16 18 The CBR now becomes bursty because of cross traffic CprE 458/558: Real-Time Systems (G. Manimaran)

CprE 458/558: Real-Time Systems (G. Manimaran) Traffic Models Peak-Rate Model: Most hard real-time systems use the peak-rate model for traffic characterization. The parameters of this model, for a connection i, are Minimum inter arrival time (Ti) Maximum message rate (1 / Ti) Maximum message length (μi) End-to-end delay bound (Di) The peak bandwidth requirement of the connection is (μi / Ti) The peak-rate model is exact only for the CBR traffic and overstates the bandwidth requirement for all VBR sources CprE 458/558: Real-Time Systems (G. Manimaran)

Peak-rate model: Illustrative example Source CBR 1 1 1 1 1 1 6 12 18 24 30 Minimum inter-arrival time (Ti) = 6 sec Maximum message rate (1 / Ti) = 1 / 6 = 0.16 message/sec Maximum message length (μi) = 1 kbits Bandwidth required = 1 / 6 = 0.16 kbits/sec Exact B/W requirement CprE 458/558: Real-Time Systems (G. Manimaran)

Peak-rate model: Illustrative example Burst Source VBR 1 1 1 1 1 3 1 1 6 12 14 16 18 21 23 30 An overstatement of the B/W requirement Minimum inter arrival time (Ti) = 2 sec Maximum message rate (1 / Ti) = 0.5 messages/sec Maximum message length (μi) = 3 Kbits Peak bandwidth required = 3/2 = 1.5 Kbits/sec CprE 458/558: Real-Time Systems (G. Manimaran)

Traffic Models (contd.) Linear Bounded Arrival Process (LBAP) Model This model uses an additional parameter representing the maximum burst size (Bi) In this model, the number of bits transmitted during any interval of length t is bounded by Bi + (t / Ti) This model can guarantee deterministic delay bounds CprE 458/558: Real-Time Systems (G. Manimaran)

LBAP model: Illustrative example Burst Source VBR 1 1 1 1 1 3 1 1 6 12 14 16 18 21 23 30 An overstatement of the B/W requirement Average inter-arrival time (Ti) = 6 sec Maximum message rate (1 / Ti) = 0.16 messages/sec Burst size (Bi) = 7 Kbits Maximum message length (μi) = 3 Kbits Bandwidth required = 3/6 + 7 = 7.5 Kbits/sec CprE 458/558: Real-Time Systems (G. Manimaran)