SlideShare a Scribd company logo
1 of 7
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

What's hot

Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
Real time operating systems (rtos) concepts 9
Real time operating systems (rtos) concepts 9Real time operating systems (rtos) concepts 9
Real time operating systems (rtos) concepts 9Abu Bakr Ramadan
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating SystemsPawandeep Kaur
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating SystemsAshwani Garg
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systemskasi963
 
Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systemscoolmirza143
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSINTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSJOLLUSUDARSHANREDDY
 
Os unit 3 , process management
Os unit 3 , process managementOs unit 3 , process management
Os unit 3 , process managementArnav Chowdhury
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMprakrutijsh
 
Real Time Systems &amp; RTOS
Real Time Systems &amp; RTOSReal Time Systems &amp; RTOS
Real Time Systems &amp; RTOSVishwa Mohan
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating SystemSharad Pandey
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2) rohassanie
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating systemChetan Mahawar
 

What's hot (20)

Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
Real time operating systems (rtos) concepts 9
Real time operating systems (rtos) concepts 9Real time operating systems (rtos) concepts 9
Real time operating systems (rtos) concepts 9
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systems
 
Introduction to Real-Time Operating Systems
Introduction to Real-Time Operating SystemsIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systems
 
RTOS
RTOSRTOS
RTOS
 
Real-Time Operating Systems
Real-Time Operating SystemsReal-Time Operating Systems
Real-Time Operating Systems
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSINTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
 
Rtos part2
Rtos part2Rtos part2
Rtos part2
 
Os unit 3 , process management
Os unit 3 , process managementOs unit 3 , process management
Os unit 3 , process management
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEM
 
Real Time Systems &amp; RTOS
Real Time Systems &amp; RTOSReal Time Systems &amp; RTOS
Real Time Systems &amp; RTOS
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Os Concepts
Os ConceptsOs Concepts
Os Concepts
 
Process of operating system
Process of operating systemProcess of operating system
Process of operating system
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
 
Operating System
Operating SystemOperating System
Operating System
 

Viewers also liked

Exp amplitude modulation (7)
Exp amplitude modulation (7)Exp amplitude modulation (7)
Exp amplitude modulation (7)Sarah Krystelle
 
Developing your teaching online
Developing your teaching onlineDeveloping your teaching online
Developing your teaching onlineNik Peachey
 
7.Cne040608010038 Bts3812 E系统概述 Issue 1.0
7.Cne040608010038 Bts3812 E系统概述 Issue 1.07.Cne040608010038 Bts3812 E系统概述 Issue 1.0
7.Cne040608010038 Bts3812 E系统概述 Issue 1.0Atif Mahmood
 
Startup scenes across asia
Startup scenes across asiaStartup scenes across asia
Startup scenes across asiaTech in Asia
 

Viewers also liked (6)

3g
3g3g
3g
 
Exp amplitude modulation (7)
Exp amplitude modulation (7)Exp amplitude modulation (7)
Exp amplitude modulation (7)
 
Developing your teaching online
Developing your teaching onlineDeveloping your teaching online
Developing your teaching online
 
7.Cne040608010038 Bts3812 E系统概述 Issue 1.0
7.Cne040608010038 Bts3812 E系统概述 Issue 1.07.Cne040608010038 Bts3812 E系统概述 Issue 1.0
7.Cne040608010038 Bts3812 E系统概述 Issue 1.0
 
Racism and.....
Racism and.....Racism and.....
Racism and.....
 
Startup scenes across asia
Startup scenes across asiaStartup scenes across asia
Startup scenes across asia
 

Similar to What is operating system

Rts assighment final
Rts assighment finalRts assighment final
Rts assighment finalsayanpandit
 
pptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfpptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfJaganBehera8
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsHariharan Ganesan
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic conceptMOUMITA GHOSH
 
Operating systems
Operating systemsOperating systems
Operating systemsanishgoel
 
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 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
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system softwareJamia Hamdard
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...SattiBabu16
 
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
 
UNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsUNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsDr.YNM
 
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
 
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
 
Operating system Concepts
Operating system Concepts Operating system Concepts
Operating system Concepts RANVIJAY GAUR
 

Similar to What is operating system (20)

Unit v
Unit vUnit v
Unit v
 
Rts assighment final
Rts assighment finalRts assighment final
Rts assighment final
 
pptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdfpptonrtosbychetan001-140213003314-phpapp02.pdf
pptonrtosbychetan001-140213003314-phpapp02.pdf
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
 
Embedded os
Embedded osEmbedded os
Embedded os
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic concept
 
Operating systems
Operating systemsOperating systems
Operating systems
 
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 Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsReal Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded Systems
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...
 
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
 
Operating system
Operating systemOperating system
Operating system
 
Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0Linux Internals - Interview essentials 4.0
Linux Internals - Interview essentials 4.0
 
UNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsUNIT-I-RTOS and Concepts
UNIT-I-RTOS and Concepts
 
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
 
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?
 
Operating system Concepts
Operating system Concepts Operating system Concepts
Operating system Concepts
 

Recently uploaded

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Recently uploaded (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

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