SlideServe
Menu
Préférences
© SlideServe · v2026

CPU Scheduling: Maximizing CPU Utilization and Process Efficiency

dcoggins avatar
8 diapositives · 125 Views · Jan 03, 2020

Explore basic concepts, algorithms, and criteria of CPU scheduling for efficient process execution and resource allocation. Understand dispatcher's role, scheduling decision triggers, and real-time scheduling challenges. Dive into optimization criteria to enhance CPU performance.

CPU Scheduling: Maximizing CPU Utilization and Process Efficiency - slide 1
01 / 8CPU Scheduling: Maximizing CPU Utilization and Process Efficiency
1 / 17

Télécharger la présentation

CPU Scheduling: Maximizing CPU Utilization and Process Efficiency
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Operating System IICh.5cpu scheduling Lecturer Assistant Sadeer Dheyaa Abdulameer Cihan University - Sulaimaniya Computer science Department

  2. Chapter 5: CPU Scheduling • Basic Concepts • Scheduling Criteria • Scheduling Algorithms • Multiple-Processor Scheduling • Real-Time Scheduling • Algorithm Evaluation

  3. Basic Concepts • Maximum CPU utilization obtained with multiprogramming. • CPU–I/O Burst Cycle – Process execution consists of a cycle of CPU execution and I/O wait. • CPU burst distribution.

  4. Alternating Sequence of CPU And I/O Bursts

  5. CPU SchedulerQ:what we mean cpu scheduler? When cpu take decisions • Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them. • CPU scheduling decisions may take place when a process: 1. Switches from running to waiting state. 2. Switches from running to ready state. 3. Switches from waiting to ready. 4. Terminates. • Scheduling under 1 and 4 is nonpreemptive. • All other scheduling is preemptive.

  6. Q:what we mean by dispatcher and dispatcher latency Dispatcher • Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves: • switching context • switching to user mode • jumping to the proper location in the user program to restart that program • Dispatch latency – time it takes for the dispatcher to stop one process and start another running.

  7. Q:What are the Scheduling Criteria Scheduling Criteria • CPU utilization – keep the CPU as busy as possible • Throughput – number of processes that complete their execution per time unit • Turnaround time – amount of time to execute a particular process • Waiting time – amount of time a process has been waiting in the ready queue • Response time – amount of time it takes from when a request was submitted until the first response is produced, not output (for time-sharing environment)

  8. Q: What are the Optimization Criteria Optimization Criteria • Max CPU utilization • Max throughput • Min turnaround time • Min waiting time • Min response time