Subject - Operating System Design Principles
Topic - MULTIPROCESSOR AND REAL TIME SCHEDULING
Size: 366.02 KB
Language: en
Added: Jul 22, 2023
Slides: 21 pages
Slide Content
MULTIPROCESSOR AND REAL
TIME SCHEDULING
Presentation & Delivery
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
GOVERNMENT ARTS COLLEGE, MELUR
PG. Department of Computer Science
Operating System
Multiprocessor
Real Time
Scheduling
Granularity
Design Issues
Process
Scheduling
Thread
Scheduling
Characteristics
of Real Time OS
Real Time
Scheduling
Deadline
Scheduling
Multiprocessor
Loosely coupled or distributed multiprocessor,
or cluster
Functionally Specialized Processors
Tightly Coupled Multiprocessor
Multiprocessor
Granularity
Independent
Parallelism
Coarse and Very Coarse
Grained Parallelism
Medium Grained
Parallelism
Fine Grained Parallelism
Multiprocessor
Design Issues
Assignment of
Processes to
processors
The use of
multiprogramming on
Indirected Processors
Process Dispatching
Multiprocessor
Process Scheduling
Assignment of
Processes to
processors
The use of
multiprogramming on
Indirected Processors
Process Dispatching
Operating System
Real Time Scheduling
Characteristics of Real Time OS
Real Time Scheduling
Real Time Scheduling
Realtimecomputingisbecominganincreasinglyimportant
discipline.
TheOSandinparticularthescheduler,isperhapsthemost
importantcomponentofrealtimesystem.
Examples
Currentapplicationsofrealtimesystemsincludecontrolof
laboratoryexperiments,processcontrolinindustrialplants,
robotics,airtrafficcontrol,telecommunications,andmilitary
commandsandcontrolsystems.
Benefits
Real-timesystemsaredesignedtoperformtasksthatmustbe
executedwithinprecisecycledeadlines(downtomicroseconds).
Real Time Scheduling
AHardrealtimetaskisonethatmustmeetitsdeadline;
otherwiseitwillcauseunacceptabledamageorafatal
errortothesystem.
ASoftrealtimetaskhasanassociateddeadlinethatis
desirablebutnotmandatory;itstillmakessenseto
scheduleandcompletethetaskevenifithaspassedits
deadline.
Real –Time Operating Systems
Characteristics of Real Time OS
Determinism
Responsiveness
User Control
Reliability
Fail –Soft Operation
Real time OS features:
Fastprocessorthreadswitch
Smallsize(withitsassociatedminimalfunctionality)
AbilitytorespondtoexternalInterruptsquickly
Multitaskingwithinterprocesscommunicationtoolssuchas
semaphores,signalsandevents.
Useofspecialsequentialfilesthatcanaccumulatedataatafastrate.
Pre-emptiveschedulingbasedonpriority
MinimizationofintervalsduringwhichInterruptsaredisabled.
Primitivestodelaytasksforaamountoftimeandtopause/resume
tasks
Specialalarmsandtimeout.
Real Time Scheduling:
Real time scheduling is one of the most active areas of research in
computer Science.
Whetherasystemperformsscheduleaabilityanalysis
Ifitdoes,whetheritisdonestatisticallyordynamically
Whethertheresultoftheanalysisitselfproducesascheduleorplan
accordingtowhichtasksaredispatchedatruntime
Real –Time Operating Systems
Real Time Scheduling
Static Table –Driven Approaches
Static Priority Driven Preemptive
Approaches
Dynamic planning based approaches
Dynamic Best Effort Approaches