SlideShare a Scribd company logo
1 of 11
CprE 458/558: Real-Time Systems (G. Manimaran)1
CprE 458/558: Real-Time Systems
Introduction to Real-Time Systems
CprE 458/558: Real-Time Systems (G. Manimaran)2
Real-time Systems -- Introduction
Real-time systems are defined as those
systems in which the correctness of the
system depends not only on the logical result
of computation, but also on the time at which
the results are produced.
• Hard real-time systems (e.g., Avionic control).
• Firm real-time systems (e.g., Banking).
• Soft real-time systems (e.g., Video on
demand).
CprE 458/558: Real-Time Systems (G. Manimaran)3
Real-Time Systems -- Introduction
•Hard deadline: penalty due to missing deadline is a higher
order of magnitude than the reward in meeting the
deadline
•Firm deadline: penalty and reward are in the same order
of magnitude
•Soft deadline: penalty often lesser magnitude than
reward
CprE 458/558: Real-Time Systems (G. Manimaran)4
A typical real-time system
CprE 458/558: Real-Time Systems (G. Manimaran)5
Example – Car driver
• Mission: Reaching the destination safely.
• Controlled System: Car.
• Operating environment: Road conditions.
• Controlling System
- Human driver: Sensors - Eyes and Ears of the driver.
- Computer: Sensors - Cameras, Infrared receiver, and
Laser telemeter.
• Controls: Accelerator, Steering wheel, Break-pedal.
• Actuators: Wheels, Engines, and Brakes.
CprE 458/558: Real-Time Systems (G. Manimaran)6
Example – Car driver (contd)
• Critical tasks: Steering and breaking.
• Non-critical tasks: Turning on radio.
• Performance is not an absolute one. It measures the
goodness of the outcome relative to the best outcome
possible under a given circumstance.
• Cost of fulfilling the mission → Efficient solution.
• Reliability of the driver → Fault-tolerance is a must.
CprE 458/558: Real-Time Systems (G. Manimaran)7
Real-Time Tasks
• Periodic tasks
- Time-driven. Characteristics are known a priori
- Task Ti is characterized by (pi, ci)
E.g.: Task monitoring temperature of a patient in an ICU.
• Aperiodic tasks
- Event-driven. Characteristics are not known a priori
- Task Ti is characterized by (ai, ri, ci, di)
E.g.: Task activated upon detecting change in patient’s
condition.
• Sporadic Tasks
– Aperiodic tasks with known minimum inter-arrival time.
pi : task period ai : arrival time ri : ready time
di : deadline ci : worst case execution time.
CprE 458/558: Real-Time Systems (G. Manimaran)8
Task constraints
• Deadline constraint
• Resource constraints
– Shared access (read-read)
– Exclusive access (write-x)
• Precedence constraints
– T1  T2: Task T2 can start executing only after T1
finishes its execution
• Fault-tolerant Requirements
– To achieve higher reliability for task execution
– Redundancy in execution
CprE 458/558: Real-Time Systems (G. Manimaran)9
Computing systems
Uniprocessor, multiprocessor, distributed system
CprE 458/558: Real-Time Systems (G. Manimaran)10
Notion of Predictability
• The most common denominator that is expected from a real-time
system is predictability.
– The behavior of the real-time system must be
predictable which means that with certain
assumptions about workload and failures, it
should be possible to show at “design time”
that all the timing constraints of the
application will be met.
• For static systems, 100% guarantees can be given at design time.
•
• For dynamic systems, 100% guarantee cannot be given since the
characteristics of tasks are not known a priori.
• In dynamic systems, predictability means that once a task is
admitted into the system, its guarantee should never be violated as
long as the assumptions under which the task was admitted hold.
CprE 458/558: Real-Time Systems (G. Manimaran)11
Common Misconceptions
• Real-time computing is equivalent to fast
computing.
• Real-time programming is assembly coding,
priority interrupt programming, and writing
device drivers.
• Real-time systems operate in a static
environment.
• The problems in real-time system design have
all been solved in other areas of computer
science.

More Related Content

What's hot

Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating SystemsPawandeep Kaur
 
Real Time Systems & RTOS
Real Time Systems & RTOSReal Time Systems & RTOS
Real Time Systems & RTOSVishwa Mohan
 
Components in real time systems
Components in real time systemsComponents in real time systems
Components in real time systemsSaransh Garg
 
Operating System Scheduling
Operating System SchedulingOperating System Scheduling
Operating System SchedulingVishnu Prasad
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating SystemsRohit Joshi
 
Galvin-operating System(Ch6)
Galvin-operating System(Ch6)Galvin-operating System(Ch6)
Galvin-operating System(Ch6)dsuyal1
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
Tickless Kernel - MillenniumIT Tech day 4.0
Tickless Kernel - MillenniumIT Tech day 4.0 Tickless Kernel - MillenniumIT Tech day 4.0
Tickless Kernel - MillenniumIT Tech day 4.0 mahendra laxaman
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systemskasi963
 
capacityshifting1
capacityshifting1capacityshifting1
capacityshifting1Gokul Vasan
 
Galvin-operating System(Ch4)
Galvin-operating System(Ch4)Galvin-operating System(Ch4)
Galvin-operating System(Ch4)dsuyal1
 
RTS Short Topics
RTS Short TopicsRTS Short Topics
RTS Short TopicsSilas Kanth
 
Operating Procedure Manual for Transmission And Security Desk
Operating Procedure Manual for Transmission And Security DeskOperating Procedure Manual for Transmission And Security Desk
Operating Procedure Manual for Transmission And Security DeskPower System Operation
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsHariharan Ganesan
 
RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems Bayar shahab
 

What's hot (20)

Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Real Time Systems & RTOS
Real Time Systems & RTOSReal Time Systems & RTOS
Real Time Systems & RTOS
 
cpu scheduling in os
cpu scheduling in oscpu scheduling in os
cpu scheduling in os
 
Real-Time Operating Systems
Real-Time Operating SystemsReal-Time Operating Systems
Real-Time Operating Systems
 
Components in real time systems
Components in real time systemsComponents in real time systems
Components in real time systems
 
RTOS
RTOSRTOS
RTOS
 
Operating System Scheduling
Operating System SchedulingOperating System Scheduling
Operating System Scheduling
 
Rtos slides
Rtos slidesRtos slides
Rtos slides
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Galvin-operating System(Ch6)
Galvin-operating System(Ch6)Galvin-operating System(Ch6)
Galvin-operating System(Ch6)
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
OS_Ch4
OS_Ch4OS_Ch4
OS_Ch4
 
Tickless Kernel - MillenniumIT Tech day 4.0
Tickless Kernel - MillenniumIT Tech day 4.0 Tickless Kernel - MillenniumIT Tech day 4.0
Tickless Kernel - MillenniumIT Tech day 4.0
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systems
 
capacityshifting1
capacityshifting1capacityshifting1
capacityshifting1
 
Galvin-operating System(Ch4)
Galvin-operating System(Ch4)Galvin-operating System(Ch4)
Galvin-operating System(Ch4)
 
RTS Short Topics
RTS Short TopicsRTS Short Topics
RTS Short Topics
 
Operating Procedure Manual for Transmission And Security Desk
Operating Procedure Manual for Transmission And Security DeskOperating Procedure Manual for Transmission And Security Desk
Operating Procedure Manual for Transmission And Security Desk
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
 
RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems
 

Viewers also liked

1001_Digital_Ideas_Presentation_2016
1001_Digital_Ideas_Presentation_20161001_Digital_Ideas_Presentation_2016
1001_Digital_Ideas_Presentation_20161001 Рецепти
 
Fisica tomo-i-alonso-finn
Fisica tomo-i-alonso-finnFisica tomo-i-alonso-finn
Fisica tomo-i-alonso-finnVlado Arias
 
Asset Liability Management
Asset Liability ManagementAsset Liability Management
Asset Liability ManagementAndrés Binder
 
Perbedaan antara blogger dan word press
Perbedaan antara blogger dan word pressPerbedaan antara blogger dan word press
Perbedaan antara blogger dan word pressVino Vino
 
галерея великих математиков евклид
галерея великих математиков евклидгалерея великих математиков евклид
галерея великих математиков евклидwolya62
 
Як зберегти здоров`я
Як зберегти здоров`я Як зберегти здоров`я
Як зберегти здоров`я Olya Bezruchenko
 
Démonstration de JAWS – lecteur d’écran
Démonstration de JAWS – lecteur d’écranDémonstration de JAWS – lecteur d’écran
Démonstration de JAWS – lecteur d’écranRabab Gomaa
 
JOURNAL CLUB SEMINAR
JOURNAL CLUB SEMINARJOURNAL CLUB SEMINAR
JOURNAL CLUB SEMINARSANJAY YADAV
 
piracetam and vinpocetine ameliorate rotenone induced parkinsonism in rats.
piracetam and vinpocetine ameliorate  rotenone induced parkinsonism in rats.piracetam and vinpocetine ameliorate  rotenone induced parkinsonism in rats.
piracetam and vinpocetine ameliorate rotenone induced parkinsonism in rats.SANJAY YADAV
 
RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...
RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...
RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...SANJAY YADAV
 
Sistem informasi akuntansi (arry)
Sistem informasi akuntansi (arry)Sistem informasi akuntansi (arry)
Sistem informasi akuntansi (arry)Arry Boomer's Wtd
 

Viewers also liked (16)

Trucco professionale
Trucco professionaleTrucco professionale
Trucco professionale
 
1001_Digital_Ideas_Presentation_2016
1001_Digital_Ideas_Presentation_20161001_Digital_Ideas_Presentation_2016
1001_Digital_Ideas_Presentation_2016
 
Fisica tomo-i-alonso-finn
Fisica tomo-i-alonso-finnFisica tomo-i-alonso-finn
Fisica tomo-i-alonso-finn
 
Asset Liability Management
Asset Liability ManagementAsset Liability Management
Asset Liability Management
 
Perbedaan antara blogger dan word press
Perbedaan antara blogger dan word pressPerbedaan antara blogger dan word press
Perbedaan antara blogger dan word press
 
310290
310290310290
310290
 
Kumari
KumariKumari
Kumari
 
галерея великих математиков евклид
галерея великих математиков евклидгалерея великих математиков евклид
галерея великих математиков евклид
 
Як зберегти здоров`я
Як зберегти здоров`я Як зберегти здоров`я
Як зберегти здоров`я
 
Démonstration de JAWS – lecteur d’écran
Démonstration de JAWS – lecteur d’écranDémonstration de JAWS – lecteur d’écran
Démonstration de JAWS – lecteur d’écran
 
JOURNAL CLUB SEMINAR
JOURNAL CLUB SEMINARJOURNAL CLUB SEMINAR
JOURNAL CLUB SEMINAR
 
piracetam and vinpocetine ameliorate rotenone induced parkinsonism in rats.
piracetam and vinpocetine ameliorate  rotenone induced parkinsonism in rats.piracetam and vinpocetine ameliorate  rotenone induced parkinsonism in rats.
piracetam and vinpocetine ameliorate rotenone induced parkinsonism in rats.
 
lifi technology
lifi technologylifi technology
lifi technology
 
RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...
RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...
RECENT ADVANCES IN TREATMENT OF DIABETES MELLITUS AND ITS COMPLICATIONS.rPres...
 
Sistem informasi akuntansi (arry)
Sistem informasi akuntansi (arry)Sistem informasi akuntansi (arry)
Sistem informasi akuntansi (arry)
 
1기 동영상
1기 동영상1기 동영상
1기 동영상
 

Similar to New rts-lect01

Resource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time SystemsResource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time Systemsjeronimored
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsWayne Jones Jnr
 
Fdp embedded systems
Fdp embedded systemsFdp embedded systems
Fdp embedded systemsKavya G
 
Real-Time Systems Intro.pptx
Real-Time Systems Intro.pptxReal-Time Systems Intro.pptx
Real-Time Systems Intro.pptx20EUEE018DEEPAKM
 
CS461-Real-Time-Systems.ppt
CS461-Real-Time-Systems.pptCS461-Real-Time-Systems.ppt
CS461-Real-Time-Systems.pptYash Agrawal
 
Introduction to real time systems and distributed file systems
Introduction to real time systems and distributed file systemsIntroduction to real time systems and distributed file systems
Introduction to real time systems and distributed file systemssekpsm
 
Dependable Systems - Introduction (1/16)
Dependable Systems - Introduction (1/16)Dependable Systems - Introduction (1/16)
Dependable Systems - Introduction (1/16)Peter Tröger
 
Real time operating system
Real time operating systemReal time operating system
Real time operating systemKhuram Shahzad
 
realtimeos_final1-2.pptx
realtimeos_final1-2.pptxrealtimeos_final1-2.pptx
realtimeos_final1-2.pptxchin463670
 
ppt2.pptx
ppt2.pptxppt2.pptx
ppt2.pptxchere3
 
Operating system 10 real time operating system
Operating system 10 real time operating systemOperating system 10 real time operating system
Operating system 10 real time operating systemVaibhav Khanna
 
IoT-Week1-Day2-Lecture.pptx
IoT-Week1-Day2-Lecture.pptxIoT-Week1-Day2-Lecture.pptx
IoT-Week1-Day2-Lecture.pptxDrWaelElsersy
 
RTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffffRTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffffadugnanegero
 
Operating Systems 1 (10/12) - Scheduling
Operating Systems 1 (10/12) - SchedulingOperating Systems 1 (10/12) - Scheduling
Operating Systems 1 (10/12) - SchedulingPeter Tröger
 
Patentability Requirements
Patentability RequirementsPatentability Requirements
Patentability Requirementsfungfung Chen
 
Embedded systems IoT Design UNIT IV PPT.pptx
Embedded systems IoT Design UNIT IV PPT.pptxEmbedded systems IoT Design UNIT IV PPT.pptx
Embedded systems IoT Design UNIT IV PPT.pptxVelmuruganTECE
 
Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsIOSR Journals
 
Hard versus Soft real time system
Hard versus Soft real time systemHard versus Soft real time system
Hard versus Soft real time systemKamal Acharya
 

Similar to New rts-lect01 (20)

Resource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time SystemsResource Management in (Embedded) Real-Time Systems
Resource Management in (Embedded) Real-Time Systems
 
Real time systems
Real time systemsReal time systems
Real time systems
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time Systems
 
Intro720T5.pptx
Intro720T5.pptxIntro720T5.pptx
Intro720T5.pptx
 
Fdp embedded systems
Fdp embedded systemsFdp embedded systems
Fdp embedded systems
 
Real-Time Systems Intro.pptx
Real-Time Systems Intro.pptxReal-Time Systems Intro.pptx
Real-Time Systems Intro.pptx
 
CS461-Real-Time-Systems.ppt
CS461-Real-Time-Systems.pptCS461-Real-Time-Systems.ppt
CS461-Real-Time-Systems.ppt
 
Introduction to real time systems and distributed file systems
Introduction to real time systems and distributed file systemsIntroduction to real time systems and distributed file systems
Introduction to real time systems and distributed file systems
 
Dependable Systems - Introduction (1/16)
Dependable Systems - Introduction (1/16)Dependable Systems - Introduction (1/16)
Dependable Systems - Introduction (1/16)
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
realtimeos_final1-2.pptx
realtimeos_final1-2.pptxrealtimeos_final1-2.pptx
realtimeos_final1-2.pptx
 
ppt2.pptx
ppt2.pptxppt2.pptx
ppt2.pptx
 
Operating system 10 real time operating system
Operating system 10 real time operating systemOperating system 10 real time operating system
Operating system 10 real time operating system
 
IoT-Week1-Day2-Lecture.pptx
IoT-Week1-Day2-Lecture.pptxIoT-Week1-Day2-Lecture.pptx
IoT-Week1-Day2-Lecture.pptx
 
RTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffffRTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffff
 
Operating Systems 1 (10/12) - Scheduling
Operating Systems 1 (10/12) - SchedulingOperating Systems 1 (10/12) - Scheduling
Operating Systems 1 (10/12) - Scheduling
 
Patentability Requirements
Patentability RequirementsPatentability Requirements
Patentability Requirements
 
Embedded systems IoT Design UNIT IV PPT.pptx
Embedded systems IoT Design UNIT IV PPT.pptxEmbedded systems IoT Design UNIT IV PPT.pptx
Embedded systems IoT Design UNIT IV PPT.pptx
 
Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling Algorithms
 
Hard versus Soft real time system
Hard versus Soft real time systemHard versus Soft real time system
Hard versus Soft real time system
 

New rts-lect01

  • 1. CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Introduction to Real-Time Systems
  • 2. CprE 458/558: Real-Time Systems (G. Manimaran)2 Real-time Systems -- Introduction Real-time systems are defined as those systems in which the correctness of the system depends not only on the logical result of computation, but also on the time at which the results are produced. • Hard real-time systems (e.g., Avionic control). • Firm real-time systems (e.g., Banking). • Soft real-time systems (e.g., Video on demand).
  • 3. CprE 458/558: Real-Time Systems (G. Manimaran)3 Real-Time Systems -- Introduction •Hard deadline: penalty due to missing deadline is a higher order of magnitude than the reward in meeting the deadline •Firm deadline: penalty and reward are in the same order of magnitude •Soft deadline: penalty often lesser magnitude than reward
  • 4. CprE 458/558: Real-Time Systems (G. Manimaran)4 A typical real-time system
  • 5. CprE 458/558: Real-Time Systems (G. Manimaran)5 Example – Car driver • Mission: Reaching the destination safely. • Controlled System: Car. • Operating environment: Road conditions. • Controlling System - Human driver: Sensors - Eyes and Ears of the driver. - Computer: Sensors - Cameras, Infrared receiver, and Laser telemeter. • Controls: Accelerator, Steering wheel, Break-pedal. • Actuators: Wheels, Engines, and Brakes.
  • 6. CprE 458/558: Real-Time Systems (G. Manimaran)6 Example – Car driver (contd) • Critical tasks: Steering and breaking. • Non-critical tasks: Turning on radio. • Performance is not an absolute one. It measures the goodness of the outcome relative to the best outcome possible under a given circumstance. • Cost of fulfilling the mission → Efficient solution. • Reliability of the driver → Fault-tolerance is a must.
  • 7. CprE 458/558: Real-Time Systems (G. Manimaran)7 Real-Time Tasks • Periodic tasks - Time-driven. Characteristics are known a priori - Task Ti is characterized by (pi, ci) E.g.: Task monitoring temperature of a patient in an ICU. • Aperiodic tasks - Event-driven. Characteristics are not known a priori - Task Ti is characterized by (ai, ri, ci, di) E.g.: Task activated upon detecting change in patient’s condition. • Sporadic Tasks – Aperiodic tasks with known minimum inter-arrival time. pi : task period ai : arrival time ri : ready time di : deadline ci : worst case execution time.
  • 8. CprE 458/558: Real-Time Systems (G. Manimaran)8 Task constraints • Deadline constraint • Resource constraints – Shared access (read-read) – Exclusive access (write-x) • Precedence constraints – T1  T2: Task T2 can start executing only after T1 finishes its execution • Fault-tolerant Requirements – To achieve higher reliability for task execution – Redundancy in execution
  • 9. CprE 458/558: Real-Time Systems (G. Manimaran)9 Computing systems Uniprocessor, multiprocessor, distributed system
  • 10. CprE 458/558: Real-Time Systems (G. Manimaran)10 Notion of Predictability • The most common denominator that is expected from a real-time system is predictability. – The behavior of the real-time system must be predictable which means that with certain assumptions about workload and failures, it should be possible to show at “design time” that all the timing constraints of the application will be met. • For static systems, 100% guarantees can be given at design time. • • For dynamic systems, 100% guarantee cannot be given since the characteristics of tasks are not known a priori. • In dynamic systems, predictability means that once a task is admitted into the system, its guarantee should never be violated as long as the assumptions under which the task was admitted hold.
  • 11. CprE 458/558: Real-Time Systems (G. Manimaran)11 Common Misconceptions • Real-time computing is equivalent to fast computing. • Real-time programming is assembly coding, priority interrupt programming, and writing device drivers. • Real-time systems operate in a static environment. • The problems in real-time system design have all been solved in other areas of computer science.