SlideShare a Scribd company logo
What is Operating System :




An Operating System sis an important part of almost every computer system. The Operating
System Controls and coordinates the use of the hardware among the various application
programs for the varous users.
Some Core functional Some core functional similarities between a typical RTOS and
GPOS(General Purpose Operating System) include:

       some level of multitasking,
       software and hardware resource management,
       provision of underlying OS services to applications, and
       abstracting the hardware from the software application



On the other hand, some key functional differences that set RTOSes apart from GPOSes
include:

     better reliability in embedded application contexts,
     the ability to scale up or down to meet application needs,
     faster performance,
     reduced memory requirements,
     scheduling policies tailored for real-time embedded systems,
     support for diskless embedded systems by allowing executables to boot and run from
ROM or RAM, and
     better portability to different hardware platforms.
Real Time Operating System

The RTOS should have predictable behavior to unpredictable external
events. “A good RTOS is one that has a bounded (predictable) behavior
under all system load scenario i.e. even under simultaneous interrupts and
thread execution.”

 A real-time operating system (RTOS) is a multi-tasking operating system intended for real-time
application.

These operating systems occupy little space from 10 KB to 100KB as
compared to the General Operating systems which take hundreds of
megabytes.

Basic Requirements of an RTOS

Multi-Tasking and preemptable :- The scheduler should be able to preempt any
task in the system and give the resource to the task that needs it most. An RTOS
should also handle multiple levels of interrupts to handle multiple priority levels.

Dynamic Deadline Identification :- In order to achieve preemption, an RTOS
should be able to dynamically identify the task with the earliest deadline. To
handle deadlines, deadline information may be converted to priority levels that are
used for resource allocation.

Sufficient Priority Levels :- The scheduler makes the priority of the accessing task
equal to that of the resource. After a task releases a resource, its priority is
returned to its original value.


Memory Management

An RTOS uses small memory size by including only the necessary functionality
for an application while discarding the rest. Below we discuss static and dynamic
memory management in RTOSs.


Static Memory Management :-

Dynamic Memory Management :-
An RTOS will typically use specialized scheduling algorithms inorder to provide the real-time
developer with the tools necessaryto produce deterministic behavior in the final system

The are two Basic Design exist:

Event Driven (Priority Scheduling):
The static priority : A task is given a priority at the time it iscreated, and it keeps this priority
during the whole lifetime. The scheduler is very simple, because it looks at all wait queues at
each priority level, and starts the task with the highest priorityto run.

Dynamic priority:
The scheduler becomes more complex becauseit has to calculate task’s priority on-line, based
on dynamically changing parameters.

         Earliest-deadline-first (EDF) A task with a closer deadline gets a higher scheduling
priority.
         Rate-monotonic scheduling : A task gets a higher priorityif it has to run more
frequently. This is a common approachin case that all tasks are periodic. So, a task that has to
runevery n milliseconds gets a higher priority than a taskthat runs every m milliseconds when
n<m


Program counter assignments (switch) at different times, when the on the scheduler calls the o
tasks from the list one by one in the circular queue from the list.
Cyclic Scheduling model in tasks scheduling

The first three tasks among N tasks in washing machine tasking scheduling




Cooperative Priority based scheduling of the ISRs executing in the first layer and Priority based
ready tasks at an ordered list executing in the second layer
Real Time Operating System



Real Time Operating System

A real-time operating system (RTOS) is a program that schedules execution in a timely manner,
manages system resources, and provides a consistent foundation for developing application
code.




An embedded system with a single CPU can run only one process at an instance.
Provides running the user threads in kernel space so that they execute fast.Provides effective
handling of the ISRs, device drivers, ISTs, tasks or threads

Provides memory allocation and deallocation functions in fixed time and blocks of memory.

Provides for effectively scheduling and running and blocking of the tasks in cases of number of
many tasks




Conclusion

RTOS is an OS for effective real time scheduling of the concurrent processes
Real Time Operating Systems

RTOSes are best suited for real-time, application-specific embedded systems; GPOSes

are typically used for general-purpose systems

More Related Content

PPT
Real time os(suga)
PPTX
Real time operating system
PPT
Real time operating system
PPT
presentation on real time operating system(RTOS's)
PDF
Real time operating system
PPTX
RTOS- Real Time Operating Systems
PPTX
Real Time Operating Systems
PPT
Real Time Operating System
Real time os(suga)
Real time operating system
Real time operating system
presentation on real time operating system(RTOS's)
Real time operating system
RTOS- Real Time Operating Systems
Real Time Operating Systems
Real Time Operating System

What's hot (20)

PPTX
Rtos concepts
PPTX
Real time operating systems (rtos) concepts 9
PPTX
Real Time Operating Systems
PPT
Real Time Operating Systems
DOC
Real time operating-systems
PPT
Introduction to Real-Time Operating Systems
PPT
PPT
Real-Time Operating Systems
PPT
Rtos Concepts
PPTX
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
PDF
Rtos part2
PPTX
Os unit 3 , process management
PPTX
REAL TIME OPERATING SYSTEM
PPT
Real Time Systems &amp; RTOS
PPTX
Real Time Operating System
PPT
Os Concepts
PPT
Chapter 2 (Part 2)
PPTX
Process in operating system
PPT
Operating System
Rtos concepts
Real time operating systems (rtos) concepts 9
Real Time Operating Systems
Real Time Operating Systems
Real time operating-systems
Introduction to Real-Time Operating Systems
Real-Time Operating Systems
Rtos Concepts
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
Rtos part2
Os unit 3 , process management
REAL TIME OPERATING SYSTEM
Real Time Systems &amp; RTOS
Real Time Operating System
Os Concepts
Chapter 2 (Part 2)
Process in operating system
Operating System
Ad

Viewers also liked (6)

DOCX
Exp amplitude modulation (7)
PDF
Developing your teaching online
PPT
7.Cne040608010038 Bts3812 E系统概述 Issue 1.0
PPTX
Racism and.....
PPTX
Startup scenes across asia
Exp amplitude modulation (7)
Developing your teaching online
7.Cne040608010038 Bts3812 E系统概述 Issue 1.0
Racism and.....
Startup scenes across asia
Ad

Similar to What is operating system (20)

PDF
Welcome to International Journal of Engineering Research and Development (IJERD)
PPTX
Embedded os
PPT
21-Classification of Real time system-12-02-2025.ppt
PPTX
Real Time Operating Systems for Embedded Systems
PPTX
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
PPT
Real-Time Operating Systems Real-Time Operating Systems RTOS .ppt
PDF
pptonrtosbychetan001-140213003314-phpapp02.pdf
PPTX
OVERVIEW OF RTOS
PPTX
TOS based Embedded system design and development
PPTX
PART-1 : Mastering RTOS FreeRTOS and STM32Fx with Debugging
PDF
PPTX
Entreprenuership notes module 3 notes.pptx
PPTX
Real Time OS For Embedded Systems
PDF
RTOS.pdf
PPTX
tasks (mutenga) (1).pptx
PPT
Real Time Operating system (RTOS) - Embedded systems
PPTX
RTOS_Basic_Concepts_Detailed_Presentation.pptx
PPTX
Real time Operating System
PPTX
Real time system basic concept
Welcome to International Journal of Engineering Research and Development (IJERD)
Embedded os
21-Classification of Real time system-12-02-2025.ppt
Real Time Operating Systems for Embedded Systems
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
Real-Time Operating Systems Real-Time Operating Systems RTOS .ppt
pptonrtosbychetan001-140213003314-phpapp02.pdf
OVERVIEW OF RTOS
TOS based Embedded system design and development
PART-1 : Mastering RTOS FreeRTOS and STM32Fx with Debugging
Entreprenuership notes module 3 notes.pptx
Real Time OS For Embedded Systems
RTOS.pdf
tasks (mutenga) (1).pptx
Real Time Operating system (RTOS) - Embedded systems
RTOS_Basic_Concepts_Detailed_Presentation.pptx
Real time Operating System
Real time system basic concept

Recently uploaded (20)

PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Complications of Minimal Access Surgery at WLH
PDF
Computing-Curriculum for Schools in Ghana
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
01-Introduction-to-Information-Management.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Pre independence Education in Inndia.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
GDM (1) (1).pptx small presentation for students
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Lesson notes of climatology university.
Anesthesia in Laparoscopic Surgery in India
Complications of Minimal Access Surgery at WLH
Computing-Curriculum for Schools in Ghana
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
01-Introduction-to-Information-Management.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
TR - Agricultural Crops Production NC III.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Supply Chain Operations Speaking Notes -ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Microbial disease of the cardiovascular and lymphatic systems
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pre independence Education in Inndia.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Classroom Observation Tools for Teachers
GDM (1) (1).pptx small presentation for students
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Lesson notes of climatology university.

What is operating system

  • 1. What is Operating System : An Operating System sis an important part of almost every computer system. The Operating System Controls and coordinates the use of the hardware among the various application programs for the varous users.
  • 2. Some Core functional Some core functional similarities between a typical RTOS and GPOS(General Purpose Operating System) include: some level of multitasking, software and hardware resource management, provision of underlying OS services to applications, and abstracting the hardware from the software application On the other hand, some key functional differences that set RTOSes apart from GPOSes include: better reliability in embedded application contexts, the ability to scale up or down to meet application needs, faster performance, reduced memory requirements, scheduling policies tailored for real-time embedded systems, support for diskless embedded systems by allowing executables to boot and run from ROM or RAM, and better portability to different hardware platforms.
  • 3. Real Time Operating System The RTOS should have predictable behavior to unpredictable external events. “A good RTOS is one that has a bounded (predictable) behavior under all system load scenario i.e. even under simultaneous interrupts and thread execution.” A real-time operating system (RTOS) is a multi-tasking operating system intended for real-time application. These operating systems occupy little space from 10 KB to 100KB as compared to the General Operating systems which take hundreds of megabytes. Basic Requirements of an RTOS Multi-Tasking and preemptable :- The scheduler should be able to preempt any task in the system and give the resource to the task that needs it most. An RTOS should also handle multiple levels of interrupts to handle multiple priority levels. Dynamic Deadline Identification :- In order to achieve preemption, an RTOS should be able to dynamically identify the task with the earliest deadline. To handle deadlines, deadline information may be converted to priority levels that are used for resource allocation. Sufficient Priority Levels :- The scheduler makes the priority of the accessing task equal to that of the resource. After a task releases a resource, its priority is returned to its original value. Memory Management An RTOS uses small memory size by including only the necessary functionality for an application while discarding the rest. Below we discuss static and dynamic memory management in RTOSs. Static Memory Management :- Dynamic Memory Management :-
  • 4. An RTOS will typically use specialized scheduling algorithms inorder to provide the real-time developer with the tools necessaryto produce deterministic behavior in the final system The are two Basic Design exist: Event Driven (Priority Scheduling): The static priority : A task is given a priority at the time it iscreated, and it keeps this priority during the whole lifetime. The scheduler is very simple, because it looks at all wait queues at each priority level, and starts the task with the highest priorityto run. Dynamic priority: The scheduler becomes more complex becauseit has to calculate task’s priority on-line, based on dynamically changing parameters. Earliest-deadline-first (EDF) A task with a closer deadline gets a higher scheduling priority. Rate-monotonic scheduling : A task gets a higher priorityif it has to run more frequently. This is a common approachin case that all tasks are periodic. So, a task that has to runevery n milliseconds gets a higher priority than a taskthat runs every m milliseconds when n<m Program counter assignments (switch) at different times, when the on the scheduler calls the o tasks from the list one by one in the circular queue from the list.
  • 5. Cyclic Scheduling model in tasks scheduling The first three tasks among N tasks in washing machine tasking scheduling Cooperative Priority based scheduling of the ISRs executing in the first layer and Priority based ready tasks at an ordered list executing in the second layer
  • 6. Real Time Operating System Real Time Operating System A real-time operating system (RTOS) is a program that schedules execution in a timely manner, manages system resources, and provides a consistent foundation for developing application code. An embedded system with a single CPU can run only one process at an instance. Provides running the user threads in kernel space so that they execute fast.Provides effective handling of the ISRs, device drivers, ISTs, tasks or threads Provides memory allocation and deallocation functions in fixed time and blocks of memory. Provides for effectively scheduling and running and blocking of the tasks in cases of number of many tasks Conclusion RTOS is an OS for effective real time scheduling of the concurrent processes
  • 7. Real Time Operating Systems RTOSes are best suited for real-time, application-specific embedded systems; GPOSes are typically used for general-purpose systems