Real-time operating system
Real-time operating system
The Scheduler: This component of RTOS tells that in which order, the tasks can
be executed which is generally based on the priority.
Fast dispatch latency: It is an interval between the termination of the task that
can be identified by the OS and the actual time taken by the thread, which is in
the ready queue, that has started processing.
Soft Real time RTOS, accepts some delays by the Operating system. In this
type of RTOS, there is a deadline assigned for a specific job, but a delay for
a small amount of time is acceptable. So, deadlines are handled softly by
this type of RTOS.
● 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.
Terms used in RTOS
● Deadline of a job: It’s time by which a job should finish its execution.
● Processors: They are also known as active resources. They are important
for the execution of a job.
● 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.
Features of RTOS
Here, are essential factors that you need to consider for selecting RTOS:
It used for desktop PC and laptop. It is only applied to the embedded application.
Interrupt latency is not considered as important as in Interrupt lag is minimal, which is measured in a few
RTOS. microseconds.
No priority inversion mechanism is present in the The priority inversion mechanism is current. So it can
system. not modify by the system.
Kernel’s operation may or may not be preempted. Kernel’s operation can be preempted.
● RTOS system can run minimal tasks together, and it concentrates only on
those applications which contain an error so that it can avoid them.
● RTOS is the system that concentrates on a few tasks. Therefore, it is really
hard for these systems to do multi-tasking.
● Specific drivers are required for the RTOS so that it can offer fast response
time to interrupt signals, which helps to maintain its speed.
● Plenty of resources are used by RTOS, which makes this system
expensive.
● The tasks which have a low priority need to wait for a long time as the
RTOS maintains the accuracy of the program, which are under execution.
● Minimum switching of tasks is done in Real time operating systems.
● It uses complex algorithms which is difficult to understand.
● RTOS uses lot of resources, which sometimes not suitable for the system.
Summary
Here, are drawbacks/cons of using RTOS system:
● RTOS system can run minimal tasks together, and it concentrates only on
those applications which contain an error so that it can avoid them.
● RTOS is the system that concentrates on a few tasks. Therefore, it is
really hard for these systems to do multi-tasking.
● Specific drivers are required for the RTOS so that it can offer fast
response time to interrupt signals, which helps to maintain its speed.
● Plenty of resources are used by RTOS, which makes this system
expensive.
● The tasks which have a low priority need to wait for a long time as the
RTOS maintains the accuracy of the program, which are under execution.
● Minimum switching of tasks is done in Real time operating systems.
● It uses complex algorithms which is difficult to understand.
● RTOS uses lot of resources, which sometimes not suitable for the system.