SlideShare a Scribd company logo
RTOS
Introduction –
HARD AND SOFT REAL TIME
SYSTEMS
https://www.youtube.com/watch?v=-
VhJHrnhSrY&list=PLOuGMjEXHeeAcJAO_LFw
vP6N_IEIoUpFm&index=1
Video link
Introduction
A real-time operating system (RTOS) is
an operating system that guarantees a certain
capability within a specified time constraint.
Difference between a general purpose and Real
time system is
General purpose OS: Accuracy or performance
oriented
Real Time OS: Time or deadline oriented
Examples
LynxOS
OSE
QNX
RTLinux
VxWorks
Windows CE
FREERTOS
POSIX
Symbian
Linux
Ubuntu
Components of RTOS kernel
Scheduler: Preemptive
scheduler that
guarantees the highest
priority thread is
running.
Communication
Mechanism:
Semaphores, Message
Queues, Queues, etc.
Critical Region
Mechanisms: Mutexes,
Gates, Locks, etc.
Timing Services: Clocks,
Timers, etc.
Power Management:
For low power devices,
power management is
generally part of the
RTOS since it knows the
state of the device.
Memory Management:
Variable-size heaps,
fixed-size heaps, etc.
Peripheral Drivers:
UART, SPI, I2C, etc.
Protocol stacks: BLE,
WiFi, etc.
File System: FatFs, etc.
Device Management:
Exception Handling,
Boot, etc.
RTOS
Classifications
These type of RTOS strictly adhere
to the deadline associated with the
tasks. Missing on a deadline can
have catastrophic affects.
Hard RTOS :
Firm RTOS :
These type of RTOS are also required to
adhere to the deadlines because missing
a deadline may not cause a catastrophic
affect but could cause undesired affects,
like a huge reduction in quality of a
product which is highly undesired.
Soft RTOS :
In these type of RTOS,
missing a deadline is
acceptable.
Features of
RTOS
Occupy very less memory
Consume fewer resources
Response times are highly predictable
Unpredictable environment
The Kernel saves the state of the interrupted task
ad then determines which task it should run next.
The Kernel restores the state of the task and
passes control of the CPU for that task.
TERMS THAT
WE USE
Task – A set of related tasks that are jointly able to provide
some system functionality.
Job – A job is a small piece of work that can be assigned to a
processor, and that may or may not require resources.
Release time of a job – It's a time of a job at which job
becomes ready for execution.
Execution time of a job: It is time taken by job to finish its
execution.
Deadline of a job: It's time by which a job should finish its
execution.
Maximum It is the allowable response time of a job is called
its relative deadline.
Response time of a job: It is a length of time from the
release time of a job when the instant finishes.
Absolute deadline: This is the relative deadline, which also
includes its release time.
Like and
Subscribe

More Related Content

What's hot

Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systems
coolmirza143
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
Murtadha Alsabbagh
 
Real time systems 1 and 2
Real time systems 1 and 2Real time systems 1 and 2
Real time systems 1 and 2
satya srikanth V
 
first come first serve scheduling in os
first come first serve scheduling in os first come first serve scheduling in os
first come first serve scheduling in os
mikeemukesh
 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System Concepts
Sanjiv Malik
 
Process of operating system
Process of operating systemProcess of operating system
Process management
Process managementProcess management
Process management
Birju Tank
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
Mukesh Chinta
 
Real time system tsp
Real time system tspReal time system tsp
Real time system tsp
Pradeep Kumar TS
 
Cpu scheduling
Cpu schedulingCpu scheduling
Cpu scheduling
A. S. M. Shafi
 
Srt algorithm
Srt algorithmSrt algorithm
Srt algorithm
dianne10
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
Chetan Mahawar
 
Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory management
Syaiful Ahdan
 
Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4
Abu Bakr Ramadan
 
Os presentation process
Os presentation processOs presentation process
Os presentation process
Naseer Ahmad
 
The Windows Scheduler
The Windows SchedulerThe Windows Scheduler
The Windows Scheduler
Peter Shirley-Quirk
 
Ch6
Ch6Ch6
Ch6
C.U
 
Process
ProcessProcess

What's hot (18)

Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systems
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Real time systems 1 and 2
Real time systems 1 and 2Real time systems 1 and 2
Real time systems 1 and 2
 
first come first serve scheduling in os
first come first serve scheduling in os first come first serve scheduling in os
first come first serve scheduling in os
 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System Concepts
 
Process of operating system
Process of operating systemProcess of operating system
Process of operating system
 
Process management
Process managementProcess management
Process management
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Real time system tsp
Real time system tspReal time system tsp
Real time system tsp
 
Cpu scheduling
Cpu schedulingCpu scheduling
Cpu scheduling
 
Srt algorithm
Srt algorithmSrt algorithm
Srt algorithm
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
 
Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory management
 
Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4
 
Os presentation process
Os presentation processOs presentation process
Os presentation process
 
The Windows Scheduler
The Windows SchedulerThe Windows Scheduler
The Windows Scheduler
 
Ch6
Ch6Ch6
Ch6
 
Process
ProcessProcess
Process
 

Similar to RTOS

Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0
Emertxe Information Technologies Pvt Ltd
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
Sundaresan Sundar
 
Rtos
RtosRtos
Making Linux do Hard Real-time
Making Linux do Hard Real-timeMaking Linux do Hard Real-time
Making Linux do Hard Real-time
National Cheng Kung University
 
RTOS
RTOSRTOS
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Khuram Shahzad
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
Shibu Krishnan
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
reemasajin1
 
Unit v
Unit vUnit v
FreeRTOS basics (Real time Operating System)
FreeRTOS basics (Real time Operating System)FreeRTOS basics (Real time Operating System)
FreeRTOS basics (Real time Operating System)
Naren Chandra
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
Himanshu Ghetia
 
Cp usched 2
Cp usched  2Cp usched  2
Cp usched 2
nidsrajdev
 
RTOS.pdf
RTOS.pdfRTOS.pdf
RTOS.pdf
ssuser024cb2
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
Jamia Hamdard
 
THE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptx
THE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptxTHE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptx
THE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptx
natyesu
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
Nagarajan
 
Embedded os
Embedded osEmbedded os
Embedded os
K Senthil Kumar
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
Pawandeep Kaur
 
What is operating system
What is operating systemWhat is operating system
What is operating system
vmahesmca
 

Similar to RTOS (20)

Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
 
Rtos
RtosRtos
Rtos
 
Making Linux do Hard Real-time
Making Linux do Hard Real-timeMaking Linux do Hard Real-time
Making Linux do Hard Real-time
 
RTOS
RTOSRTOS
RTOS
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
 
Unit v
Unit vUnit v
Unit v
 
FreeRTOS basics (Real time Operating System)
FreeRTOS basics (Real time Operating System)FreeRTOS basics (Real time Operating System)
FreeRTOS basics (Real time Operating System)
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Cp usched 2
Cp usched  2Cp usched  2
Cp usched 2
 
RTOS.pdf
RTOS.pdfRTOS.pdf
RTOS.pdf
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
 
THE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptx
THE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptxTHE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptx
THE BASIC CONCEPTS OF PROCESSING MANAGEMENT chapter 2.pptx
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
 
Embedded os
Embedded osEmbedded os
Embedded os
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 

Recently uploaded

4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
gaafergoudaay7aga
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 

Recently uploaded (20)

4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 

RTOS

  • 1. RTOS Introduction – HARD AND SOFT REAL TIME SYSTEMS https://www.youtube.com/watch?v=- VhJHrnhSrY&list=PLOuGMjEXHeeAcJAO_LFw vP6N_IEIoUpFm&index=1 Video link
  • 2. Introduction A real-time operating system (RTOS) is an operating system that guarantees a certain capability within a specified time constraint. Difference between a general purpose and Real time system is General purpose OS: Accuracy or performance oriented Real Time OS: Time or deadline oriented
  • 5. Scheduler: Preemptive scheduler that guarantees the highest priority thread is running. Communication Mechanism: Semaphores, Message Queues, Queues, etc. Critical Region Mechanisms: Mutexes, Gates, Locks, etc. Timing Services: Clocks, Timers, etc. Power Management: For low power devices, power management is generally part of the RTOS since it knows the state of the device. Memory Management: Variable-size heaps, fixed-size heaps, etc. Peripheral Drivers: UART, SPI, I2C, etc. Protocol stacks: BLE, WiFi, etc. File System: FatFs, etc. Device Management: Exception Handling, Boot, etc.
  • 6. RTOS Classifications These type of RTOS strictly adhere to the deadline associated with the tasks. Missing on a deadline can have catastrophic affects. Hard RTOS :
  • 7. Firm RTOS : These type of RTOS are also required to adhere to the deadlines because missing a deadline may not cause a catastrophic affect but could cause undesired affects, like a huge reduction in quality of a product which is highly undesired.
  • 8. Soft RTOS : In these type of RTOS, missing a deadline is acceptable.
  • 9. Features of RTOS Occupy very less memory Consume fewer resources Response times are highly predictable Unpredictable environment The Kernel saves the state of the interrupted task ad then determines which task it should run next. The Kernel restores the state of the task and passes control of the CPU for that task.
  • 10. TERMS THAT WE USE Task – A set of related tasks that are jointly able to provide some system functionality. Job – A job is a small piece of work that can be assigned to a processor, and that may or may not require resources. Release time of a job – It's a time of a job at which job becomes ready for execution. Execution time of a job: It is time taken by job to finish its execution. Deadline of a job: It's time by which a job should finish its execution. Maximum It is the allowable response time of a job is called its relative deadline. Response time of a job: It is a length of time from the release time of a job when the instant finishes. Absolute deadline: This is the relative deadline, which also includes its release time.