SlideShare a Scribd company logo
1 of 12
INTERRUPT LATENCY AND
RESPONSE OF THE TASK
An RTOS should quickly and predictable
respond of the event.
 It should have minimum interrupt
latency and fast context switching
latency.
 Different models have been proposed
for measuring performance.
1/25/2015 J.SUDARSHANREDDY
There are three components of
the performance of processing as
follows.
1.Ratio of the sum of interrupt latencies with
respect to the sum of the execution times.
2.Cpu load.
3.Worst-case execution times with respect to
the mean execution time.
1/25/2015 J.SUDARSHANREDDY
 Interr Ratio of the sum of interrupt
latencies with respect to sum of the
execution time.
 CPU latencies in various task models can be
used for evaluating performance metrics.
 The latencies for various task scheduling
models are described.
 The CPU load is another way to look at the
performance
 Worst case performance calculation for a
sporadic task is performed
1/25/2015 J.SUDARSHANREDDY
 In real time systems by Jane W. S. Liu.
Pearson Education, 2000, for details of
many models available for evaluating
the performance.
CPU load as performance
metric
 Each task gives a load to the CPU
that execution time divided by the
task period.
 Recall in_Aout_B intranet work
1/25/2015 J.SUDARSHANREDDY
 EX: Receiver port A expects another
character before 172ms.
 task period is 172ms,
 if the task execution time is 172ms.
 the CPU load for this taskis1(100%).
 The task execution time when a
character is received must be than
172ms.
 The maximum load of the cpu is1.
1/25/2015 J.SUDARSHANREDDY
 The CPU load having multitasking as
follow
 The sum of the CPU loads for all the
tasks and ISR should be less than 1.
 The time outs and fixed time limit
definitions for the task reduce the CPU
load.
 CPU load for the higher-priority tasks.
 So that even the lower-priority tasks can
be run before the dead lines.
1/25/2015 J.SUDARSHANREDDY
 The some of the CPU loads equal to
0.1(10%)!
 the CPU is under utilized and spends
90% of its time in a waiting mode.
 The execution and task time is vary
CPU loads also vary.
 A task needs to run only Once.
 Then it is aperiodic in an application.
 Scheduling of the task that need to run
periodically.
1/25/2015 J.SUDARSHANREDDY
 The fixed periods can be periodic and
CPU load very close to 1.
 EX: inputs as a port with
predetermined periods and the inputs
are in succession without any time
gap.
 A task can’t be scheduled at fixed
periods. its schedule is called
sporadic.
 EX: if a task is expected to receive
1/25/2015 J.SUDARSHANREDDY
Inputs at variable timegaps
then the task schedule is
sporadic.
 The variable time gaps must be with
defined limits.
 A preemptive scheduler must taken into
account three types of tasks.
 There are:
1.Aperiodic
2.Periodic
3.sporadic
1/25/2015 J.SUDARSHANREDDY
 Aperiodic: the task needs to be
preempted only once.
 Periodic: the task needs to be
preempted after the fixed periods and it
must be executed before its next
preemption is needed.
 Sporadic: the task needs to be checked
after a minimum time period of its
occurrence.
 The software designers to keep the CPU
load between(0.7 +or- 0.25)for sporadic
tasks.
1/25/2015 J.SUDARSHANREDDY
Worst case execution time
performance
T total is the total length of the
periods for which sporadic task
occur.
E is the total task execution
time.
TAV is the mean periods
between the sporadic
occurrence.
1/25/2015 J.SUDARSHANREDDY
 Worst case execution time performance
metric, p is calculated as follows.
 The worst case task in a model is
P=P worst=(e*T total / T av)/(e*T total / Tmin)
The average rate of sporadic task
(Ttotal/ T av).
The maximum rate of sporadic task burst
is Ttotal/Tmin.
1/25/2015 J.SUDARSHANREDDY

More Related Content

What's hot

Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
barodia_1437
 
Interrupt latency and its measurements methods
Interrupt latency and its measurements methodsInterrupt latency and its measurements methods
Interrupt latency and its measurements methods
s60030
 

What's hot (20)

Superscalar Processor
Superscalar ProcessorSuperscalar Processor
Superscalar Processor
 
Priority inversion
Priority inversionPriority inversion
Priority inversion
 
Physical and Logical Clocks
Physical and Logical ClocksPhysical and Logical Clocks
Physical and Logical Clocks
 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System Concepts
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
Routing
RoutingRouting
Routing
 
Task assignment and scheduling
Task assignment and schedulingTask assignment and scheduling
Task assignment and scheduling
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsn
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
SOC Processors Used in SOC
SOC Processors Used in SOCSOC Processors Used in SOC
SOC Processors Used in SOC
 
Interrupt latency and its measurements methods
Interrupt latency and its measurements methodsInterrupt latency and its measurements methods
Interrupt latency and its measurements methods
 
Design Issues of an OS.ppt
Design Issues of an OS.pptDesign Issues of an OS.ppt
Design Issues of an OS.ppt
 
Routing protocols in ad hoc network
Routing protocols in ad hoc networkRouting protocols in ad hoc network
Routing protocols in ad hoc network
 
Handover in Mobile Computing
Handover in Mobile ComputingHandover in Mobile Computing
Handover in Mobile Computing
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Real time scheduling - basic concepts
Real time scheduling - basic conceptsReal time scheduling - basic concepts
Real time scheduling - basic concepts
 
Error control
Error controlError control
Error control
 
Adhoc wireless
Adhoc wirelessAdhoc wireless
Adhoc wireless
 
RS 232
RS 232RS 232
RS 232
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 

Similar to INTERRUPT LATENCY AND RESPONSE OF THE TASK

Multiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptxMultiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptx
naghamallella
 

Similar to INTERRUPT LATENCY AND RESPONSE OF THE TASK (20)

A Review of Different Types of Schedulers Used In Energy Management
A Review of Different Types of Schedulers Used In Energy ManagementA Review of Different Types of Schedulers Used In Energy Management
A Review of Different Types of Schedulers Used In Energy Management
 
Temporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware schedulingTemporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware scheduling
 
Temporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware schedulingTemporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware scheduling
 
Ijariie1161
Ijariie1161Ijariie1161
Ijariie1161
 
CPU Scheduling
CPU SchedulingCPU Scheduling
CPU Scheduling
 
CPU scheduling in Operating System Explanation
CPU scheduling in Operating System ExplanationCPU scheduling in Operating System Explanation
CPU scheduling in Operating System Explanation
 
slot_shifting
slot_shiftingslot_shifting
slot_shifting
 
Real time-system
Real time-systemReal time-system
Real time-system
 
Real time-system
Real time-systemReal time-system
Real time-system
 
Rate.docx
Rate.docxRate.docx
Rate.docx
 
Approaches to real time scheduling
Approaches to real time schedulingApproaches to real time scheduling
Approaches to real time scheduling
 
Chap 4.ppt
Chap 4.pptChap 4.ppt
Chap 4.ppt
 
Chap 4.ppt
Chap 4.pptChap 4.ppt
Chap 4.ppt
 
Multiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptxMultiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptx
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
 
An optimized round robin cpu scheduling
An optimized round robin cpu schedulingAn optimized round robin cpu scheduling
An optimized round robin cpu scheduling
 
Comparision of different Round Robin Scheduling Algorithm using Dynamic Time ...
Comparision of different Round Robin Scheduling Algorithm using Dynamic Time ...Comparision of different Round Robin Scheduling Algorithm using Dynamic Time ...
Comparision of different Round Robin Scheduling Algorithm using Dynamic Time ...
 
Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Implementation and evaluation of novel scheduler of UC/OS (RTOS)Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Implementation and evaluation of novel scheduler of UC/OS (RTOS)
 

More from JOLLUSUDARSHANREDDY

More from JOLLUSUDARSHANREDDY (20)

RTOS CASE STUDY OF CODING FOR SENDING APPLIC...
                                RTOS  CASE STUDY OF CODING FOR SENDING APPLIC...                                RTOS  CASE STUDY OF CODING FOR SENDING APPLIC...
RTOS CASE STUDY OF CODING FOR SENDING APPLIC...
 
MEMORY MANAGEMENT
MEMORY MANAGEMENTMEMORY MANAGEMENT
MEMORY MANAGEMENT
 
Os security issues
Os security issuesOs security issues
Os security issues
 
Basic functions & types of RTOS ES
Basic functions & types of  RTOS ESBasic functions & types of  RTOS ES
Basic functions & types of RTOS ES
 
RTOS LINUX2.6.X & LINUX2.6.24
 RTOS    LINUX2.6.X & LINUX2.6.24 RTOS    LINUX2.6.X & LINUX2.6.24
RTOS LINUX2.6.X & LINUX2.6.24
 
OSEK / VDX
OSEK / VDXOSEK / VDX
OSEK / VDX
 
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENTDEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
 
Rt linux-lab1
Rt linux-lab1Rt linux-lab1
Rt linux-lab1
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
 
WINDOWS-CE
WINDOWS-CEWINDOWS-CE
WINDOWS-CE
 
Automated system for fault analysis in industries using
Automated system for fault analysis  in industries usingAutomated system for fault analysis  in industries using
Automated system for fault analysis in industries using
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
 
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 
Zigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDRZigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDR
 
Design of smart nodes for wireless sensor network ...
Design of smart nodes for wireless sensor network                            ...Design of smart nodes for wireless sensor network                            ...
Design of smart nodes for wireless sensor network ...
 
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
ATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGYATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGY
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
 
BOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPSBOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPS
 
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFIDSTUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
 
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREASSOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
 
MOBILE MONITORNG SYSTEM FOR SMART HOMES
MOBILE  MONITORNG  SYSTEM FOR SMART HOMES MOBILE  MONITORNG  SYSTEM FOR SMART HOMES
MOBILE MONITORNG SYSTEM FOR SMART HOMES
 

Recently uploaded

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 

Recently uploaded (20)

PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 

INTERRUPT LATENCY AND RESPONSE OF THE TASK

  • 1. INTERRUPT LATENCY AND RESPONSE OF THE TASK An RTOS should quickly and predictable respond of the event.  It should have minimum interrupt latency and fast context switching latency.  Different models have been proposed for measuring performance. 1/25/2015 J.SUDARSHANREDDY
  • 2. There are three components of the performance of processing as follows. 1.Ratio of the sum of interrupt latencies with respect to the sum of the execution times. 2.Cpu load. 3.Worst-case execution times with respect to the mean execution time. 1/25/2015 J.SUDARSHANREDDY
  • 3.  Interr Ratio of the sum of interrupt latencies with respect to sum of the execution time.  CPU latencies in various task models can be used for evaluating performance metrics.  The latencies for various task scheduling models are described.  The CPU load is another way to look at the performance  Worst case performance calculation for a sporadic task is performed 1/25/2015 J.SUDARSHANREDDY
  • 4.  In real time systems by Jane W. S. Liu. Pearson Education, 2000, for details of many models available for evaluating the performance. CPU load as performance metric  Each task gives a load to the CPU that execution time divided by the task period.  Recall in_Aout_B intranet work 1/25/2015 J.SUDARSHANREDDY
  • 5.  EX: Receiver port A expects another character before 172ms.  task period is 172ms,  if the task execution time is 172ms.  the CPU load for this taskis1(100%).  The task execution time when a character is received must be than 172ms.  The maximum load of the cpu is1. 1/25/2015 J.SUDARSHANREDDY
  • 6.  The CPU load having multitasking as follow  The sum of the CPU loads for all the tasks and ISR should be less than 1.  The time outs and fixed time limit definitions for the task reduce the CPU load.  CPU load for the higher-priority tasks.  So that even the lower-priority tasks can be run before the dead lines. 1/25/2015 J.SUDARSHANREDDY
  • 7.  The some of the CPU loads equal to 0.1(10%)!  the CPU is under utilized and spends 90% of its time in a waiting mode.  The execution and task time is vary CPU loads also vary.  A task needs to run only Once.  Then it is aperiodic in an application.  Scheduling of the task that need to run periodically. 1/25/2015 J.SUDARSHANREDDY
  • 8.  The fixed periods can be periodic and CPU load very close to 1.  EX: inputs as a port with predetermined periods and the inputs are in succession without any time gap.  A task can’t be scheduled at fixed periods. its schedule is called sporadic.  EX: if a task is expected to receive 1/25/2015 J.SUDARSHANREDDY
  • 9. Inputs at variable timegaps then the task schedule is sporadic.  The variable time gaps must be with defined limits.  A preemptive scheduler must taken into account three types of tasks.  There are: 1.Aperiodic 2.Periodic 3.sporadic 1/25/2015 J.SUDARSHANREDDY
  • 10.  Aperiodic: the task needs to be preempted only once.  Periodic: the task needs to be preempted after the fixed periods and it must be executed before its next preemption is needed.  Sporadic: the task needs to be checked after a minimum time period of its occurrence.  The software designers to keep the CPU load between(0.7 +or- 0.25)for sporadic tasks. 1/25/2015 J.SUDARSHANREDDY
  • 11. Worst case execution time performance T total is the total length of the periods for which sporadic task occur. E is the total task execution time. TAV is the mean periods between the sporadic occurrence. 1/25/2015 J.SUDARSHANREDDY
  • 12.  Worst case execution time performance metric, p is calculated as follows.  The worst case task in a model is P=P worst=(e*T total / T av)/(e*T total / Tmin) The average rate of sporadic task (Ttotal/ T av). The maximum rate of sporadic task burst is Ttotal/Tmin. 1/25/2015 J.SUDARSHANREDDY