Enhancing the PCI Bus to Support Real- Time Streams Scottis, M.G.; Krunz, M.; Liu, M.M.-K. Dept. of Electr. & Comput. Eng., Arizona Univ., Tucson, AZ,

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Introduction to Embedded Systems Resource Management - III Lecture 19.
Priority INHERITANCE PROTOCOLS
Resource Access Protocols
CSE 522 Real-Time Scheduling (4)
An Introduction to Real Time Systems
REAL-TIME COMMUNICATION ANALYSIS FOR NOCS WITH WORMHOLE SWITCHING Presented by Sina Gholamian, 1 09/11/2011.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems (m, k)-firm tasks and QoS enhancement.
Operating Systems1 5. Process and thread scheduling 5.1 Organization of Schedulers – Embedded and Autonomous Schedulers 5.2 Scheduling Methods – A Framework.
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China.
CS 3013 & CS 502 Summer 2006 Scheduling1 The art and science of allocating the CPU and other resources to processes.
Ncue-csie1 A QoS Guaranteed Multipolling Scheme for Voice Traffic in IEEE Wireless LANs Der-Jiunn Deng 、 Chong-Shuo Fan 、 Chao-Yang Lin Speaker:
Performance Analysis of the IEEE Wireless Metropolitan Area Network nmgmt.cs.nchu.edu.tw 系統暨網路管理實驗室 Systems & Network Management Lab Reporter :黃文帥.
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Cs238 CPU Scheduling Dr. Alan R. Davis. CPU Scheduling The objective of multiprogramming is to have some process running at all times, to maximize CPU.
EE 249, Fall Discussion: Scheduling Haibo Zeng Amit Mahajan.
Wk 2 – Scheduling 1 CS502 Spring 2006 Scheduling The art and science of allocating the CPU and other resources to processes.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
Chapter 19: Real-Time Systems
A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003.
Chapter 19: Real-Time Systems Silberschatz, Galvin and Gagne ©2005 AE4B33OSS Chapter 19: Real-Time Systems System Characteristics Features of Real-Time.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 1.
 2004 Deitel & Associates, Inc. All rights reserved. 1 Chapter 8 – Processor Scheduling Outline 8.1 Introduction 8.2Scheduling Levels 8.3Preemptive vs.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
MISD Architecture of Specialized Processors in FPGA Structures for a Real-Time Video Data Pre-processing Kazimierz Wiatr Institute of Electronics, AGH.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Scheduling policies for real- time embedded systems.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
Salim Hariri HPDC Laboratory Enhanced General Switch Management Protocol Salim Hariri Department of Electrical and Computer.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
The Introduction of PCI Bus Reference: 1.Specification Industrial PCI Bus V1.52, SIPS(Standard Industrial Pc Systems) Oct PC/104-ISA to PCI, Marc.
Real Time Scheduling Telvis Calhoun CSc Outline Introduction Real-Time Scheduling Overview Tasks, Jobs and Schedules Rate/Deadline Monotonic Deferrable.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
ICS Process and thread scheduling 5.1 Organization of Schedulers – Embedded and Autonomous Schedulers – Priority Scheduling 5.2 Scheduling Methods.
Course Title: “Operating System” Chapter No: 04 “Process Scheduling” Course Instructor: ILTAF MEHDI IT Lecturer, MIHE, Kart-i Parwan, Kabul.
CompSci 143A1 5. Process and thread scheduling 5.1 Organization of Schedulers – Embedded and Autonomous Schedulers – Priority Scheduling 5.2 Scheduling.
Real Time Systems Real-Time Schedulability Part I.
Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy.
ITFN 2601 Introduction to Operating Systems Lecture 4 Scheduling.
Introduction to Embedded Systems Rabie A. Ramadan 5.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
19.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 19: Real-Time Systems.
Chapter 19: Real-Time Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 19: Real-Time Systems System Characteristics.
A Flexible Interleaved Memory Design for Generalized Low Conflict Memory Access Laurence S.Kaplan BBN Advanced Computers Inc. Cambridge,MA Distributed.
1 A Cross-Layer Scheduling Algorithm With QoS Support in Wireless Networks Qingwen Liu, Student Member, IEEE, Xin Wang, Member, IEEE, and Georgios B. Giannakis,
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 3.
Slides created by: Professor Ian G. Harris Operating Systems  Allow the processor to perform several tasks at virtually the same time Ex. Web Controlled.
1.  System Characteristics  Features of Real-Time Systems  Implementing Real-Time Operating Systems  Real-Time CPU Scheduling  An Example: VxWorks5.x.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
Process Scheduling Schedulers and Scheduling Methods.
Fault-Tolerant Rate- Monotonic Scheduling Sunondo Ghosh, Rami Melhem, Daniel Mosse and Joydeep Sen Sarma.
3. CPU Scheduling. CPU Scheduling Process execution – a cycle of CPU execution and I/O wait – figure Preemptive Non-Preemptive.
Lecturer 5: Process Scheduling Process Scheduling  Criteria & Objectives Types of Scheduling  Long term  Medium term  Short term CPU Scheduling Algorithms.
Real-Time Operating Systems RTOS For Embedded systems.
 Operating system.  Functions and components of OS.  Types of OS.  Process and a program.  Real time operating system (RTOS).
REAL-TIME OPERATING SYSTEMS
Golrezaei, N. ; Molisch, A.F. ; Dimakis, A.G.
EEE 6494 Embedded Systems Design
Chapter 2 Scheduling.
Chapter 8 – Processor Scheduling
Chapter 6: CPU Scheduling
Real Time Scheduling Mrs. K.M. Sanghavi.
Chapter 2: The Linux System Part 3
Real-Time Process Scheduling Concepts, Design and Implementations
Real-Time Process Scheduling Concepts, Design and Implementations
Presentation transcript:

Enhancing the PCI Bus to Support Real- Time Streams Scottis, M.G.; Krunz, M.; Liu, M.M.-K. Dept. of Electr. & Comput. Eng., Arizona Univ., Tucson, AZ, USA 1999 IEEE International Performance, Computing and Communications Conference 元智大學 系統實驗室 楊登傑

Outline Introduction PCI Overview Real-Time Scheduling Theory The EPCI Local Bus Simulation Study Conclusions

Introduction The paper present an access scheduling scheme for Real-Time Streams(RTS) over the PCI Bus. It uses the Rate Monotonic Scheduling (RMS) algorithm to guarantees the timing QoS for RTS over PCI Bus. Author define the effective bus utilization(EBU)as the worst case bus utilization. PCI Overview :gives a brief overview of the PCI architecture.

Introduction(cont.) Real-Time Scheduling Theory:gives the theory of RTS from which EPCI bus model. The EPCI Local Bus:introduces the EPCI bus architecture. Simulation Study:gives some simulation results of the proposed architecture. Conclusions:gives the concluding remarks.

PCI Overview In order to allow the PCI bus works concurrently with the CPU bus, inserting a new bus(CPU Local Bus)between the CPU and high-speed PCI Bus. The CPU can access the level-two(L2)cache or main memory while the PCI Bus is busy transferring data between its devices. Two types of devices are: a bus master and a target device A bus master must arbitrate for each access it performs on the bus, and a target device can only respond to a bus master’s request.

Real-Time Scheduling Theory Two real-time scheduling on a shared medium: preemptive and non-preemptive scheduling. In preemptive scheduling a higher priority link can preempt a lower priority link, where in Non-preemptive scheduling there is no preemption. Preemptive scheduling is divided into two:dynamic priority and static priority. Dynamic priority can change the link priority dynamically,and have higher schedulability than static priority. But dynamic priority are more complex,difficult to implement and require additional implementation overhead,for this reason author considers only static priority in this paper.

Static Priority Scheduling The RMS algorithm schedules a set of periodic links by assigning higher priorities to links with shorter periods. Given a set of n periodic links l 1,l 2,l 3,…..,l n ordered in increasing period(T 1 ≦ T 2 ≦ ……. ≦ T n ),the RMS algorithm assigns priorities in decreasing order(P 1 ≧ P 2 ≧ ……. ≧ P n ),where P i > P j implies that l i has a higher priority than l j (i≠j). A set of n independent RTS links l 1,l 2,l 3,…..,l n is schedulable using the RMS algorithm if only if the inequality can be met for 1 ≦ i ≦ n:

The EPCI Local Bus The hardware includes the Central Arbiter(CA) as used in current PCI bus system,and the application specific EPCI devices connected to the EPCI bus. The software includes the device drivers for the corresponding EPCI devices, the user application programs on top of the OS,and the Scheduling Manager(SM),which is part of the OS and schedules real-time traffic on the bus. The EPCI CA has programmable priorities assigned to each request-grant pair that can be changed by the SM at any time. Each EPCI device is required to have a buffer to match the rate the device produces or consumes data with the rate that it can move data across bus.

The EPCI Local Bus(count.)

Simulation Study Author assumes four RTS links l 1,l 2,l 3,l 4 which are labeled such as (T 1 ≦ T 2 ≦ T 3 ≦ T 4 )and the RMS algorithm is used to assign the priorities. This means that link l 1 has the highest priority and link l 4 has lowest. In this example,we have four links with 4!=24 possible ways to assign priorities to them. In figure 4,only four out of the twenty four possible assignments are schedulable.

Simulation Study(count.)

The link overhead and blocking are the key parameters in EPCI scheduling model that might degrade schedulability. A huge link overhead or blocking will severely degrade schedulability,they might drive a link to miss its deadline. Their values are dependent on the value of the internal latency timer(ILT).

Simulation Study(count.) Fig5,In the first region(ILT<55)the ILT value is small and the bus master has to give up the bus early in the transaction transferring only a small amount of data. This causes the link overhead to dominate, resulting in high EBU. Fig6,for small ILT values, the link overhead is very high. As the ILT value increases,the link overhead decreases,and the link set becomes schedulable.

Simulation Study(count.) In the second region(55<ILT<175)ILT has a moderate value and EBU is at its lowest value. This region is the optimum region,and either the link overhead nor the blocking dominates. In the third region(ILT>175)the ILT value is high and bus master is allowed to keep the bus for long periods even though other higher priority links might request the bus causing high blocking.

Simulation Study(count.) Fig7,Link l 4 has a zero blocking since no other lower priority link can block it. Link l 3 can be blocked only by link l 4 because l 4 has a small bus requirement which is exhausted before its ILT. Links l 1,l 2 can be blocked by l 3,l 4 because l 3 has a large bus time requirement and therefore l 1,l 2 have to wait for l 3 ILT to expire. This results in high blocking for l 1,l 2 at high ILT values.

Conclusions In this paper,author presents a bus management scheme that determines the schedulability of a set of real-time links over the PCI bus. Author also describe a bus scheduling model based on the rate monotonic scheduling (RMS) algorithm that priory guarantees the schedulability of a given link set.