SlideShare a Scribd company logo
1 of 25
Download to read offline
FAULT TOLERANCE TECHNIQUES FOR
REAL TIME OPERATING SYSTEM
Seminar Coordinator: Ms SAUMYA SADANANDAN
Guided by: Mr MELBIN VARGHESE JOHN
Prepared by: ANU MARIA K JOSE
S7,IT
1
OUTLINE
2
 INTRODUCTION
 PROBLEM STATEMENT
 FEATURES OF REAL TIME OPERATING SYSTEMS
 DEADLINE
 RTO FEATURES AND FAULT TOLERANCES
 MEMORY MANAGEMENT
 KERNEL CONSIDERATIONS
 PROCESS AND THREAD MANAGEMENT
 SHEDULING
 COMMUNICATION
 I/O MAMAGEMENT
 PROGRAMMING LANGUAGES
 CONCLUSION
 INVITING QUESTIONS
 THANK YOU
INTRODUCTION
3
 Operating system: It acts as an intermediary between the user
of a computer and the computer hardware.
 Fault Tolerance: A property that enables a system continue
operating even in the presence of a failure
 Real Time Systems: Systems with well defined fixed time
constraints.
INTRODUCTION continued…..
4
 Nowadays operating systems are inseparable part of computer
systems.
 RTOSs are widely used in safety-critical domains.
 Hence, fault tolerance is an essential requirement of RTOSs
employed in safety-critical domains.
PROBLEM STATEMENT
5
 In safety critical domains all the system’s requirements should
be met and a catastrophe occurs if the system fails.
 Thus, the operating systems employed in safety-critical
domains should produce correct and valid results in the
presence or in the absence of faults.
FEATURES OF REAL TIME OPERATING
SYSTEM
6
 Real time operating systems emphasize predictability,
efficiency and include features to support timing constraints.
 All tasks should be released on time and also should be
completed before particular times called deadline
 Violating time constraints leads to system failure
DEADLINES
7
 It is the instance when the results should be produced before it.
 Deadlines can be:
 Soft : If a result has a utility even after the deadline has
passed
 Firm : If a result has no utility even after the deadline has
passed
 Hard: If severe consequences would result if a firm
deadline is missed
REAL TIME OPERATING SYSTEM FEATURES
AND FAULT TOLERANCE TECHNIQUES
8
1.MEMORY MANAGEMENT
9
 In order to protect operating systems components, fault
tolerance begins with memory protection.
 The use of DSA(Dynamic Storage Allocation) leads to
uncertainty in RTOS.
 FAULT TOLERANCE TECHNIQUES:
 TLSF Algorithm
 bitmaps
1.2 MEMORY MANAGEMENT UNIT
10
 Some RTOSs disable MMU causing all processes to run in the
same address space.
 This may lead to the creation of some bugs which can then
lead to system crash.
 FAULT TOLERANCE TECHNIQUE:
 Enable MMU
1.3 REDUNDANCY
11
 Redundancy is one of the most important techniques in fault
tolerance.
 When a process is loaded, the operating system duplicates its
data and states in more than one place/memory.
 Whenever the task wants to read data from memory, a voting is
done on replicas.
1.4 ERROR CORRECTING CODE MEMORY
12
 It is an instrument to improve operating systems
reliability.
 It is a type of computer data storage that has ability to
detect and correct many kinds of internal data corruption.
 Some non-ECC memories with parity support allows
errors to be detected, but not corrected.
 The reliability of a fault-tolerant RTOS would be
improved by employing this kind of memory.
2. KERNEL CONSIDERATIONS
13
 The kernel of a fault-tolerant RTOS must be as follows:
 Should provide a mechanism that whenever an
error occurs, a notification is sent to an agent.
 The agent then has the duty to perform some
types of error recovery actions.
 This agent is called supervisor and must be run in
an isolated address space
KERNEL CONSIDERATIONS continued……
14
 FAULT TOLERANCE TECHNIQUE:
 Event logging mechanism
 software watchdog capability
 Should protect themselves against improper
invoking system calls and passing invalid
parameters.
 Availability for dependable computing
 Should prevent the spread of faults to the
kernel
3. PROCESS AND THREAD MANAGEMENT
15
 Process definition and activation is one of the most
important roles of RTOSs.
 RTOSs should activate a process once and release it once
or periodically .
 It must also guaranty each release is started on-time and is
finished before its deadline.
PROCESS AND THREAD MANAGEMENT
continued….
16
 If tasks’ behavior is not monitored and controlled by the
RTOS:
 a task may, as a result of malicious or careless
execution of another task, cannot use processor or
other system resources.
 other tasks may fail because of their inability in
acquiring required resources and resulting in
deadline miss.
PROCESS AND THREAD MANAGEMENT
continued….
17
 One possible solution is to reserve required resources for
each process.
 In fixed-priority systems, tasks’ priority would be changed
incorrectly because of fault occurrence in process table.
 A possible technique to solve this problem is to acquaint
process manager with the importance of the tasks by
using partitions in the memory.
4. SCHEDULING
18
 If several processes are run at the same time then the
system has to choose among them.
 This decision is called CPU scheduling.
 Some of the important sheduling algorithms used in real
time system are:
 Rate Monotonic(RM)
 Earliest Deadline First(EDF)
 Least Laxity First(LLF)
SCHEDULING continued……..
19
 If the scheduler fails, other system tasks are not scheduled and
released correctly and as result the system crashes.
 FAULT TOLERANCE TECHNIQUES:
 pre-constructed static scheduling table.
 N-copy programming (NCP) .
 take the required time to handle faulty tasks into its time
analyses
 fault-tolerant RTOSs should be able to recover processors from
transient and permanent faults too.
5. I/O MANAGEMENT
20
 Deals with the management of I/O accesses such that
interference is prevented and tasks are completed in time.
 Fault-tolerance RTOSs must provide some fault tolerance
techniques to tolerate faulty I/O devices.
 FAULT TOLERANCE TECHNIQUES:
 Replication
 Robustness
PROGRAMMING LANGUAGES
21
 Special programming languages should be employed to
meet RTO requirements.
 It must also guaranty correct responses within strict timing
constraints.
 It should also support some error detection and error
correction techniques.
 Some characteristics to be followed by RTOS
programming languages are: well-defined language
semantics, the strong type checking, structuring
mechanisms.
CONCLUSION
22
 Real-time operating systems are widely used in safety-
critical domains.
 Safety-critical system: if the occurrence of a failure in
meeting system requirements causes to catastrophic
effects.
 The costs of a system failure leads to catastrophe and
exceeds the initial investment in the computer and in the
controlled object
REFERENCES
23
 An Overview of Fault Tolerance Techniques for Real-Time
Operating Systems : Reza Ramezani,Yasser Sedaghat
 Operating system concepts :A. Silberschatz, P. B. Galvin, and
G. Gagne, J. Wiley & Sons, 2009
 Principles of memory management-
https://www.cs.drexel.edu/~bls96/excerpt3.pdf
 Dependable computing and fault tolerance-Jean Claude Lapris
 TLSF: a New Dynamic Memory Allocator for Real-Time
Systems∗ M. Masmano, I. Ripoll, A. Crespo, and J. Real
Universidad Polit´ecnica de Valencia, Spain.
 en.wikipedia.org/wiki/Fragmentation_(computing)
 http://www.slideshare.net/Tech_MX/real-time-os
24
25

More Related Content

What's hot

Fault Tolerance System
Fault Tolerance SystemFault Tolerance System
Fault Tolerance SystemEhsan Ilahi
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systemskasi963
 
RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems Bayar shahab
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMprakrutijsh
 
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 Systems & RTOS
Real Time Systems & RTOSReal Time Systems & RTOS
Real Time Systems & RTOSVishwa Mohan
 
Fault Tolerance (Distributed computing)
Fault Tolerance (Distributed computing)Fault Tolerance (Distributed computing)
Fault Tolerance (Distributed computing)Sri Prasanna
 
2012A8PS309P_AbhishekKumar_FinalReport
2012A8PS309P_AbhishekKumar_FinalReport2012A8PS309P_AbhishekKumar_FinalReport
2012A8PS309P_AbhishekKumar_FinalReportabhishekroushan
 
5 Things to Know about Safety and Security of Embedded Systems
5 Things to Know about Safety and Security of Embedded Systems5 Things to Know about Safety and Security of Embedded Systems
5 Things to Know about Safety and Security of Embedded SystemsMEN Mikro Elektronik GmbH
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
[White paper] detecting problems in industrial networks though continuous mon...
[White paper] detecting problems in industrial networks though continuous mon...[White paper] detecting problems in industrial networks though continuous mon...
[White paper] detecting problems in industrial networks though continuous mon...TI Safe
 
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
 
RTOS for Embedded System Design
RTOS for Embedded System DesignRTOS for Embedded System Design
RTOS for Embedded System Designanand hd
 
Processing tech malicioussoftware_ecommerce
Processing tech malicioussoftware_ecommerceProcessing tech malicioussoftware_ecommerce
Processing tech malicioussoftware_ecommerceChittagong University
 

What's hot (20)

Fault Tolerance System
Fault Tolerance SystemFault Tolerance System
Fault Tolerance System
 
Real time operating-systems
Real time operating-systemsReal time operating-systems
Real time operating-systems
 
C0931115
C0931115C0931115
C0931115
 
RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEM
 
RTOS
RTOSRTOS
RTOS
 
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 Systems & RTOS
Real Time Systems & RTOSReal Time Systems & RTOS
Real Time Systems & RTOS
 
Fault Tolerance (Distributed computing)
Fault Tolerance (Distributed computing)Fault Tolerance (Distributed computing)
Fault Tolerance (Distributed computing)
 
2012A8PS309P_AbhishekKumar_FinalReport
2012A8PS309P_AbhishekKumar_FinalReport2012A8PS309P_AbhishekKumar_FinalReport
2012A8PS309P_AbhishekKumar_FinalReport
 
Rtos slides
Rtos slidesRtos slides
Rtos slides
 
Rtos
RtosRtos
Rtos
 
5 Things to Know about Safety and Security of Embedded Systems
5 Things to Know about Safety and Security of Embedded Systems5 Things to Know about Safety and Security of Embedded Systems
5 Things to Know about Safety and Security of Embedded Systems
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
[White paper] detecting problems in industrial networks though continuous mon...
[White paper] detecting problems in industrial networks though continuous mon...[White paper] detecting problems in industrial networks though continuous mon...
[White paper] detecting problems in industrial networks though continuous mon...
 
Real-Time Operating Systems
Real-Time Operating SystemsReal-Time Operating Systems
Real-Time Operating Systems
 
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)
 
RTOS for Embedded System Design
RTOS for Embedded System DesignRTOS for Embedded System Design
RTOS for Embedded System Design
 
Reliability and clock synchronization
Reliability and clock synchronizationReliability and clock synchronization
Reliability and clock synchronization
 
Processing tech malicioussoftware_ecommerce
Processing tech malicioussoftware_ecommerceProcessing tech malicioussoftware_ecommerce
Processing tech malicioussoftware_ecommerce
 

Similar to Tolerance

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
 
5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded SystemsAngela Hauber
 
5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded SystemsMEN Mikro Elektronik GmbH
 
5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded SystemsMEN Micro
 
EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1PRADEEP
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 
Operating System
Operating SystemOperating System
Operating Systemguest8b0942
 
Fault-tolerant architectures in real-time operating systems
Fault-tolerant architectures in real-time operating systemsFault-tolerant architectures in real-time operating systems
Fault-tolerant architectures in real-time operating systemsmydheeswarandseec
 
Developing fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systemsDeveloping fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systemsDr Amira Bibo
 
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
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system softwareJamia Hamdard
 
OS.pptx
OS.pptxOS.pptx
OS.pptxNG911
 
Ch13-Software Engineering 9
Ch13-Software Engineering 9Ch13-Software Engineering 9
Ch13-Software Engineering 9Ian Sommerville
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05Rajesh Gupta
 
UNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsUNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsDr.YNM
 
Unit 1os processes and threads
Unit 1os processes and threadsUnit 1os processes and threads
Unit 1os processes and threadsdonny101
 

Similar to Tolerance (20)

Real Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded SystemsReal Time Operating Systems for Embedded Systems
Real Time Operating Systems for Embedded Systems
 
5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems
 
5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems
 
5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems5 Techniques to Achieve Functional Safety for Embedded Systems
5 Techniques to Achieve Functional Safety for Embedded Systems
 
EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1EMBEDDED SYSTEMS 1
EMBEDDED SYSTEMS 1
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Operating System
Operating SystemOperating System
Operating System
 
Operating System
Operating SystemOperating System
Operating System
 
Fault-tolerant architectures in real-time operating systems
Fault-tolerant architectures in real-time operating systemsFault-tolerant architectures in real-time operating systems
Fault-tolerant architectures in real-time operating systems
 
Developing fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systemsDeveloping fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systems
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Embedded os
Embedded osEmbedded os
Embedded os
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Embedded system software
Embedded system softwareEmbedded system software
Embedded system software
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
 
Ch13-Software Engineering 9
Ch13-Software Engineering 9Ch13-Software Engineering 9
Ch13-Software Engineering 9
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05
 
UNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsUNIT-I-RTOS and Concepts
UNIT-I-RTOS and Concepts
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
 
Unit 1os processes and threads
Unit 1os processes and threadsUnit 1os processes and threads
Unit 1os processes and threads
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 

Tolerance

  • 1. FAULT TOLERANCE TECHNIQUES FOR REAL TIME OPERATING SYSTEM Seminar Coordinator: Ms SAUMYA SADANANDAN Guided by: Mr MELBIN VARGHESE JOHN Prepared by: ANU MARIA K JOSE S7,IT 1
  • 2. OUTLINE 2  INTRODUCTION  PROBLEM STATEMENT  FEATURES OF REAL TIME OPERATING SYSTEMS  DEADLINE  RTO FEATURES AND FAULT TOLERANCES  MEMORY MANAGEMENT  KERNEL CONSIDERATIONS  PROCESS AND THREAD MANAGEMENT  SHEDULING  COMMUNICATION  I/O MAMAGEMENT  PROGRAMMING LANGUAGES  CONCLUSION  INVITING QUESTIONS  THANK YOU
  • 3. INTRODUCTION 3  Operating system: It acts as an intermediary between the user of a computer and the computer hardware.  Fault Tolerance: A property that enables a system continue operating even in the presence of a failure  Real Time Systems: Systems with well defined fixed time constraints.
  • 4. INTRODUCTION continued….. 4  Nowadays operating systems are inseparable part of computer systems.  RTOSs are widely used in safety-critical domains.  Hence, fault tolerance is an essential requirement of RTOSs employed in safety-critical domains.
  • 5. PROBLEM STATEMENT 5  In safety critical domains all the system’s requirements should be met and a catastrophe occurs if the system fails.  Thus, the operating systems employed in safety-critical domains should produce correct and valid results in the presence or in the absence of faults.
  • 6. FEATURES OF REAL TIME OPERATING SYSTEM 6  Real time operating systems emphasize predictability, efficiency and include features to support timing constraints.  All tasks should be released on time and also should be completed before particular times called deadline  Violating time constraints leads to system failure
  • 7. DEADLINES 7  It is the instance when the results should be produced before it.  Deadlines can be:  Soft : If a result has a utility even after the deadline has passed  Firm : If a result has no utility even after the deadline has passed  Hard: If severe consequences would result if a firm deadline is missed
  • 8. REAL TIME OPERATING SYSTEM FEATURES AND FAULT TOLERANCE TECHNIQUES 8
  • 9. 1.MEMORY MANAGEMENT 9  In order to protect operating systems components, fault tolerance begins with memory protection.  The use of DSA(Dynamic Storage Allocation) leads to uncertainty in RTOS.  FAULT TOLERANCE TECHNIQUES:  TLSF Algorithm  bitmaps
  • 10. 1.2 MEMORY MANAGEMENT UNIT 10  Some RTOSs disable MMU causing all processes to run in the same address space.  This may lead to the creation of some bugs which can then lead to system crash.  FAULT TOLERANCE TECHNIQUE:  Enable MMU
  • 11. 1.3 REDUNDANCY 11  Redundancy is one of the most important techniques in fault tolerance.  When a process is loaded, the operating system duplicates its data and states in more than one place/memory.  Whenever the task wants to read data from memory, a voting is done on replicas.
  • 12. 1.4 ERROR CORRECTING CODE MEMORY 12  It is an instrument to improve operating systems reliability.  It is a type of computer data storage that has ability to detect and correct many kinds of internal data corruption.  Some non-ECC memories with parity support allows errors to be detected, but not corrected.  The reliability of a fault-tolerant RTOS would be improved by employing this kind of memory.
  • 13. 2. KERNEL CONSIDERATIONS 13  The kernel of a fault-tolerant RTOS must be as follows:  Should provide a mechanism that whenever an error occurs, a notification is sent to an agent.  The agent then has the duty to perform some types of error recovery actions.  This agent is called supervisor and must be run in an isolated address space
  • 14. KERNEL CONSIDERATIONS continued…… 14  FAULT TOLERANCE TECHNIQUE:  Event logging mechanism  software watchdog capability  Should protect themselves against improper invoking system calls and passing invalid parameters.  Availability for dependable computing  Should prevent the spread of faults to the kernel
  • 15. 3. PROCESS AND THREAD MANAGEMENT 15  Process definition and activation is one of the most important roles of RTOSs.  RTOSs should activate a process once and release it once or periodically .  It must also guaranty each release is started on-time and is finished before its deadline.
  • 16. PROCESS AND THREAD MANAGEMENT continued…. 16  If tasks’ behavior is not monitored and controlled by the RTOS:  a task may, as a result of malicious or careless execution of another task, cannot use processor or other system resources.  other tasks may fail because of their inability in acquiring required resources and resulting in deadline miss.
  • 17. PROCESS AND THREAD MANAGEMENT continued…. 17  One possible solution is to reserve required resources for each process.  In fixed-priority systems, tasks’ priority would be changed incorrectly because of fault occurrence in process table.  A possible technique to solve this problem is to acquaint process manager with the importance of the tasks by using partitions in the memory.
  • 18. 4. SCHEDULING 18  If several processes are run at the same time then the system has to choose among them.  This decision is called CPU scheduling.  Some of the important sheduling algorithms used in real time system are:  Rate Monotonic(RM)  Earliest Deadline First(EDF)  Least Laxity First(LLF)
  • 19. SCHEDULING continued…….. 19  If the scheduler fails, other system tasks are not scheduled and released correctly and as result the system crashes.  FAULT TOLERANCE TECHNIQUES:  pre-constructed static scheduling table.  N-copy programming (NCP) .  take the required time to handle faulty tasks into its time analyses  fault-tolerant RTOSs should be able to recover processors from transient and permanent faults too.
  • 20. 5. I/O MANAGEMENT 20  Deals with the management of I/O accesses such that interference is prevented and tasks are completed in time.  Fault-tolerance RTOSs must provide some fault tolerance techniques to tolerate faulty I/O devices.  FAULT TOLERANCE TECHNIQUES:  Replication  Robustness
  • 21. PROGRAMMING LANGUAGES 21  Special programming languages should be employed to meet RTO requirements.  It must also guaranty correct responses within strict timing constraints.  It should also support some error detection and error correction techniques.  Some characteristics to be followed by RTOS programming languages are: well-defined language semantics, the strong type checking, structuring mechanisms.
  • 22. CONCLUSION 22  Real-time operating systems are widely used in safety- critical domains.  Safety-critical system: if the occurrence of a failure in meeting system requirements causes to catastrophic effects.  The costs of a system failure leads to catastrophe and exceeds the initial investment in the computer and in the controlled object
  • 23. REFERENCES 23  An Overview of Fault Tolerance Techniques for Real-Time Operating Systems : Reza Ramezani,Yasser Sedaghat  Operating system concepts :A. Silberschatz, P. B. Galvin, and G. Gagne, J. Wiley & Sons, 2009  Principles of memory management- https://www.cs.drexel.edu/~bls96/excerpt3.pdf  Dependable computing and fault tolerance-Jean Claude Lapris  TLSF: a New Dynamic Memory Allocator for Real-Time Systems∗ M. Masmano, I. Ripoll, A. Crespo, and J. Real Universidad Polit´ecnica de Valencia, Spain.  en.wikipedia.org/wiki/Fragmentation_(computing)  http://www.slideshare.net/Tech_MX/real-time-os
  • 24. 24
  • 25. 25