SlideShare a Scribd company logo
1 of 2
Download to read offline
What is an RTOS?
                                                             Real-time operating system

                                           An RTOS is an operating system specialized for real time operations. In order to be classifiable as an
                                    RTOS an operating system must:
                                                Have response time predictability.
                                                Be deterministic.
                                           Other qualities like speed, features set, small size etc, while important, are not what really characterize an
                                    RTOS.




                                            Any system can classified in one of the following categories.

                                            Non Real Time systems
                                            A non real time system is a system where there are no deadlines involved. Non-RT systems could be
                                    described as follow:
                                            ”A non real time system is a system where the programmed reaction to a stimulus will certainly happen
                                    sometime in the future”.

                                              Soft Real Time systems
System classification




                                              A Soft real time system is a system where not meeting a deadline can have undesirable but not catastrophic
                                    effects, a performance degradation for example. SRTs could be described as follow:
                                              ”A soft real time system is a system where the programmed reaction to a stimulus is almost always
                                    completed within a known finite time”.

                                            Hard Real Time systems
                                            An Hard Real Time (HRT) system is a system where not meeting a deadline can have catastrophic effects.
                                    HRT systems require a much more strict definition and could be described as follow:
                                            ”An hard real time system is a system where the programmed reaction to a stimulus is guaranteed to be
                                    completed within a known finite time”.

                                              Considerations
                                              As you can see speed is not the main factor, predictability and determinism are. It is also important to
                                    understand that it is not the RTOS that makes a system SRT or HRT but the system design itself, the RTOS is just a
                                    tool that you can use in the right or wrong way.
                                              Note that both SRT and HRT processes could coexist within the same system, even non critical processes
                                    without any RT constraints could be included in a design.




                                             Most RTOSs implement “fixed priority preemptive” scheduling algorithm. The strategy is very simple and
                                    can be described using few rules:
Scheduling, States and Priorities




                                                  Each thread has its own priority level, priorities are fixed and do not change unless the system is
                                                     specifically designed to do so.
                                                  Each active thread can be in one of the following states:
                                                          o Running, currently being executed by a physical core.
                                                          o Ready, ready to be executed when a physical core will become available.
                                                          o Waiting, not ready for execution because waiting for an external event. Most RTOSs split
                                                              this state in several sub-states but those are still waiting states.
                                                  Each physical core in the system always executes the highest priority thread that is ready for
                                                     execution.
                                                  When a thread becomes ready and there is a lower priority thread being executed then preemption
                                                     occurs and the higher priority thread is executed, the lower priority thread goes in the ready state.

                                            If the system has N cores the above strategy ensures that the N highest priority threads are being executed
                                    in any moment. Small embedded systems usually have a single core so there is only one running thread in any
                                    moment.

                                                © (copyright or copyleft…) http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:rtos_concepts
Exercise 1

        Read and match!

a) scheduling algorithm is …                                   1) running
b) state of executed task is …                                 2) HRT
c) system where reaction to a stimulus is guaranteed           3) deterministic
d) state of read task is …                                     4) preemptive
e) RTOS must be …                                              5) ready


        Exercise 2

        Answer the questions!

       1) Is speed the main factor of RTOS? ____________________________________________________
       2) May a RTOS execute some process simultaneously, if we have one central processing unit (CPU)?
Why? ________________________________________________________________________________________
       3) May a process have a processing time if the state of this process is ready? Why?
_________________________________________________________________________________________
       4) Is HRT homogeneous reactor test? _____________________________________________________
       5) What is the name of the most useful HRT RTOS? __________________________________________


        Exercise 3

        Choose the system for project and draw pointer!




                                             Medical project (defibrillator)
                                             Railway project (locomotive)
                                               Television-game device
                                                     Atomic pile
                                                        Kettle
                                                  Microwave oven
                 RTOS                              Automatic pilot                non-RTOS
                                                  Pocket computer
                                                      Calculator
                                                     Milking unit
                                                    Traffic lights
                                                  Massaging device




        Exercise 4

        Find and draw the good and the bad way!
                                            Scabrous way is the way to … BSOD!


               WinXP




                                           Kernel is not panic,
                QNX                        kernel is good! All fine 8-)…
                                                                                  RTOS

More Related Content

Viewers also liked

Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...
Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...
Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...Andy Ryan
 
Ekumena i anekumena ljđ
Ekumena i anekumena ljđEkumena i anekumena ljđ
Ekumena i anekumena ljđljubicadj1
 
Enabling Embedded Business Continuity
Enabling Embedded Business ContinuityEnabling Embedded Business Continuity
Enabling Embedded Business ContinuityMustafa KILIC
 
Powerconnect 6224 user's guide-es-mx
Powerconnect 6224 user's guide-es-mxPowerconnect 6224 user's guide-es-mx
Powerconnect 6224 user's guide-es-mxEzio Valencia
 
mobilike_BTK2013Q4_raporu
mobilike_BTK2013Q4_raporumobilike_BTK2013Q4_raporu
mobilike_BTK2013Q4_raporumobilike
 
Free Undelete Mac is Possible
Free Undelete Mac is PossibleFree Undelete Mac is Possible
Free Undelete Mac is Possiblestephenrocks
 
C:\fakepath\actividad compu redes
C:\fakepath\actividad compu redesC:\fakepath\actividad compu redes
C:\fakepath\actividad compu redesraul pulgar
 
Hi paa and eh rs
Hi paa and eh rsHi paa and eh rs
Hi paa and eh rssupportc2go
 
14 Open Canarias V Semana CMMI 2009
14 Open Canarias V Semana CMMI 200914 Open Canarias V Semana CMMI 2009
14 Open Canarias V Semana CMMI 2009Pepe
 
Introduction
IntroductionIntroduction
IntroductionH K
 

Viewers also liked (14)

2013_SL-Class_120409.pdf
2013_SL-Class_120409.pdf2013_SL-Class_120409.pdf
2013_SL-Class_120409.pdf
 
Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...
Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...
Swapshop 2014: Five Easy LSA events for libraries - Rebekah Polding, London S...
 
Ekumena i anekumena ljđ
Ekumena i anekumena ljđEkumena i anekumena ljđ
Ekumena i anekumena ljđ
 
Enabling Embedded Business Continuity
Enabling Embedded Business ContinuityEnabling Embedded Business Continuity
Enabling Embedded Business Continuity
 
Powerconnect 6224 user's guide-es-mx
Powerconnect 6224 user's guide-es-mxPowerconnect 6224 user's guide-es-mx
Powerconnect 6224 user's guide-es-mx
 
mobilike_BTK2013Q4_raporu
mobilike_BTK2013Q4_raporumobilike_BTK2013Q4_raporu
mobilike_BTK2013Q4_raporu
 
Free Undelete Mac is Possible
Free Undelete Mac is PossibleFree Undelete Mac is Possible
Free Undelete Mac is Possible
 
C:\fakepath\actividad compu redes
C:\fakepath\actividad compu redesC:\fakepath\actividad compu redes
C:\fakepath\actividad compu redes
 
Hi paa and eh rs
Hi paa and eh rsHi paa and eh rs
Hi paa and eh rs
 
14 Open Canarias V Semana CMMI 2009
14 Open Canarias V Semana CMMI 200914 Open Canarias V Semana CMMI 2009
14 Open Canarias V Semana CMMI 2009
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
Software testing
Software testingSoftware testing
Software testing
 
Mediamplify Presentation
Mediamplify PresentationMediamplify Presentation
Mediamplify Presentation
 
Introduction
IntroductionIntroduction
Introduction
 

Similar to RTOS

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
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 
What is operating system
What is operating systemWhat is operating system
What is operating systemvmahesmca
 
What is operating system
What is operating systemWhat is operating system
What is operating systemvmahesmca
 
Real time operating system
Real time operating systemReal time operating system
Real time operating systemKhuram Shahzad
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic conceptMOUMITA GHOSH
 
There are many operating systemsReal-Time Operating SystemReal-t.pdf
There are many operating systemsReal-Time Operating SystemReal-t.pdfThere are many operating systemsReal-Time Operating SystemReal-t.pdf
There are many operating systemsReal-Time Operating SystemReal-t.pdfankitmobileshop235
 
embedded system CHAPTER four about design .pdf
embedded system CHAPTER four about design .pdfembedded system CHAPTER four about design .pdf
embedded system CHAPTER four about design .pdfabdulkerimaragaw936
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga) Nagarajan
 
presentation on real time operating system(RTOS's)
presentation on real time operating system(RTOS's)presentation on real time operating system(RTOS's)
presentation on real time operating system(RTOS's)chetan mudenoor
 
pptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfpptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfJaganBehera8
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating SystemsPawandeep Kaur
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
OVERVIEW OF RTOS
OVERVIEW OF RTOSOVERVIEW OF RTOS
OVERVIEW OF RTOStaruian
 

Similar to RTOS (20)

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)
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Real timedata
Real timedataReal timedata
Real timedata
 
Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0
 
Embedded os
Embedded osEmbedded os
Embedded os
 
Unit v
Unit vUnit v
Unit v
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic concept
 
There are many operating systemsReal-Time Operating SystemReal-t.pdf
There are many operating systemsReal-Time Operating SystemReal-t.pdfThere are many operating systemsReal-Time Operating SystemReal-t.pdf
There are many operating systemsReal-Time Operating SystemReal-t.pdf
 
embedded system CHAPTER four about design .pdf
embedded system CHAPTER four about design .pdfembedded system CHAPTER four about design .pdf
embedded system CHAPTER four about design .pdf
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
 
Presentation1
Presentation1Presentation1
Presentation1
 
presentation on real time operating system(RTOS's)
presentation on real time operating system(RTOS's)presentation on real time operating system(RTOS's)
presentation on real time operating system(RTOS's)
 
pptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfpptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdf
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
OVERVIEW OF RTOS
OVERVIEW OF RTOSOVERVIEW OF RTOS
OVERVIEW OF RTOS
 

More from sfu-kras

Cloud computing questions
Cloud computing questionsCloud computing questions
Cloud computing questionssfu-kras
 
Cloud computing
Cloud computingCloud computing
Cloud computingsfu-kras
 
Improving ambiguity resolution
Improving ambiguity resolutionImproving ambiguity resolution
Improving ambiguity resolutionsfu-kras
 
Tutorial Nequick
Tutorial NequickTutorial Nequick
Tutorial Nequicksfu-kras
 
Phantom OS Tutorial
Phantom OS TutorialPhantom OS Tutorial
Phantom OS Tutorialsfu-kras
 
Task satellite
Task satelliteTask satellite
Task satellitesfu-kras
 
Task satellite
Task satelliteTask satellite
Task satellitesfu-kras
 
Os gnu-questions
Os gnu-questionsOs gnu-questions
Os gnu-questionssfu-kras
 
Os ui-tasks
Os ui-tasksOs ui-tasks
Os ui-taskssfu-kras
 
OS-description
OS-descriptionOS-description
OS-descriptionsfu-kras
 

More from sfu-kras (12)

Boev
BoevBoev
Boev
 
Cloud computing questions
Cloud computing questionsCloud computing questions
Cloud computing questions
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Improving ambiguity resolution
Improving ambiguity resolutionImproving ambiguity resolution
Improving ambiguity resolution
 
Tutorial Nequick
Tutorial NequickTutorial Nequick
Tutorial Nequick
 
Phantom OS Tutorial
Phantom OS TutorialPhantom OS Tutorial
Phantom OS Tutorial
 
Task satellite
Task satelliteTask satellite
Task satellite
 
Task satellite
Task satelliteTask satellite
Task satellite
 
Os gnu-questions
Os gnu-questionsOs gnu-questions
Os gnu-questions
 
Os ui-tasks
Os ui-tasksOs ui-tasks
Os ui-tasks
 
OS-description
OS-descriptionOS-description
OS-description
 
OS-tasks
OS-tasksOS-tasks
OS-tasks
 

Recently uploaded

FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxakanksha16arora
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 

Recently uploaded (20)

FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 

RTOS

  • 1. What is an RTOS? Real-time operating system An RTOS is an operating system specialized for real time operations. In order to be classifiable as an RTOS an operating system must:  Have response time predictability.  Be deterministic. Other qualities like speed, features set, small size etc, while important, are not what really characterize an RTOS. Any system can classified in one of the following categories. Non Real Time systems A non real time system is a system where there are no deadlines involved. Non-RT systems could be described as follow: ”A non real time system is a system where the programmed reaction to a stimulus will certainly happen sometime in the future”. Soft Real Time systems System classification A Soft real time system is a system where not meeting a deadline can have undesirable but not catastrophic effects, a performance degradation for example. SRTs could be described as follow: ”A soft real time system is a system where the programmed reaction to a stimulus is almost always completed within a known finite time”. Hard Real Time systems An Hard Real Time (HRT) system is a system where not meeting a deadline can have catastrophic effects. HRT systems require a much more strict definition and could be described as follow: ”An hard real time system is a system where the programmed reaction to a stimulus is guaranteed to be completed within a known finite time”. Considerations As you can see speed is not the main factor, predictability and determinism are. It is also important to understand that it is not the RTOS that makes a system SRT or HRT but the system design itself, the RTOS is just a tool that you can use in the right or wrong way. Note that both SRT and HRT processes could coexist within the same system, even non critical processes without any RT constraints could be included in a design. Most RTOSs implement “fixed priority preemptive” scheduling algorithm. The strategy is very simple and can be described using few rules: Scheduling, States and Priorities  Each thread has its own priority level, priorities are fixed and do not change unless the system is specifically designed to do so.  Each active thread can be in one of the following states: o Running, currently being executed by a physical core. o Ready, ready to be executed when a physical core will become available. o Waiting, not ready for execution because waiting for an external event. Most RTOSs split this state in several sub-states but those are still waiting states.  Each physical core in the system always executes the highest priority thread that is ready for execution.  When a thread becomes ready and there is a lower priority thread being executed then preemption occurs and the higher priority thread is executed, the lower priority thread goes in the ready state. If the system has N cores the above strategy ensures that the N highest priority threads are being executed in any moment. Small embedded systems usually have a single core so there is only one running thread in any moment. © (copyright or copyleft…) http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:rtos_concepts
  • 2. Exercise 1 Read and match! a) scheduling algorithm is … 1) running b) state of executed task is … 2) HRT c) system where reaction to a stimulus is guaranteed 3) deterministic d) state of read task is … 4) preemptive e) RTOS must be … 5) ready Exercise 2 Answer the questions! 1) Is speed the main factor of RTOS? ____________________________________________________ 2) May a RTOS execute some process simultaneously, if we have one central processing unit (CPU)? Why? ________________________________________________________________________________________ 3) May a process have a processing time if the state of this process is ready? Why? _________________________________________________________________________________________ 4) Is HRT homogeneous reactor test? _____________________________________________________ 5) What is the name of the most useful HRT RTOS? __________________________________________ Exercise 3 Choose the system for project and draw pointer! Medical project (defibrillator) Railway project (locomotive) Television-game device Atomic pile Kettle Microwave oven RTOS Automatic pilot non-RTOS Pocket computer Calculator Milking unit Traffic lights Massaging device Exercise 4 Find and draw the good and the bad way! Scabrous way is the way to … BSOD! WinXP Kernel is not panic, QNX kernel is good! All fine 8-)… RTOS