SlideShare a Scribd company logo
TASK ALLOCATION AND SCHEDULING IN A
          MULTI-PROCESSOR ENVIRONMENT




Guided by                          Submitted by

Ms.ANJU S PILLAI                MUTHU KUMAR .B
Assistant professor(SG)         CB.EN.P2EBS10012
Department of EEE                Department of EEE
ABSTRACT

       Uniprocessor scheduling is widely used for its simplicity, reliability and
ease for implementation. But it has got its limitations over less processor
utilization factor. For a better processor utilization and performance
multiprocessor scheduling is preferred.

      One of the major challenges is to find an optimal task-processor
assignment. The work aims at finding different task processor assignment
policies and finding a better Processor Utilization and schedule the tasks
dynamically using EDF algorithm.
METHODOLOGY


•   The main objective of the project is to perform scheduling in a multiprocessor
    system.
•   Generation of a set of synthetic tasks.
•   Fix the number of processors needed for the system.
•   Static Priority assignment to all the tasks using RM policy.
•   Dynamic Priority assignment to all the tasks using EDF policy.
•   The next step is to perform task-processor assignment.
•   Implementation of
     1. Next Fit Algorithm
     2. Bin Packing Algorithm
•   The final stage is the scheduling of all the tasks in the multiprocessor system.
DEVELOPING A MULTIPROCESSOR SCHEDULE


         Make an allocation


           Schedule each
         processor based on
           the allocation                  Change Allocation

            Are all these
         schedules feasible


Output schedule                           Continue
                        Check stopping
                           criterion
                                 Stop
                        Declare Failure
EARLIEST DEADLINR FIRST ALGORITHM

If D=T

•   Shortest of the deadline of given task is selected as higher priority to be executed.
•   The highest priority task is executed first.

If D!=T

    If D>T

          The task is not schedulable probably which means it misses the deadline.

    If D<T

          1.The task set is just checked for the feasible solution.
          2.Feasible solution is found by using the Processor Demand Analysis.
DEADLINE = TIME PERIOD

            TASK               COMPUTATION TIME    TIME PERIOD(D=T)
              A                           1               3
              B                           1               6
              C                           1               5
              D                           3              10




Priorities of tasks scheduled using EDF

 132144143213124144312134144231
EARLIEST DEADLINE FIRST ALGORITHM ( EDF )
EARLIEST DEADLINE FIRST TRACE
DEADLINE < TIME PERIOD




        TASK           COMPUTATION        DEADLINE   TIME PERIOD(D=T)
                          TIME
         A                    3              4              6
         B                    4              7              8


Priorities of tasks scheduled using EDF
            Deadline Miss !
     1 2 1 2 …..

       Hence not schedulable.
TASK ALLOCATION USING NEXT FIT ALGORITHM




PROCEDURE FOR NEXT FIT ALGORITHM

1.Tasks with utilization are divided into classes with uniform utilization range.
2.According to number of classes the number of processors are decided.
3.Each class is assigned to specific processors.
TASKS :         A      B      C      D      E     F      G    H    I     J
 COMPUTATION         5      7      3      1     10     16     1   13    9    17
    TIME
  TIME PERIOD        10    21     22     24     30     40    50   55    75   100

   Utilization       0.5   0.33   0.14   0.04   0.33   0.4   0.02 0.24 0.13 0.17

Processor or Class   4      3      1      1      3     3      1    2    1    1




  if(U(i)<0.19)       Task in processor P4
   if(U(i)<0.26)      Task in processor P3
   if(U(i)<0.41)      Task in processor P2
   if(U(i)<=1)        Task in processor P1
NEXT FIT ALGORITHM FOR TASK ALLOCATION
BIN PACKING ALGORITHM

BIN PACKING ALGORITHM

   1.First fit random algorithm
   2.First fit decreasing algorithm

PROCEDURE FOR FIRST FIT RANDOM

1.Random tasks with utilization are selected and packed in a bin.
2.If bin exceeds 100% on further addition of tasks bin2 is started to be packed.
3.Task Utilizations are always whether they can be packed fully on previous
    processors.
TASKS :         A      B      C      D      E     F      G    H    I     J
      COMPUTATION         5      7      3      1     10     16     1   13    9    17
         TIME
       TIME PERIOD        10    21     22     24     30     40    50   55    75   100

        Utilization       0.5   0.33   0.14   0.04   0.33   0.4   0.02 0.24 0.13 0.17

     Processor or Class   1      1      1      2      2     2      2    3    3    3




1.     After utilization exceeds 1 it changes to processor 2.
2.     After utilization exceeds 2 it changes to processor 3.
3.     So number of processors required is 3 to accommodate the given task set.
BIN PACKING ALGORITHM FOR TASK ALLOCATION
TIME FRAME


I.     Literature Review - Aug 2011
II.    Synthetic task generation and priority assignment – Sep 2011
III.   Implementation of Task-Processor allocation policies – Oct & Nov 2011
IV.    Scheduling of tasks - Dec 2011
V.     Analysis of the results – Jan 2011
VI.    Hardware implementation– Feb to May 2012
VII.   Documentation – Jun 2012
REFERENCES


1.   P. Ancilotti, G. Buttazzo, M. D. Natale, and M. Spuri. “Design and
     programming tools for time critical applications.” Real-Time Systems, 14:3,
     pp. 251–269, May 1998.
2.   R. Pellizzoni and G. Lipari Feasibility “Analysis of Real-Time Periodic Tasks
     with Offsets “Real-Time Systems Journal, 2005.
3.   Eric W.Parsons and Kenneth C.Sevcik“Implementing multiprocessor
     algorithms”.
4.   Haobo Yu, Andreas Gerstlauer and Daniel Gajski “RTOS Scheduling in
     transaction level models”
THANK YOU !

More Related Content

What's hot

Real time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSReal time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CS
Thanveen
 
4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures
Islam Samir
 
Unit 8
Unit 8Unit 8
Unit 8
pritislides
 
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
 (Paper) Task scheduling algorithm for multicore processor system for minimiz... (Paper) Task scheduling algorithm for multicore processor system for minimiz...
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
Naoki Shibata
 
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Naoki Shibata
 
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICESCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
ijait
 
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
ijcax
 
IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...
IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...
IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...
IRJET Journal
 
Reference model of real time system
Reference model of real time systemReference model of real time system
Reference model of real time system
Kamal Acharya
 
Srt algorithm
Srt algorithmSrt algorithm
Srt algorithm
dianne10
 
MapReduce: Simplified Data Processing On Large Clusters
MapReduce: Simplified Data Processing On Large ClustersMapReduce: Simplified Data Processing On Large Clusters
MapReduce: Simplified Data Processing On Large Clusters
kazuma_sato
 
M017419499
M017419499M017419499
M017419499
IOSR Journals
 
Approaches to real time scheduling
Approaches to real time schedulingApproaches to real time scheduling
Approaches to real time scheduling
Kamal Acharya
 
Opml 19-presentation-pdf
Opml 19-presentation-pdfOpml 19-presentation-pdf
Opml 19-presentation-pdf
Md Shahriar Iqbal
 
[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T
[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T
[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T
IJET - International Journal of Engineering and Techniques
 
MapReduce : Simplified Data Processing on Large Clusters
MapReduce : Simplified Data Processing on Large ClustersMapReduce : Simplified Data Processing on Large Clusters
MapReduce : Simplified Data Processing on Large Clusters
Abolfazl Asudeh
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
Nagarajan
 
Adaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable ComputationAdaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable Computation
Qian Lin
 
RTOS
RTOSRTOS
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 

What's hot (20)

Real time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSReal time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CS
 
4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures
 
Unit 8
Unit 8Unit 8
Unit 8
 
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
 (Paper) Task scheduling algorithm for multicore processor system for minimiz... (Paper) Task scheduling algorithm for multicore processor system for minimiz...
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
 
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
 
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICESCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
 
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
 
IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...
IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...
IRJET- Framework for Real Time Heterogeneous Multiprocessor System using DYTA...
 
Reference model of real time system
Reference model of real time systemReference model of real time system
Reference model of real time system
 
Srt algorithm
Srt algorithmSrt algorithm
Srt algorithm
 
MapReduce: Simplified Data Processing On Large Clusters
MapReduce: Simplified Data Processing On Large ClustersMapReduce: Simplified Data Processing On Large Clusters
MapReduce: Simplified Data Processing On Large Clusters
 
M017419499
M017419499M017419499
M017419499
 
Approaches to real time scheduling
Approaches to real time schedulingApproaches to real time scheduling
Approaches to real time scheduling
 
Opml 19-presentation-pdf
Opml 19-presentation-pdfOpml 19-presentation-pdf
Opml 19-presentation-pdf
 
[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T
[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T
[IJET V2I2P18] Authors: Roopa G Yeklaspur, Dr.Yerriswamy.T
 
MapReduce : Simplified Data Processing on Large Clusters
MapReduce : Simplified Data Processing on Large ClustersMapReduce : Simplified Data Processing on Large Clusters
MapReduce : Simplified Data Processing on Large Clusters
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
 
Adaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable ComputationAdaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable Computation
 
RTOS
RTOSRTOS
RTOS
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
 

Similar to Multiprocessor scheduling 3

Task allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessorsTask allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessors
Don William
 
Multiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptxMultiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptx
naghamallella
 
multiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.pptmultiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.ppt
naghamallella
 
Flowshop scheduling
Flowshop schedulingFlowshop scheduling
Flowshop scheduling
Kunal Goswami
 
Earliest Due Date Algorithm for Task scheduling for cloud computing
Earliest Due Date  Algorithm for Task scheduling for cloud computingEarliest Due Date  Algorithm for Task scheduling for cloud computing
Earliest Due Date Algorithm for Task scheduling for cloud computing
Prakash Poudel
 
Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler
Yoshitake Kobayashi
 
Cpu scheduling qusetions
Cpu scheduling qusetionsCpu scheduling qusetions
Cpu scheduling qusetions
JasonMarandi1
 
Cpm module iii reference
Cpm module iii referenceCpm module iii reference
Cpm module iii reference
ahsanrabbani
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf
Tigabu Yaya
 
ESC UNIT 3.ppt
ESC UNIT 3.pptESC UNIT 3.ppt
ESC UNIT 3.ppt
Sarvesh Warjurkar
 
Document 14 (6).pdf
Document 14 (6).pdfDocument 14 (6).pdf
Document 14 (6).pdf
RajMantry
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdf
abay golla
 
Analysis of algorithms
Analysis of algorithmsAnalysis of algorithms
Analysis of algorithms
iqbalphy1
 
Deadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINEDeadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINE
Yoshitake Kobayashi
 
Rate.docx
Rate.docxRate.docx
Rate.docx
kradha5
 
Analysis of algo
Analysis of algoAnalysis of algo
Analysis of algo
Sandeep Bhargava
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
Kamal Acharya
 
Scheduling algorithm in real time system
Scheduling algorithm in real time systemScheduling algorithm in real time system
Scheduling algorithm in real time system
VishalPandat2
 
Os2
Os2Os2
Ch 06 - CPM PERT (1).pptx
Ch 06 - CPM  PERT (1).pptxCh 06 - CPM  PERT (1).pptx
Ch 06 - CPM PERT (1).pptx
sitinorhafizabintiab1
 

Similar to Multiprocessor scheduling 3 (20)

Task allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessorsTask allocation and scheduling inmultiprocessors
Task allocation and scheduling inmultiprocessors
 
Multiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptxMultiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptx
 
multiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.pptmultiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.ppt
 
Flowshop scheduling
Flowshop schedulingFlowshop scheduling
Flowshop scheduling
 
Earliest Due Date Algorithm for Task scheduling for cloud computing
Earliest Due Date  Algorithm for Task scheduling for cloud computingEarliest Due Date  Algorithm for Task scheduling for cloud computing
Earliest Due Date Algorithm for Task scheduling for cloud computing
 
Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler Improvement of Scheduling Granularity for Deadline Scheduler
Improvement of Scheduling Granularity for Deadline Scheduler
 
Cpu scheduling qusetions
Cpu scheduling qusetionsCpu scheduling qusetions
Cpu scheduling qusetions
 
Cpm module iii reference
Cpm module iii referenceCpm module iii reference
Cpm module iii reference
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf
 
ESC UNIT 3.ppt
ESC UNIT 3.pptESC UNIT 3.ppt
ESC UNIT 3.ppt
 
Document 14 (6).pdf
Document 14 (6).pdfDocument 14 (6).pdf
Document 14 (6).pdf
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdf
 
Analysis of algorithms
Analysis of algorithmsAnalysis of algorithms
Analysis of algorithms
 
Deadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINEDeadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINE
 
Rate.docx
Rate.docxRate.docx
Rate.docx
 
Analysis of algo
Analysis of algoAnalysis of algo
Analysis of algo
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
 
Scheduling algorithm in real time system
Scheduling algorithm in real time systemScheduling algorithm in real time system
Scheduling algorithm in real time system
 
Os2
Os2Os2
Os2
 
Ch 06 - CPM PERT (1).pptx
Ch 06 - CPM  PERT (1).pptxCh 06 - CPM  PERT (1).pptx
Ch 06 - CPM PERT (1).pptx
 

Recently uploaded

CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
Claudio Di Ciccio
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
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
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 

Recently uploaded (20)

CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
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
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 

Multiprocessor scheduling 3

  • 1. TASK ALLOCATION AND SCHEDULING IN A MULTI-PROCESSOR ENVIRONMENT Guided by Submitted by Ms.ANJU S PILLAI MUTHU KUMAR .B Assistant professor(SG) CB.EN.P2EBS10012 Department of EEE Department of EEE
  • 2. ABSTRACT Uniprocessor scheduling is widely used for its simplicity, reliability and ease for implementation. But it has got its limitations over less processor utilization factor. For a better processor utilization and performance multiprocessor scheduling is preferred. One of the major challenges is to find an optimal task-processor assignment. The work aims at finding different task processor assignment policies and finding a better Processor Utilization and schedule the tasks dynamically using EDF algorithm.
  • 3. METHODOLOGY • The main objective of the project is to perform scheduling in a multiprocessor system. • Generation of a set of synthetic tasks. • Fix the number of processors needed for the system. • Static Priority assignment to all the tasks using RM policy. • Dynamic Priority assignment to all the tasks using EDF policy. • The next step is to perform task-processor assignment. • Implementation of 1. Next Fit Algorithm 2. Bin Packing Algorithm • The final stage is the scheduling of all the tasks in the multiprocessor system.
  • 4. DEVELOPING A MULTIPROCESSOR SCHEDULE Make an allocation Schedule each processor based on the allocation Change Allocation Are all these schedules feasible Output schedule Continue Check stopping criterion Stop Declare Failure
  • 5. EARLIEST DEADLINR FIRST ALGORITHM If D=T • Shortest of the deadline of given task is selected as higher priority to be executed. • The highest priority task is executed first. If D!=T If D>T The task is not schedulable probably which means it misses the deadline. If D<T 1.The task set is just checked for the feasible solution. 2.Feasible solution is found by using the Processor Demand Analysis.
  • 6. DEADLINE = TIME PERIOD TASK COMPUTATION TIME TIME PERIOD(D=T) A 1 3 B 1 6 C 1 5 D 3 10 Priorities of tasks scheduled using EDF 132144143213124144312134144231
  • 7. EARLIEST DEADLINE FIRST ALGORITHM ( EDF )
  • 8.
  • 10. DEADLINE < TIME PERIOD TASK COMPUTATION DEADLINE TIME PERIOD(D=T) TIME A 3 4 6 B 4 7 8 Priorities of tasks scheduled using EDF Deadline Miss ! 1 2 1 2 ….. Hence not schedulable.
  • 11.
  • 12. TASK ALLOCATION USING NEXT FIT ALGORITHM PROCEDURE FOR NEXT FIT ALGORITHM 1.Tasks with utilization are divided into classes with uniform utilization range. 2.According to number of classes the number of processors are decided. 3.Each class is assigned to specific processors.
  • 13. TASKS : A B C D E F G H I J COMPUTATION 5 7 3 1 10 16 1 13 9 17 TIME TIME PERIOD 10 21 22 24 30 40 50 55 75 100 Utilization 0.5 0.33 0.14 0.04 0.33 0.4 0.02 0.24 0.13 0.17 Processor or Class 4 3 1 1 3 3 1 2 1 1 if(U(i)<0.19) Task in processor P4 if(U(i)<0.26) Task in processor P3 if(U(i)<0.41) Task in processor P2 if(U(i)<=1) Task in processor P1
  • 14. NEXT FIT ALGORITHM FOR TASK ALLOCATION
  • 15.
  • 16.
  • 17. BIN PACKING ALGORITHM BIN PACKING ALGORITHM 1.First fit random algorithm 2.First fit decreasing algorithm PROCEDURE FOR FIRST FIT RANDOM 1.Random tasks with utilization are selected and packed in a bin. 2.If bin exceeds 100% on further addition of tasks bin2 is started to be packed. 3.Task Utilizations are always whether they can be packed fully on previous processors.
  • 18. TASKS : A B C D E F G H I J COMPUTATION 5 7 3 1 10 16 1 13 9 17 TIME TIME PERIOD 10 21 22 24 30 40 50 55 75 100 Utilization 0.5 0.33 0.14 0.04 0.33 0.4 0.02 0.24 0.13 0.17 Processor or Class 1 1 1 2 2 2 2 3 3 3 1. After utilization exceeds 1 it changes to processor 2. 2. After utilization exceeds 2 it changes to processor 3. 3. So number of processors required is 3 to accommodate the given task set.
  • 19. BIN PACKING ALGORITHM FOR TASK ALLOCATION
  • 20.
  • 21.
  • 22. TIME FRAME I. Literature Review - Aug 2011 II. Synthetic task generation and priority assignment – Sep 2011 III. Implementation of Task-Processor allocation policies – Oct & Nov 2011 IV. Scheduling of tasks - Dec 2011 V. Analysis of the results – Jan 2011 VI. Hardware implementation– Feb to May 2012 VII. Documentation – Jun 2012
  • 23. REFERENCES 1. P. Ancilotti, G. Buttazzo, M. D. Natale, and M. Spuri. “Design and programming tools for time critical applications.” Real-Time Systems, 14:3, pp. 251–269, May 1998. 2. R. Pellizzoni and G. Lipari Feasibility “Analysis of Real-Time Periodic Tasks with Offsets “Real-Time Systems Journal, 2005. 3. Eric W.Parsons and Kenneth C.Sevcik“Implementing multiprocessor algorithms”. 4. Haobo Yu, Andreas Gerstlauer and Daniel Gajski “RTOS Scheduling in transaction level models”