SlideShare a Scribd company logo
Introduction toIntroduction to
Operating systemsOperating systems & RTOS& RTOS
Prologue …
A computer is a complex system with many
resources like CPU, I/O devices, disk, memory
etc… For any common user it is always a
confusion about the using of the resources
effectively. Because, unless otherwise the system
is user-friendly, the user cannot use the
computers effectively.
So we always require a system software which
can take care of all the hardware complexities
and shoulder the responsibility of resource
allocation such that the user can work with the
computer more effectively. This was realised by
the people very long back and they tried to
develop a software to shield the programmers
from the complexity of the hardware.
The result is, a layer of software on the top of
the hardware, to manage all parts of the
system and present the user with an interface
or “Virtual machine” that is easier to
understand the program. This layer of the
software has become our so-called
OPERATING SYSTEM.
Now Lets answer the questionNow Lets answer the question
What is an Operating System?What is an Operating System?
A more formal definition!A more formal definition!
OS is “A collection of software modules to
assist programmers in enhancing the system
efficiency , flexibility and robustness.
Or
“Operating system is a piece of software
which controls all the computer’s resources
and provides the base upon which the
application programs can be written”
From the user point of view
OS is “ An extended machine (virtual)”
and
From the systems view point
“It is a resource manager”.
So,Where your OS sits in your System?So,Where your OS sits in your System?
compilers
databases
word
processors
CPU
memory
I/O devices
Evolution of OSEvolution of OS
 Actually Prof.E.W.Dijsktra is considered as theActually Prof.E.W.Dijsktra is considered as the
father offather of Operating system.Operating system.
OS ComponentsOS Components
 Kernel: Core components of the OSKernel: Core components of the OS
 Process scheduler :Process scheduler :
 Determines when and for long each process executesDetermines when and for long each process executes
 Memory manager :Memory manager :
 Determines when and how memory is allocated to processesDetermines when and how memory is allocated to processes
 Decides what to do when main memory is fullDecides what to do when main memory is full
 File system :File system :
 Organizes named collections of data in persistent storageOrganizes named collections of data in persistent storage
 Networking :Networking :
 Enables processes to communicate with one anotherEnables processes to communicate with one another
The primary functions of anThe primary functions of an
operating systemoperating system
 Multiplexing the processor(s)Multiplexing the processor(s)
 Scheduling the processesScheduling the processes
 Coordinating interaction among processes,interprocessCoordinating interaction among processes,interprocess
communication and Synchronization.communication and Synchronization.
 Managing the system resources(I/O,memory,data files)Managing the system resources(I/O,memory,data files)
 Enforcing acess control and protectionEnforcing acess control and protection
 Maintaining the system integrity and performing errorMaintaining the system integrity and performing error
recoveryrecovery
 Providing an interface to the usersProviding an interface to the users
TYPES OF OPERATING SYSTEMSTYPES OF OPERATING SYSTEMS
There are three types of Operating systems basedThere are three types of Operating systems based
on their applicationon their application
• Stand-Alone Operating systemStand-Alone Operating system
• Network Operating systemsNetwork Operating systems
• Embedded Operating systemsEmbedded Operating systems
Stand-Alone Operating systemStand-Alone Operating system
 It is a complete operating system that worksIt is a complete operating system that works
on a desktop or notebook computer.on a desktop or notebook computer.
Examples of stand-alone operating systems are:Examples of stand-alone operating systems are:
 DOSDOS
 Windows 2000 professionalWindows 2000 professional
 Mac OS XMac OS X
Network Operating systemsNetwork Operating systems
 It is an operating system that provides extensiveIt is an operating system that provides extensive
support for computer networks. A networksupport for computer networks. A network
operating system typically resides on a server.operating system typically resides on a server.
Examples of a network Operating system are:Examples of a network Operating system are:
 Windows 2000 serverWindows 2000 server
 UnixUnix
 LinuxLinux
 SolarisSolaris
Embedded Operating systemEmbedded Operating system
 You can find this operating system on handheldYou can find this operating system on handheld
computers and small devices. It resides on acomputers and small devices. It resides on a
ROM chip. Examples of embedded operatingROM chip. Examples of embedded operating
systems are :systems are :
o Windows CEWindows CE
o Pocket PC 2002Pocket PC 2002
o Palm OSPalm OS
REAL- TIME OPERATINGREAL- TIME OPERATING
SYSTEM (RTOS) :SYSTEM (RTOS) :
 ““The ability of the operating system toThe ability of the operating system to
provide a required level of service in aprovide a required level of service in a
bounded response time”.bounded response time”.
OrOr
 The Real time operating system is anThe Real time operating system is an
operating system that make it suitable foroperating system that make it suitable for
building real time computing applicationsbuilding real time computing applications
also known as real timealso known as real time systems(RTS).systems(RTS).
What is a real time system(RTS)?What is a real time system(RTS)?
A RTS is a system where correctness ofA RTS is a system where correctness of
computing depends not only on the correctnesscomputing depends not only on the correctness
of the logical result of the computation but alsoof the logical result of the computation but also
on the result of delivery time. In a well designedon the result of delivery time. In a well designed
RTS each individual dead line should be met.RTS each individual dead line should be met.
But in practice it is not possible and also costlyBut in practice it is not possible and also costly
to achieve this requirement. So, people classifiedto achieve this requirement. So, people classified
the real time systems in to the following types.the real time systems in to the following types.
Hard Real timeHard Real time::
Here missing an individual deadline results inHere missing an individual deadline results in
catastrophic failure of the system which alsocatastrophic failure of the system which also
causes a great financial loss .causes a great financial loss .
The examples for Hard real time systems areThe examples for Hard real time systems are::
 Air traffic controlAir traffic control
 Nuclear power plant controlNuclear power plant control
Firm Real timeFirm Real time
In this, missing a deadline results inIn this, missing a deadline results in
unacceptable quality reduction. Technicallyunacceptable quality reduction. Technically
there is no difference with hard Real time, butthere is no difference with hard Real time, but
economically the disaster risk is limited.economically the disaster risk is limited.
Examples for Firm real time are :Examples for Firm real time are :
o Failure of Ignition of a automobileFailure of Ignition of a automobile
o Failure of opening of a safeFailure of opening of a safe
Soft real timeSoft real time::
Here the dead line may not be fulfilled and can beHere the dead line may not be fulfilled and can be
recovered from. The reduction in system qualityrecovered from. The reduction in system quality
and performance is at an acceptable level.and performance is at an acceptable level.
Examples of Soft real time systems :Examples of Soft real time systems :
 Multimedia transmission and receptionMultimedia transmission and reception
 Networking, telecom (Mobile) networksNetworking, telecom (Mobile) networks
 websites and serviceswebsites and services
 Computer gamesComputer games
Components of an RTOSComponents of an RTOS
 Process (task) managementProcess (task) management
 SchedulerScheduler
 Synchronization mechanismSynchronization mechanism
 Interprocess communication (IPC)Interprocess communication (IPC)
 SemaphoresSemaphores
 Memory managementMemory management
 Interrupt service mechanismInterrupt service mechanism
 I/O management , H.A.LayerI/O management , H.A.Layer
 Development EnvironmentsDevelopment Environments
 Communication subsystems (Option)Communication subsystems (Option)
 Board Support Packages (BSP)Board Support Packages (BSP)
Features of RTOS’sFeatures of RTOS’s
 PredictabilityPredictability
 TimelinessTimeliness
 ReliabilityReliability
 Fault tolerantFault tolerant
 Efficiency of SystemEfficiency of System
ComponentsComponents
 Resource Allocation.Resource Allocation.
 Interrupt Handling.Interrupt Handling.
 Other issues like kernelOther issues like kernel
size.size.
Types of RTOSTypes of RTOS
Commercial RTOSsCommercial RTOSs
 VxWorksVxWorks
 QNXQNX
 MicroC/OS-IIMicroC/OS-II
 RTLinuxRTLinux
 Windows CE ( www.microsoft.com)Windows CE ( www.microsoft.com)
VxWorksVxWorks
 This is from Wind River (This is from Wind River (www.windriver.comwww.windriver.com).).
 One of the most popular real time operatingOne of the most popular real time operating
systemsystem
 This has been used in the Mars pathfinderThis has been used in the Mars pathfinder
 It supports a number of processors includingIt supports a number of processors including
Power Pc, Intel strong ARM,ARM,HitachiPower Pc, Intel strong ARM,ARM,Hitachi
SuperH, Motorola ColdFire etc…SuperH, Motorola ColdFire etc…
 It supports multiple scheduling algorithm andIt supports multiple scheduling algorithm and
also priority inheritancealso priority inheritance
RTLinuxRTLinux
 This OS was developed by FSM Labs(This OS was developed by FSM Labs(
www.fsmlabs.comwww.fsmlabs.com) and available in two versions) and available in two versions
RTLinux Pro and RTLinuxFree.RTLinux Pro and RTLinuxFree.
 The RTLinux Pro is the priced edition andThe RTLinux Pro is the priced edition and
RTLinux Free is the free open source release.RTLinux Free is the free open source release.
 RTLinux is a hard real-time operating systemRTLinux is a hard real-time operating system
with support for many processors such aswith support for many processors such as
x86,Pentium,PowerPC,ARM,Fujitsu,MIPS andx86,Pentium,PowerPC,ARM,Fujitsu,MIPS and
AlphaAlpha
 It does not support priority inheritance.It does not support priority inheritance.
Windows CEWindows CE
 Windows CE (also known officially as WindowsWindows CE (also known officially as Windows
Embedded Compact and sometimesEmbedded Compact and sometimes
abbreviated WinCE) is an operating systemabbreviated WinCE) is an operating system
developed by Microsoft for minimalisticdeveloped by Microsoft for minimalistic
computers and embedded systems.computers and embedded systems.
 Windows CE is optimized for devices that haveWindows CE is optimized for devices that have
minimal storage—a Windows CE kernel mayminimal storage—a Windows CE kernel may
run in under a megabyte of memoryrun in under a megabyte of memory
Programming languages UsedProgramming languages Used
 C is most widely used in RTOS programmingC is most widely used in RTOS programming
 C++ and Ada are the next more popular for largeC++ and Ada are the next more popular for large
projects.projects.
 Assembly languages for increasing efficiency andAssembly languages for increasing efficiency and
reusing the previous codereusing the previous code
 Java may also be a choice for some applicationsJava may also be a choice for some applications
REFERENCESREFERENCES
 Modern Operating Sytems-Modern Operating Sytems- Andrew S. Tanenbaum (PHI)Andrew S. Tanenbaum (PHI)
 Operating Systems –W. Stallings (PHI)Operating Systems –W. Stallings (PHI)
 Operating system Concepts-Avi Silberschatz & PeterOperating system Concepts-Avi Silberschatz & Peter
Baer Galvin.Baer Galvin.
 Operating Systems-D. M. Dhamdhere- TMHOperating Systems-D. M. Dhamdhere- TMH

More Related Content

What's hot

Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
Tech_MX
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
Murtadha Alsabbagh
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Pratik Hiremath
 
Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4
Abu Bakr Ramadan
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
knowdiff
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
ktosri
 
Processes and operating systems
Processes and operating systemsProcesses and operating systems
Processes and operating systems
RAMPRAKASHT1
 
RTOS
RTOSRTOS
Real time operating systems (rtos) concepts 5
Real time operating systems (rtos) concepts 5Real time operating systems (rtos) concepts 5
Real time operating systems (rtos) concepts 5
Abu Bakr Ramadan
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
Pantech ProLabs India Pvt Ltd
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
Deepak John
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
anishgoel
 
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 operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1
Abu Bakr Ramadan
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
RajalakshmiSermadurai
 
RT linux
RT linuxRT linux
RT linux
SARITHA REDDY
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
AJAL A J
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
Shibu Krishnan
 
Embedded computing platform design
Embedded computing platform designEmbedded computing platform design
Embedded computing platform design
RAMPRAKASHT1
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
Kamal Acharya
 

What's hot (20)

Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4Real time operating systems (rtos) concepts 4
Real time operating systems (rtos) concepts 4
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
 
Processes and operating systems
Processes and operating systemsProcesses and operating systems
Processes and operating systems
 
RTOS
RTOSRTOS
RTOS
 
Real time operating systems (rtos) concepts 5
Real time operating systems (rtos) concepts 5Real time operating systems (rtos) concepts 5
Real time operating systems (rtos) concepts 5
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
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 operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
RT linux
RT linuxRT linux
RT linux
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
 
Embedded computing platform design
Embedded computing platform designEmbedded computing platform design
Embedded computing platform design
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
 

Similar to Os rtos.ppt

Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
Dr.YNM
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
Himanshu Ghetia
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
Anil Dharmapuri
 
Embedded os
Embedded osEmbedded os
Embedded os
K Senthil Kumar
 
Software
SoftwareSoftware
Software
SoftwareSoftware
C language computer introduction to the computer hardware
C language  computer introduction to the computer hardwareC language  computer introduction to the computer hardware
C language computer introduction to the computer hardware
NIKHIL KRISHNA
 
ydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwareydtyT01 a computerintrohardware
ydtyT01 a computerintrohardware
kasmraj1
 
T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
SCHOOL
 
01.osdoc
01.osdoc01.osdoc
01.osdoc
Pramod Redekar
 
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
 
Modern operating system.......
Modern operating system.......Modern operating system.......
Modern operating system.......
vignesh0009
 
STORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICESSTORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICES
Ayesha Tahir
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
reemasajin1
 
UNiT 5.pdf
UNiT 5.pdfUNiT 5.pdf
UNiT 5.pdf
SAQUEBAMAHIR
 
Infrastructure student
Infrastructure studentInfrastructure student
Infrastructure student
John Scrugham
 
Compyter system softwere
Compyter system softwereCompyter system softwere
Compyter system softwere
Alamin Hossain Miraje
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
ArjayBalberan1
 
Embedded Os [Linux & Co.]
Embedded Os [Linux & Co.]Embedded Os [Linux & Co.]
Embedded Os [Linux & Co.]
Ionela
 
Comparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptxComparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptx
42MOHDASIL
 

Similar to Os rtos.ppt (20)

Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
 
Embedded os
Embedded osEmbedded os
Embedded os
 
Software
SoftwareSoftware
Software
 
Software
SoftwareSoftware
Software
 
C language computer introduction to the computer hardware
C language  computer introduction to the computer hardwareC language  computer introduction to the computer hardware
C language computer introduction to the computer hardware
 
ydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwareydtyT01 a computerintrohardware
ydtyT01 a computerintrohardware
 
T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
 
01.osdoc
01.osdoc01.osdoc
01.osdoc
 
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...
 
Modern operating system.......
Modern operating system.......Modern operating system.......
Modern operating system.......
 
STORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICESSTORAGE DEVICES & OPERATING SYSTEM SERVICES
STORAGE DEVICES & OPERATING SYSTEM SERVICES
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
 
UNiT 5.pdf
UNiT 5.pdfUNiT 5.pdf
UNiT 5.pdf
 
Infrastructure student
Infrastructure studentInfrastructure student
Infrastructure student
 
Compyter system softwere
Compyter system softwereCompyter system softwere
Compyter system softwere
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
Embedded Os [Linux & Co.]
Embedded Os [Linux & Co.]Embedded Os [Linux & Co.]
Embedded Os [Linux & Co.]
 
Comparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptxComparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptx
 

Recently uploaded

Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
kalichargn70th171
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 

Recently uploaded (20)

Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 

Os rtos.ppt

  • 1. Introduction toIntroduction to Operating systemsOperating systems & RTOS& RTOS
  • 2. Prologue … A computer is a complex system with many resources like CPU, I/O devices, disk, memory etc… For any common user it is always a confusion about the using of the resources effectively. Because, unless otherwise the system is user-friendly, the user cannot use the computers effectively.
  • 3. So we always require a system software which can take care of all the hardware complexities and shoulder the responsibility of resource allocation such that the user can work with the computer more effectively. This was realised by the people very long back and they tried to develop a software to shield the programmers from the complexity of the hardware.
  • 4. The result is, a layer of software on the top of the hardware, to manage all parts of the system and present the user with an interface or “Virtual machine” that is easier to understand the program. This layer of the software has become our so-called OPERATING SYSTEM.
  • 5. Now Lets answer the questionNow Lets answer the question What is an Operating System?What is an Operating System?
  • 6. A more formal definition!A more formal definition! OS is “A collection of software modules to assist programmers in enhancing the system efficiency , flexibility and robustness. Or “Operating system is a piece of software which controls all the computer’s resources and provides the base upon which the application programs can be written”
  • 7. From the user point of view OS is “ An extended machine (virtual)” and From the systems view point “It is a resource manager”.
  • 8. So,Where your OS sits in your System?So,Where your OS sits in your System? compilers databases word processors CPU memory I/O devices
  • 9. Evolution of OSEvolution of OS  Actually Prof.E.W.Dijsktra is considered as theActually Prof.E.W.Dijsktra is considered as the father offather of Operating system.Operating system.
  • 10. OS ComponentsOS Components  Kernel: Core components of the OSKernel: Core components of the OS  Process scheduler :Process scheduler :  Determines when and for long each process executesDetermines when and for long each process executes  Memory manager :Memory manager :  Determines when and how memory is allocated to processesDetermines when and how memory is allocated to processes  Decides what to do when main memory is fullDecides what to do when main memory is full  File system :File system :  Organizes named collections of data in persistent storageOrganizes named collections of data in persistent storage  Networking :Networking :  Enables processes to communicate with one anotherEnables processes to communicate with one another
  • 11. The primary functions of anThe primary functions of an operating systemoperating system  Multiplexing the processor(s)Multiplexing the processor(s)  Scheduling the processesScheduling the processes  Coordinating interaction among processes,interprocessCoordinating interaction among processes,interprocess communication and Synchronization.communication and Synchronization.  Managing the system resources(I/O,memory,data files)Managing the system resources(I/O,memory,data files)  Enforcing acess control and protectionEnforcing acess control and protection  Maintaining the system integrity and performing errorMaintaining the system integrity and performing error recoveryrecovery  Providing an interface to the usersProviding an interface to the users
  • 12. TYPES OF OPERATING SYSTEMSTYPES OF OPERATING SYSTEMS There are three types of Operating systems basedThere are three types of Operating systems based on their applicationon their application • Stand-Alone Operating systemStand-Alone Operating system • Network Operating systemsNetwork Operating systems • Embedded Operating systemsEmbedded Operating systems
  • 13. Stand-Alone Operating systemStand-Alone Operating system  It is a complete operating system that worksIt is a complete operating system that works on a desktop or notebook computer.on a desktop or notebook computer. Examples of stand-alone operating systems are:Examples of stand-alone operating systems are:  DOSDOS  Windows 2000 professionalWindows 2000 professional  Mac OS XMac OS X
  • 14. Network Operating systemsNetwork Operating systems  It is an operating system that provides extensiveIt is an operating system that provides extensive support for computer networks. A networksupport for computer networks. A network operating system typically resides on a server.operating system typically resides on a server. Examples of a network Operating system are:Examples of a network Operating system are:  Windows 2000 serverWindows 2000 server  UnixUnix  LinuxLinux  SolarisSolaris
  • 15. Embedded Operating systemEmbedded Operating system  You can find this operating system on handheldYou can find this operating system on handheld computers and small devices. It resides on acomputers and small devices. It resides on a ROM chip. Examples of embedded operatingROM chip. Examples of embedded operating systems are :systems are : o Windows CEWindows CE o Pocket PC 2002Pocket PC 2002 o Palm OSPalm OS
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. REAL- TIME OPERATINGREAL- TIME OPERATING SYSTEM (RTOS) :SYSTEM (RTOS) :  ““The ability of the operating system toThe ability of the operating system to provide a required level of service in aprovide a required level of service in a bounded response time”.bounded response time”. OrOr  The Real time operating system is anThe Real time operating system is an operating system that make it suitable foroperating system that make it suitable for building real time computing applicationsbuilding real time computing applications also known as real timealso known as real time systems(RTS).systems(RTS).
  • 24. What is a real time system(RTS)?What is a real time system(RTS)? A RTS is a system where correctness ofA RTS is a system where correctness of computing depends not only on the correctnesscomputing depends not only on the correctness of the logical result of the computation but alsoof the logical result of the computation but also on the result of delivery time. In a well designedon the result of delivery time. In a well designed RTS each individual dead line should be met.RTS each individual dead line should be met. But in practice it is not possible and also costlyBut in practice it is not possible and also costly to achieve this requirement. So, people classifiedto achieve this requirement. So, people classified the real time systems in to the following types.the real time systems in to the following types.
  • 25. Hard Real timeHard Real time:: Here missing an individual deadline results inHere missing an individual deadline results in catastrophic failure of the system which alsocatastrophic failure of the system which also causes a great financial loss .causes a great financial loss . The examples for Hard real time systems areThe examples for Hard real time systems are::  Air traffic controlAir traffic control  Nuclear power plant controlNuclear power plant control
  • 26. Firm Real timeFirm Real time In this, missing a deadline results inIn this, missing a deadline results in unacceptable quality reduction. Technicallyunacceptable quality reduction. Technically there is no difference with hard Real time, butthere is no difference with hard Real time, but economically the disaster risk is limited.economically the disaster risk is limited. Examples for Firm real time are :Examples for Firm real time are : o Failure of Ignition of a automobileFailure of Ignition of a automobile o Failure of opening of a safeFailure of opening of a safe
  • 27. Soft real timeSoft real time:: Here the dead line may not be fulfilled and can beHere the dead line may not be fulfilled and can be recovered from. The reduction in system qualityrecovered from. The reduction in system quality and performance is at an acceptable level.and performance is at an acceptable level. Examples of Soft real time systems :Examples of Soft real time systems :  Multimedia transmission and receptionMultimedia transmission and reception  Networking, telecom (Mobile) networksNetworking, telecom (Mobile) networks  websites and serviceswebsites and services  Computer gamesComputer games
  • 28. Components of an RTOSComponents of an RTOS  Process (task) managementProcess (task) management  SchedulerScheduler  Synchronization mechanismSynchronization mechanism  Interprocess communication (IPC)Interprocess communication (IPC)  SemaphoresSemaphores  Memory managementMemory management  Interrupt service mechanismInterrupt service mechanism  I/O management , H.A.LayerI/O management , H.A.Layer  Development EnvironmentsDevelopment Environments  Communication subsystems (Option)Communication subsystems (Option)  Board Support Packages (BSP)Board Support Packages (BSP)
  • 29. Features of RTOS’sFeatures of RTOS’s  PredictabilityPredictability  TimelinessTimeliness  ReliabilityReliability  Fault tolerantFault tolerant  Efficiency of SystemEfficiency of System ComponentsComponents  Resource Allocation.Resource Allocation.  Interrupt Handling.Interrupt Handling.  Other issues like kernelOther issues like kernel size.size.
  • 30. Types of RTOSTypes of RTOS Commercial RTOSsCommercial RTOSs  VxWorksVxWorks  QNXQNX  MicroC/OS-IIMicroC/OS-II  RTLinuxRTLinux  Windows CE ( www.microsoft.com)Windows CE ( www.microsoft.com)
  • 31. VxWorksVxWorks  This is from Wind River (This is from Wind River (www.windriver.comwww.windriver.com).).  One of the most popular real time operatingOne of the most popular real time operating systemsystem  This has been used in the Mars pathfinderThis has been used in the Mars pathfinder  It supports a number of processors includingIt supports a number of processors including Power Pc, Intel strong ARM,ARM,HitachiPower Pc, Intel strong ARM,ARM,Hitachi SuperH, Motorola ColdFire etc…SuperH, Motorola ColdFire etc…  It supports multiple scheduling algorithm andIt supports multiple scheduling algorithm and also priority inheritancealso priority inheritance
  • 32. RTLinuxRTLinux  This OS was developed by FSM Labs(This OS was developed by FSM Labs( www.fsmlabs.comwww.fsmlabs.com) and available in two versions) and available in two versions RTLinux Pro and RTLinuxFree.RTLinux Pro and RTLinuxFree.  The RTLinux Pro is the priced edition andThe RTLinux Pro is the priced edition and RTLinux Free is the free open source release.RTLinux Free is the free open source release.  RTLinux is a hard real-time operating systemRTLinux is a hard real-time operating system with support for many processors such aswith support for many processors such as x86,Pentium,PowerPC,ARM,Fujitsu,MIPS andx86,Pentium,PowerPC,ARM,Fujitsu,MIPS and AlphaAlpha  It does not support priority inheritance.It does not support priority inheritance.
  • 33. Windows CEWindows CE  Windows CE (also known officially as WindowsWindows CE (also known officially as Windows Embedded Compact and sometimesEmbedded Compact and sometimes abbreviated WinCE) is an operating systemabbreviated WinCE) is an operating system developed by Microsoft for minimalisticdeveloped by Microsoft for minimalistic computers and embedded systems.computers and embedded systems.  Windows CE is optimized for devices that haveWindows CE is optimized for devices that have minimal storage—a Windows CE kernel mayminimal storage—a Windows CE kernel may run in under a megabyte of memoryrun in under a megabyte of memory
  • 34. Programming languages UsedProgramming languages Used  C is most widely used in RTOS programmingC is most widely used in RTOS programming  C++ and Ada are the next more popular for largeC++ and Ada are the next more popular for large projects.projects.  Assembly languages for increasing efficiency andAssembly languages for increasing efficiency and reusing the previous codereusing the previous code  Java may also be a choice for some applicationsJava may also be a choice for some applications
  • 35. REFERENCESREFERENCES  Modern Operating Sytems-Modern Operating Sytems- Andrew S. Tanenbaum (PHI)Andrew S. Tanenbaum (PHI)  Operating Systems –W. Stallings (PHI)Operating Systems –W. Stallings (PHI)  Operating system Concepts-Avi Silberschatz & PeterOperating system Concepts-Avi Silberschatz & Peter Baer Galvin.Baer Galvin.  Operating Systems-D. M. Dhamdhere- TMHOperating Systems-D. M. Dhamdhere- TMH