Bits ZG553 RTS
Bits ZG553 RTS
Bits ZG553 RTS
Course Objectives
No
CO1 To introduce the issues and challenges in developing software for Real Time /
embedded systems
CO2 To introduce Real Time Scheduling in uni-processing, multi-processing and distributed
RTS
CO3 Introduce both theoretical and practical aspects of Real Time Operating Systems
(RTOS) to the students.
Text Book(s)
T1 Liu, Jane W.S., Real Time Systems, Pearson Education, 2000
R3 Shaw, Real-Time Systems and Software, John Wiley & Sons Inc., 2001. ISBN
0-471-35490-2*
* Available as kindle edition which is considerably cheaper than the printed version
Content Structure
1. Fundamentals of Real-Time Systems
1.1. Typical Real-Time Systems
1.1.1.Definitions
1.1.2.Examples of Real-Time Systems
1.2. Hard vs Soft Real-Time Systems
1.2.1.Jobs and Processors
1.2.2.Timing Constraints
1.2.3.Hard and Soft Real-Time Systems
2. A Reference Model of Real-Time Systems
2.1. Processors and Resources
2.2. Temporal Parameters of Real-Time Workload
2.3. Periodic Task Model
2.4. Precedence Constraints and Data dependency
2.5. Functional Parameters
2.6. Resource Parameters
2.7. Feasibility, Optimality and Performance Measures
3. Commonly Used Approaches to Real-Time Scheduling
3.1. Clock-Driven Approach
3.2. Round-robin and Weighted Round-robin Approaches
3.3. Priority-Driven Approach
3.4. Effective Release Times and Deadlines
3.5. Off-line vs On-line Scheduling
3.6. Different Scheduling Algorithms
3.6.1.EDF (Earliest Deadline First) Algorithm
3.6.2.LRT (Latest Release Time) Algorithm
3.6.3.LST (Least-Slack-Time-First) Algorithm
4. Clock Driven Scheduling
4.1. Static Timer Driven Scheduler
4.2. General Structure of Cyclic Schedules
4.3. Cyclic Executives
4.4. Scheduling Aperiodic Jobs
4.5. Scheduling Sporadic Jobs
4.6. Practical Considerations
4.7. Pros and Cons of Clock-Driven Scheduling
5. Priority-Driven Scheduling of Periodic Tasks
5.1. Fixed-Priority vs Dynamic-Priority Algorithms
5.2. Well-known Fixed-priority Scheduling Algorithms
5.2.1.RM (Rate-Monotonic) Algorithm
5.2.2.DM (Deadline-Monotonic) Algorithm
5.3. Well-known Dynamic-priority Scheduling Algorithms
5.3.1.EDF (Earliest Deadline First) Algorithm
5.3.2.LST (Least-Slack-Time-First) Algorithm
5.4. Maximum Schedulable Utilization of Different Scheduling Algorithms
5.5. Time Demand Analysis for Fixed Priority Systems
6. Scheduling Aperiodic and Sporadic Jobs in Priority-Driven Systems
6.1. Assumptions and Approaches
6.2. Deferrable Servers
6.3. Scheduling of Sporadic Jobs
7. Resource and Resource Access Control
7.1. Resource and Their Usage
7.2. Effect of Resource Contention and Resource Access Control
7.3. Basic Priority Inheritance Protocol
7.4. Basic Priority Ceiling Protocol
8. Hardware Considerations in Real-Time Systems
8.1. CPU
8.2. Memory
8.3. Peripheral Devices
9. Multi-Processing & Distributed Real Time Systems
9.1. Priority-driven Preemptive Scheduling, Static Table-Driven Scheduling, Dynamic
Plan-based Scheduling, Integrated Scheduling of Hard and QoS - Degradable Tasks,
Real-Time Scheduling with Feedback Control
9.2. Resource reclaiming in Multi-Processor RTS
9.3.Scheduler Model, Properties of Resource Re-claiming algorithms, Task Model,
Resource reclaiming algorithms
9.4.Fault-Tolerant task Scheduling in Multiprocessor RTS - Fault Classification, Fault
Tolerance in RTS, Fault-Tolerant Scheduling Algorithms for Multi-Processor Systems,
Scheduling of Real-Time Imprecise Computations
9.5.Resource Management in Distributed RTS- Scheduling in Distributed RTS, Global
Scheduling, an Integrated Approach to Distributed Real time Scheduling.
10. Real Time Operating Systems
10.1.Pseudokernels to Operating Systems
10.2.Process States
10.3.Inter-task communication and synchronization
10.4.Memory Management
10.5.Storage & File Systems
Learning Outcomes:
No Learning Outcomes
LO1 Ability to Design and Analyze Scheduling Algorithms for Single Processor Embedded
Real Time Systems
LO2 Ability to Design and Analyze Scheduling Algorithms for Single Processor Embedded
Real Time Systems
LO3 Ability to design , build Real Rime Embedded Systems
LO4 knowledge about both theoretical and practical aspects of Real Time Operating
Systems (RTOS).
Contact Hour 5 , 6
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 3.1 – 3.4 S c h e d u l i n g A l g o r i t h m s – A n T1 Ch 4
CH Introduction, Commonly used
Scheduling Algorithms
• Clock-Driven Approach
• Round-robin and Weighted Round-
robin Approaches
• Priority-Driven Approach
• Effective Release Times and
Deadlines
Post CH
Contact Hour 7
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 3.5 - 3.6 Commonly Used Approaches to Real- T1 Ch 4
CH Time Scheduling
• Off-line vs On-line Scheduling
• Different Scheduling Algorithms
o EDF Algorithm
o LRT Algorithm
o LST Algorithm
Post CH
Contact Hour 8
Post CH
Contact Hour 14
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 5.4 Priority-Driven Scheduling of Periodic T1 Ch 6
CH Tasks
• Maximum Schedulable Utilization
of Different Scheduling Algorithms
Post CH
Contact Hour 15
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 5.5 Priority-Driven Scheduling of Periodic T1 Ch 6
CH Tasks
• Time Demand Analysis for Fixed
Priority Systems
Post CH
Contact Hour 16
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 6.1 – 6.2 Scheduling Aperiodic and Sporadic T1 Ch 7
CH Jobs in Priority-Driven Systems
• Assumptions and Approaches
• Deferrable Servers
Post CH
Post CH
Post CH
Contact Hour 21
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 7.1-7.2 Resource and Resource Access Control T1 Ch 8
CH • Resource and Their Usage
• Effect of Resource Contention
and Resource Access Control
Post CH
Contact Hour 22
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 7.3 Resource and Resource Access Control T1 Ch 8
CH • Basic Priority Inheritance
Protocol
Post CH
Contact Hour 23
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 7.4 Resource and Resource Access Control T1 Ch 8
CH • Basic Priority Ceiling Protocol
Post CH
Contact Hour 24
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 8.2 - 8.3 Hardware Considerations in Real-Time Lecture Notes
CH Systems
• CPU
• Memory
• Peripheral Devices
Post CH
Contact Hour 25 - 27
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 9 Scheduling in Multi- Processing Papers to be provided
CH Systems
Post CH
Contact Hour 28 & 29
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 9 Scheduling in Distributed Systems Papers to be provided
CH
Post CH
Contact Hour 30 - 32
Type Content Ref. Topic Title Study/HW Resource
Reference
Pre CH
During 10 Real-Time Operating Systems Lecture Notes
CH
• Kernels
• Memory Management
• Storage & File System
Post CH