SlideShare a Scribd company logo
1 of 5
Download to read offline
There are many operating systems
Real-Time Operating System
Real-time applications usually are executed on top of a Real-time Operating System (RTOS).
Specific scheduling algorithms can be designed. When possible, static cyclic schedules are
calculated off-line.
Real-time systems are 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.
RTOS is therefore an operating system that supports real-time applications by providing
logically correct result within the deadline required. Basic Structure is similar to regular OS but,
in addition, it provides mechanisms to allow real time scheduling of tasks.
Though real-time operating systems may or may not increase the speed of execution, they can
provide much more precise and predictable timing characteristics than general-purpose OS.
A real-time system is defined as a data processing system in which the time interval required to
process and respond to inputs is so small that it controls the environment. The time taken by the
system to respond to an input and display of required updated information is termed as the
response time. So in this method, the response time is very less as compared to online
processing.
Real-time systems are used when there are rigid time requirements on the operation of a
processor or the flow of data and real-time systems can be used as a control device in a dedicated
application. A real-time operating system must have well-defined, fixed time constraints,
otherwise the system will fail. For example, Scientific experiments, medical imaging systems,
industrial control systems, weapon systems, robots, air traffic control systems, etc.
Design considerations
Designing a proper RTOS architecture needs some delicate decisions. The basic services like
process management, inter-process communication, interrupt handling, or process
synchronization have to be provided in an efficient manner making use of a very restricted
resource budget.
Multi-core architectures need special techniques for process management, memory management,
and synchronization. The upcoming Wireless Sensor Networks (WSN) generate special demands
for RTOS support leading to dedicated solutions. Another special area is given by multimedia
applications. Very high data rates have to be supported under (soft) RT constraints.
The key difference between general-computing operating systems and real-time operating
systems is the need for " deterministic " timing behavior in the real-time operating systems.
Formally, "deterministic" timing means that operating system services consume only known
and expected amounts of time. In theory, these service times could be expressed as mathematical
formulas. These formulas must be strictly algebraic and not include any random timing
components. Random elements in service times could cause random delays in application
software and could then make the application randomly miss real-time deadlines – a scenario
clearly unacceptable for a real-time embedded system. Many non-real-time operating systems
also provide similar kernel services.
DIFFERENCE: RTOS v/s General Purpose OS
Determinism - The key difference between general-computing operating systems and real-time
operating systems is the “deterministic " timing behavior in the real-time operating systems.
"Deterministic" timing means that OS consume only known and expected amounts of time.
RTOS have their worst case latency defined. Latency is not of a concern for General Purpose
OS.
Task Scheduling - General purpose operating systems are optimized to run a variety of
applications and processes simultaneously, thereby ensuring that all tasks receive at least some
processing time. As a consequence, low-priority tasks may have their priority boosted above
other higher priority tasks, which the designer may not want. However, RTOS uses priority-
based preemptive scheduling, which allows high-priority threads to meet their deadlines
consistently. All system calls are deterministic, implying time bounded operation for all
operations and ISRs. This is important for embedded systems where delay could cause a safety
hazard. The scheduling in RTOS is time based. In case of General purpose OS, like
Windows/Linux, scheduling is process based.
Preemptive kernel - In RTOS, all kernel operations are preemptible
Priority Inversion - RTOS have mechanisms to prevent priority inversion
Usage - RTOS are typically used for embedded applications, while General Purpose OS are used
for Desktop PCs or other generally purpose PCs.
RTOS CLASSFICATION
RTOS specifies a known maximum time for each of the operations that it performs. Based upon
the degree of tolerance in meeting deadlines, RTOS are classified into following categories
Hard real-time: Degree of tolerance for missed deadlines is negligible. A missed deadline can
result in catastrophic failure of the system
Firm real-time: Missing a deadly might result in an unacceptable quality reduction but may not
lead to failure of the complete system
Soft real-time: Deadlines may be missed occasionally, but system doesn’t fail and also, system
quality is acceptable
For a life saving device, automatic parachute opening device for skydivers, delay can be fatal.
Parachute opening device deploys the parachute at a specific altitude based on various
conditions. If it fails to respond in specified time, parachute may not get deployed at all leading
to casualty. Similar situation exists during inflation of air bags, used in cars, at the time of
accident. If airbags don’t get inflated at appropriate time, it may be fatal for a driver. So such
systems must be hard real time systems, whereas for TV live broadcast, delay can be acceptable.
In such cases, soft real time systems can be used.
Important terminologies used in context of real time systems
Determinism: An application is referred to as deterministic if its timing can be guaranteed within
a certain margin of error.
Jitter: Timing error of a task over subsequent iterations of a program or loop is referred to as
jitter. RTOS are optimized to minimize jitter.
Solution
There are many operating systems
Real-Time Operating System
Real-time applications usually are executed on top of a Real-time Operating System (RTOS).
Specific scheduling algorithms can be designed. When possible, static cyclic schedules are
calculated off-line.
Real-time systems are 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.
RTOS is therefore an operating system that supports real-time applications by providing
logically correct result within the deadline required. Basic Structure is similar to regular OS but,
in addition, it provides mechanisms to allow real time scheduling of tasks.
Though real-time operating systems may or may not increase the speed of execution, they can
provide much more precise and predictable timing characteristics than general-purpose OS.
A real-time system is defined as a data processing system in which the time interval required to
process and respond to inputs is so small that it controls the environment. The time taken by the
system to respond to an input and display of required updated information is termed as the
response time. So in this method, the response time is very less as compared to online
processing.
Real-time systems are used when there are rigid time requirements on the operation of a
processor or the flow of data and real-time systems can be used as a control device in a dedicated
application. A real-time operating system must have well-defined, fixed time constraints,
otherwise the system will fail. For example, Scientific experiments, medical imaging systems,
industrial control systems, weapon systems, robots, air traffic control systems, etc.
Design considerations
Designing a proper RTOS architecture needs some delicate decisions. The basic services like
process management, inter-process communication, interrupt handling, or process
synchronization have to be provided in an efficient manner making use of a very restricted
resource budget.
Multi-core architectures need special techniques for process management, memory management,
and synchronization. The upcoming Wireless Sensor Networks (WSN) generate special demands
for RTOS support leading to dedicated solutions. Another special area is given by multimedia
applications. Very high data rates have to be supported under (soft) RT constraints.
The key difference between general-computing operating systems and real-time operating
systems is the need for " deterministic " timing behavior in the real-time operating systems.
Formally, "deterministic" timing means that operating system services consume only known
and expected amounts of time. In theory, these service times could be expressed as mathematical
formulas. These formulas must be strictly algebraic and not include any random timing
components. Random elements in service times could cause random delays in application
software and could then make the application randomly miss real-time deadlines – a scenario
clearly unacceptable for a real-time embedded system. Many non-real-time operating systems
also provide similar kernel services.
DIFFERENCE: RTOS v/s General Purpose OS
Determinism - The key difference between general-computing operating systems and real-time
operating systems is the “deterministic " timing behavior in the real-time operating systems.
"Deterministic" timing means that OS consume only known and expected amounts of time.
RTOS have their worst case latency defined. Latency is not of a concern for General Purpose
OS.
Task Scheduling - General purpose operating systems are optimized to run a variety of
applications and processes simultaneously, thereby ensuring that all tasks receive at least some
processing time. As a consequence, low-priority tasks may have their priority boosted above
other higher priority tasks, which the designer may not want. However, RTOS uses priority-
based preemptive scheduling, which allows high-priority threads to meet their deadlines
consistently. All system calls are deterministic, implying time bounded operation for all
operations and ISRs. This is important for embedded systems where delay could cause a safety
hazard. The scheduling in RTOS is time based. In case of General purpose OS, like
Windows/Linux, scheduling is process based.
Preemptive kernel - In RTOS, all kernel operations are preemptible
Priority Inversion - RTOS have mechanisms to prevent priority inversion
Usage - RTOS are typically used for embedded applications, while General Purpose OS are used
for Desktop PCs or other generally purpose PCs.
RTOS CLASSFICATION
RTOS specifies a known maximum time for each of the operations that it performs. Based upon
the degree of tolerance in meeting deadlines, RTOS are classified into following categories
Hard real-time: Degree of tolerance for missed deadlines is negligible. A missed deadline can
result in catastrophic failure of the system
Firm real-time: Missing a deadly might result in an unacceptable quality reduction but may not
lead to failure of the complete system
Soft real-time: Deadlines may be missed occasionally, but system doesn’t fail and also, system
quality is acceptable
For a life saving device, automatic parachute opening device for skydivers, delay can be fatal.
Parachute opening device deploys the parachute at a specific altitude based on various
conditions. If it fails to respond in specified time, parachute may not get deployed at all leading
to casualty. Similar situation exists during inflation of air bags, used in cars, at the time of
accident. If airbags don’t get inflated at appropriate time, it may be fatal for a driver. So such
systems must be hard real time systems, whereas for TV live broadcast, delay can be acceptable.
In such cases, soft real time systems can be used.
Important terminologies used in context of real time systems
Determinism: An application is referred to as deterministic if its timing can be guaranteed within
a certain margin of error.
Jitter: Timing error of a task over subsequent iterations of a program or loop is referred to as
jitter. RTOS are optimized to minimize jitter.

More Related Content

Similar to There are many operating systemsReal-Time Operating SystemReal-t.pdf

Real Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsReal Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsAditya Vichare
 
pptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfpptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfJaganBehera8
 
REAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORK
REAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORKREAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORK
REAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORKcsijjournal
 
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
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 
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
 
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
 
Air traffic control
Air traffic controlAir traffic control
Air traffic controlRishu Seth
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systemskasi963
 
RTS Short Topics
RTS Short TopicsRTS Short Topics
RTS Short TopicsSilas Kanth
 
Real time operating system
Real time operating systemReal time operating system
Real time operating systemKhuram Shahzad
 
What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?IntervalZero
 
Real Time Software Design in Software Engineering SE13
Real Time Software Design in Software Engineering SE13Real Time Software Design in Software Engineering SE13
Real Time Software Design in Software Engineering SE13koolkampus
 

Similar to There are many operating systemsReal-Time Operating SystemReal-t.pdf (20)

Real Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsReal Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded Systems
 
pptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfpptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdf
 
REAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORK
REAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORKREAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORK
REAL-TIME SCHEDULING ALGORITHMS FOR WIRELESS SENSOR NETWORK
 
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)
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Embedded os
Embedded osEmbedded os
Embedded os
 
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 Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
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
 
Air traffic control
Air traffic controlAir traffic control
Air traffic control
 
Real timedata
Real timedataReal timedata
Real timedata
 
Ch15
Ch15Ch15
Ch15
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systems
 
RTS Short Topics
RTS Short TopicsRTS Short Topics
RTS Short Topics
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Unit v
Unit vUnit v
Unit v
 
What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?What is RTOS Step by Step Guide?
What is RTOS Step by Step Guide?
 
Real Time Software Design in Software Engineering SE13
Real Time Software Design in Software Engineering SE13Real Time Software Design in Software Engineering SE13
Real Time Software Design in Software Engineering SE13
 
Real time system
Real time systemReal time system
Real time system
 

More from ankitmobileshop235

- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf
- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf
- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdfankitmobileshop235
 
#includeiostream struct node {    char value;    struct no.pdf
#includeiostream struct node {    char value;    struct no.pdf#includeiostream struct node {    char value;    struct no.pdf
#includeiostream struct node {    char value;    struct no.pdfankitmobileshop235
 
Two sp3 orbitals are filled by lone electron pair.pdf
                     Two sp3 orbitals are filled by lone electron pair.pdf                     Two sp3 orbitals are filled by lone electron pair.pdf
Two sp3 orbitals are filled by lone electron pair.pdfankitmobileshop235
 
X-Intercept is the value of x where cross x axis. Another name is .pdf
X-Intercept is the value of x where cross x axis. Another name is .pdfX-Intercept is the value of x where cross x axis. Another name is .pdf
X-Intercept is the value of x where cross x axis. Another name is .pdfankitmobileshop235
 
whether or not the viruses is not used to classify viruses.Vir.pdf
whether or not the viruses is not used to classify viruses.Vir.pdfwhether or not the viruses is not used to classify viruses.Vir.pdf
whether or not the viruses is not used to classify viruses.Vir.pdfankitmobileshop235
 
Vi may be a powerful text editor enclosed with most UNIX systems, ev.pdf
Vi may be a powerful text editor enclosed with most UNIX systems, ev.pdfVi may be a powerful text editor enclosed with most UNIX systems, ev.pdf
Vi may be a powerful text editor enclosed with most UNIX systems, ev.pdfankitmobileshop235
 
U.S management is trained to provide the executives their own career.pdf
U.S management is trained to provide the executives their own career.pdfU.S management is trained to provide the executives their own career.pdf
U.S management is trained to provide the executives their own career.pdfankitmobileshop235
 
The three major forms of business organizations are1. Sole Propri.pdf
The three major forms of business organizations are1. Sole Propri.pdfThe three major forms of business organizations are1. Sole Propri.pdf
The three major forms of business organizations are1. Sole Propri.pdfankitmobileshop235
 
the OSI model is an idea. it is abstract it has no value without imp.pdf
the OSI model is an idea. it is abstract it has no value without imp.pdfthe OSI model is an idea. it is abstract it has no value without imp.pdf
the OSI model is an idea. it is abstract it has no value without imp.pdfankitmobileshop235
 
The EVA metric effectively measures the amount of shareholder wealth.pdf
The EVA metric effectively measures the amount of shareholder wealth.pdfThe EVA metric effectively measures the amount of shareholder wealth.pdf
The EVA metric effectively measures the amount of shareholder wealth.pdfankitmobileshop235
 
Reflection about the centre of the pentagon is not its symmetric and.pdf
Reflection about the centre of the pentagon is not its symmetric and.pdfReflection about the centre of the pentagon is not its symmetric and.pdf
Reflection about the centre of the pentagon is not its symmetric and.pdfankitmobileshop235
 
Question not visible. Please state again.SolutionQuestion not .pdf
Question not visible. Please state again.SolutionQuestion not .pdfQuestion not visible. Please state again.SolutionQuestion not .pdf
Question not visible. Please state again.SolutionQuestion not .pdfankitmobileshop235
 
Per my quiz, it was also D) formation of the carbocatio or bromonium.pdf
Per my quiz, it was also D) formation of the carbocatio or bromonium.pdfPer my quiz, it was also D) formation of the carbocatio or bromonium.pdf
Per my quiz, it was also D) formation of the carbocatio or bromonium.pdfankitmobileshop235
 
Part ATay-Sachs disease is an autosomal recessive disorder, so, o.pdf
Part ATay-Sachs disease is an autosomal recessive disorder, so, o.pdfPart ATay-Sachs disease is an autosomal recessive disorder, so, o.pdf
Part ATay-Sachs disease is an autosomal recessive disorder, so, o.pdfankitmobileshop235
 
null is a subset of every setTrueSolutionnull is a sub.pdf
null is a subset of every setTrueSolutionnull is a sub.pdfnull is a subset of every setTrueSolutionnull is a sub.pdf
null is a subset of every setTrueSolutionnull is a sub.pdfankitmobileshop235
 
Information is a valuable asset that can make or break your business.pdf
Information is a valuable asset that can make or break your business.pdfInformation is a valuable asset that can make or break your business.pdf
Information is a valuable asset that can make or break your business.pdfankitmobileshop235
 
Ho there is no relationship between the age of the individual and t.pdf
Ho there is no relationship between the age of the individual and t.pdfHo there is no relationship between the age of the individual and t.pdf
Ho there is no relationship between the age of the individual and t.pdfankitmobileshop235
 
H2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdf
H2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdfH2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdf
H2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdfankitmobileshop235
 
First of all we shoud understand what is HIV AIDSHIV AIDS is .pdf
First of all we shoud understand what is HIV  AIDSHIV  AIDS is .pdfFirst of all we shoud understand what is HIV  AIDSHIV  AIDS is .pdf
First of all we shoud understand what is HIV AIDSHIV AIDS is .pdfankitmobileshop235
 

More from ankitmobileshop235 (20)

- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf
- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf
- You have to overcome the ionic forces of the CsI, the hydrogen bon.pdf
 
#includeiostream struct node {    char value;    struct no.pdf
#includeiostream struct node {    char value;    struct no.pdf#includeiostream struct node {    char value;    struct no.pdf
#includeiostream struct node {    char value;    struct no.pdf
 
Two sp3 orbitals are filled by lone electron pair.pdf
                     Two sp3 orbitals are filled by lone electron pair.pdf                     Two sp3 orbitals are filled by lone electron pair.pdf
Two sp3 orbitals are filled by lone electron pair.pdf
 
X-Intercept is the value of x where cross x axis. Another name is .pdf
X-Intercept is the value of x where cross x axis. Another name is .pdfX-Intercept is the value of x where cross x axis. Another name is .pdf
X-Intercept is the value of x where cross x axis. Another name is .pdf
 
whether or not the viruses is not used to classify viruses.Vir.pdf
whether or not the viruses is not used to classify viruses.Vir.pdfwhether or not the viruses is not used to classify viruses.Vir.pdf
whether or not the viruses is not used to classify viruses.Vir.pdf
 
Vi may be a powerful text editor enclosed with most UNIX systems, ev.pdf
Vi may be a powerful text editor enclosed with most UNIX systems, ev.pdfVi may be a powerful text editor enclosed with most UNIX systems, ev.pdf
Vi may be a powerful text editor enclosed with most UNIX systems, ev.pdf
 
U.S management is trained to provide the executives their own career.pdf
U.S management is trained to provide the executives their own career.pdfU.S management is trained to provide the executives their own career.pdf
U.S management is trained to provide the executives their own career.pdf
 
The three major forms of business organizations are1. Sole Propri.pdf
The three major forms of business organizations are1. Sole Propri.pdfThe three major forms of business organizations are1. Sole Propri.pdf
The three major forms of business organizations are1. Sole Propri.pdf
 
the OSI model is an idea. it is abstract it has no value without imp.pdf
the OSI model is an idea. it is abstract it has no value without imp.pdfthe OSI model is an idea. it is abstract it has no value without imp.pdf
the OSI model is an idea. it is abstract it has no value without imp.pdf
 
The EVA metric effectively measures the amount of shareholder wealth.pdf
The EVA metric effectively measures the amount of shareholder wealth.pdfThe EVA metric effectively measures the amount of shareholder wealth.pdf
The EVA metric effectively measures the amount of shareholder wealth.pdf
 
Reflection about the centre of the pentagon is not its symmetric and.pdf
Reflection about the centre of the pentagon is not its symmetric and.pdfReflection about the centre of the pentagon is not its symmetric and.pdf
Reflection about the centre of the pentagon is not its symmetric and.pdf
 
Question not visible. Please state again.SolutionQuestion not .pdf
Question not visible. Please state again.SolutionQuestion not .pdfQuestion not visible. Please state again.SolutionQuestion not .pdf
Question not visible. Please state again.SolutionQuestion not .pdf
 
Per my quiz, it was also D) formation of the carbocatio or bromonium.pdf
Per my quiz, it was also D) formation of the carbocatio or bromonium.pdfPer my quiz, it was also D) formation of the carbocatio or bromonium.pdf
Per my quiz, it was also D) formation of the carbocatio or bromonium.pdf
 
Part ATay-Sachs disease is an autosomal recessive disorder, so, o.pdf
Part ATay-Sachs disease is an autosomal recessive disorder, so, o.pdfPart ATay-Sachs disease is an autosomal recessive disorder, so, o.pdf
Part ATay-Sachs disease is an autosomal recessive disorder, so, o.pdf
 
null is a subset of every setTrueSolutionnull is a sub.pdf
null is a subset of every setTrueSolutionnull is a sub.pdfnull is a subset of every setTrueSolutionnull is a sub.pdf
null is a subset of every setTrueSolutionnull is a sub.pdf
 
LiOH Sol.pdf
                     LiOH                                      Sol.pdf                     LiOH                                      Sol.pdf
LiOH Sol.pdf
 
Information is a valuable asset that can make or break your business.pdf
Information is a valuable asset that can make or break your business.pdfInformation is a valuable asset that can make or break your business.pdf
Information is a valuable asset that can make or break your business.pdf
 
Ho there is no relationship between the age of the individual and t.pdf
Ho there is no relationship between the age of the individual and t.pdfHo there is no relationship between the age of the individual and t.pdf
Ho there is no relationship between the age of the individual and t.pdf
 
H2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdf
H2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdfH2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdf
H2SO3 - H2O = SO2The oxide is sulfur dioxide SO2SolutionH2.pdf
 
First of all we shoud understand what is HIV AIDSHIV AIDS is .pdf
First of all we shoud understand what is HIV  AIDSHIV  AIDS is .pdfFirst of all we shoud understand what is HIV  AIDSHIV  AIDS is .pdf
First of all we shoud understand what is HIV AIDSHIV AIDS is .pdf
 

Recently uploaded

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 

There are many operating systemsReal-Time Operating SystemReal-t.pdf

  • 1. There are many operating systems Real-Time Operating System Real-time applications usually are executed on top of a Real-time Operating System (RTOS). Specific scheduling algorithms can be designed. When possible, static cyclic schedules are calculated off-line. Real-time systems are 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. RTOS is therefore an operating system that supports real-time applications by providing logically correct result within the deadline required. Basic Structure is similar to regular OS but, in addition, it provides mechanisms to allow real time scheduling of tasks. Though real-time operating systems may or may not increase the speed of execution, they can provide much more precise and predictable timing characteristics than general-purpose OS. A real-time system is defined as a data processing system in which the time interval required to process and respond to inputs is so small that it controls the environment. The time taken by the system to respond to an input and display of required updated information is termed as the response time. So in this method, the response time is very less as compared to online processing. Real-time systems are used when there are rigid time requirements on the operation of a processor or the flow of data and real-time systems can be used as a control device in a dedicated application. A real-time operating system must have well-defined, fixed time constraints, otherwise the system will fail. For example, Scientific experiments, medical imaging systems, industrial control systems, weapon systems, robots, air traffic control systems, etc. Design considerations Designing a proper RTOS architecture needs some delicate decisions. The basic services like process management, inter-process communication, interrupt handling, or process synchronization have to be provided in an efficient manner making use of a very restricted resource budget. Multi-core architectures need special techniques for process management, memory management, and synchronization. The upcoming Wireless Sensor Networks (WSN) generate special demands for RTOS support leading to dedicated solutions. Another special area is given by multimedia applications. Very high data rates have to be supported under (soft) RT constraints. The key difference between general-computing operating systems and real-time operating systems is the need for " deterministic " timing behavior in the real-time operating systems. Formally, "deterministic" timing means that operating system services consume only known and expected amounts of time. In theory, these service times could be expressed as mathematical
  • 2. formulas. These formulas must be strictly algebraic and not include any random timing components. Random elements in service times could cause random delays in application software and could then make the application randomly miss real-time deadlines – a scenario clearly unacceptable for a real-time embedded system. Many non-real-time operating systems also provide similar kernel services. DIFFERENCE: RTOS v/s General Purpose OS Determinism - The key difference between general-computing operating systems and real-time operating systems is the “deterministic " timing behavior in the real-time operating systems. "Deterministic" timing means that OS consume only known and expected amounts of time. RTOS have their worst case latency defined. Latency is not of a concern for General Purpose OS. Task Scheduling - General purpose operating systems are optimized to run a variety of applications and processes simultaneously, thereby ensuring that all tasks receive at least some processing time. As a consequence, low-priority tasks may have their priority boosted above other higher priority tasks, which the designer may not want. However, RTOS uses priority- based preemptive scheduling, which allows high-priority threads to meet their deadlines consistently. All system calls are deterministic, implying time bounded operation for all operations and ISRs. This is important for embedded systems where delay could cause a safety hazard. The scheduling in RTOS is time based. In case of General purpose OS, like Windows/Linux, scheduling is process based. Preemptive kernel - In RTOS, all kernel operations are preemptible Priority Inversion - RTOS have mechanisms to prevent priority inversion Usage - RTOS are typically used for embedded applications, while General Purpose OS are used for Desktop PCs or other generally purpose PCs. RTOS CLASSFICATION RTOS specifies a known maximum time for each of the operations that it performs. Based upon the degree of tolerance in meeting deadlines, RTOS are classified into following categories Hard real-time: Degree of tolerance for missed deadlines is negligible. A missed deadline can result in catastrophic failure of the system Firm real-time: Missing a deadly might result in an unacceptable quality reduction but may not lead to failure of the complete system Soft real-time: Deadlines may be missed occasionally, but system doesn’t fail and also, system quality is acceptable For a life saving device, automatic parachute opening device for skydivers, delay can be fatal. Parachute opening device deploys the parachute at a specific altitude based on various conditions. If it fails to respond in specified time, parachute may not get deployed at all leading
  • 3. to casualty. Similar situation exists during inflation of air bags, used in cars, at the time of accident. If airbags don’t get inflated at appropriate time, it may be fatal for a driver. So such systems must be hard real time systems, whereas for TV live broadcast, delay can be acceptable. In such cases, soft real time systems can be used. Important terminologies used in context of real time systems Determinism: An application is referred to as deterministic if its timing can be guaranteed within a certain margin of error. Jitter: Timing error of a task over subsequent iterations of a program or loop is referred to as jitter. RTOS are optimized to minimize jitter. Solution There are many operating systems Real-Time Operating System Real-time applications usually are executed on top of a Real-time Operating System (RTOS). Specific scheduling algorithms can be designed. When possible, static cyclic schedules are calculated off-line. Real-time systems are 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. RTOS is therefore an operating system that supports real-time applications by providing logically correct result within the deadline required. Basic Structure is similar to regular OS but, in addition, it provides mechanisms to allow real time scheduling of tasks. Though real-time operating systems may or may not increase the speed of execution, they can provide much more precise and predictable timing characteristics than general-purpose OS. A real-time system is defined as a data processing system in which the time interval required to process and respond to inputs is so small that it controls the environment. The time taken by the system to respond to an input and display of required updated information is termed as the response time. So in this method, the response time is very less as compared to online processing. Real-time systems are used when there are rigid time requirements on the operation of a processor or the flow of data and real-time systems can be used as a control device in a dedicated application. A real-time operating system must have well-defined, fixed time constraints, otherwise the system will fail. For example, Scientific experiments, medical imaging systems, industrial control systems, weapon systems, robots, air traffic control systems, etc. Design considerations
  • 4. Designing a proper RTOS architecture needs some delicate decisions. The basic services like process management, inter-process communication, interrupt handling, or process synchronization have to be provided in an efficient manner making use of a very restricted resource budget. Multi-core architectures need special techniques for process management, memory management, and synchronization. The upcoming Wireless Sensor Networks (WSN) generate special demands for RTOS support leading to dedicated solutions. Another special area is given by multimedia applications. Very high data rates have to be supported under (soft) RT constraints. The key difference between general-computing operating systems and real-time operating systems is the need for " deterministic " timing behavior in the real-time operating systems. Formally, "deterministic" timing means that operating system services consume only known and expected amounts of time. In theory, these service times could be expressed as mathematical formulas. These formulas must be strictly algebraic and not include any random timing components. Random elements in service times could cause random delays in application software and could then make the application randomly miss real-time deadlines – a scenario clearly unacceptable for a real-time embedded system. Many non-real-time operating systems also provide similar kernel services. DIFFERENCE: RTOS v/s General Purpose OS Determinism - The key difference between general-computing operating systems and real-time operating systems is the “deterministic " timing behavior in the real-time operating systems. "Deterministic" timing means that OS consume only known and expected amounts of time. RTOS have their worst case latency defined. Latency is not of a concern for General Purpose OS. Task Scheduling - General purpose operating systems are optimized to run a variety of applications and processes simultaneously, thereby ensuring that all tasks receive at least some processing time. As a consequence, low-priority tasks may have their priority boosted above other higher priority tasks, which the designer may not want. However, RTOS uses priority- based preemptive scheduling, which allows high-priority threads to meet their deadlines consistently. All system calls are deterministic, implying time bounded operation for all operations and ISRs. This is important for embedded systems where delay could cause a safety hazard. The scheduling in RTOS is time based. In case of General purpose OS, like Windows/Linux, scheduling is process based. Preemptive kernel - In RTOS, all kernel operations are preemptible Priority Inversion - RTOS have mechanisms to prevent priority inversion Usage - RTOS are typically used for embedded applications, while General Purpose OS are used for Desktop PCs or other generally purpose PCs.
  • 5. RTOS CLASSFICATION RTOS specifies a known maximum time for each of the operations that it performs. Based upon the degree of tolerance in meeting deadlines, RTOS are classified into following categories Hard real-time: Degree of tolerance for missed deadlines is negligible. A missed deadline can result in catastrophic failure of the system Firm real-time: Missing a deadly might result in an unacceptable quality reduction but may not lead to failure of the complete system Soft real-time: Deadlines may be missed occasionally, but system doesn’t fail and also, system quality is acceptable For a life saving device, automatic parachute opening device for skydivers, delay can be fatal. Parachute opening device deploys the parachute at a specific altitude based on various conditions. If it fails to respond in specified time, parachute may not get deployed at all leading to casualty. Similar situation exists during inflation of air bags, used in cars, at the time of accident. If airbags don’t get inflated at appropriate time, it may be fatal for a driver. So such systems must be hard real time systems, whereas for TV live broadcast, delay can be acceptable. In such cases, soft real time systems can be used. Important terminologies used in context of real time systems Determinism: An application is referred to as deterministic if its timing can be guaranteed within a certain margin of error. Jitter: Timing error of a task over subsequent iterations of a program or loop is referred to as jitter. RTOS are optimized to minimize jitter.