Can you give an overview of CPU scheduling strategies?" reads the query.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

"Can you give an overview of CPU scheduling strategies?" reads the query.

Expert Solution
Step 1

1, 

 When the long-term scheduler selects more I/O bound processes during multiprogramming, the CPU will most likely remain idle. The task of the operating system is to optimize resource usage. 

 There is always the potential for deadlocks in the system when most running processes change status from running to waiting. To reduce this overhead, the operating system should schedule jobs in a way that maximizes CPU utilization and avoids potential deadlocks. 

  •  CPU scheduling is the process of determining which process owns the CPU to run while another process is suspended.
  • Preemptive scheduling typically assigns priorities to tasks. In the non-preemptive scheduling scheme, CPUs were assigned to specific processes.
  • Burst time is the time it takes for a process to complete execution. Also called runtime.
  • CPU utilization is the primary task for the operating system to keep the CPU as busy as possible.
  • The number of processes that complete execution per unit of time is called throughput. Wait time is the amount of time a particular process has to wait in the ready queue.
  • This is the time between when a request is sent and when the first response is generated. Processing time is the time it takes to complete a particular process.
  • Timer interrupts are a closely related method of preemption.
  • A dispatcher is a module that provides control of the CPU to processes.
  • 6 kinds of process scheduling algorithms: first come first served (FCFS), 2) shortest job first (SJF) scheduling, 3) shortest time remaining, 4) priority scheduling, 5) round robin scheduling, 6) multi-level queue scheduling. ,the process that requests CPU gets the CPU quota first.
  • If the time remaining is the shortest, the process is assigned to the task closest to completion.
  • In priority scheduling, the scheduler selects tasks to run according to priority.
  • Round-robin scheduling works on the principle that each person in turn gets something evenly distributed.
  • Shortest job first should select the shortest run time for the next run.
  • A multilevel scheduling scheme divides the ready queue into several individual queues.
  • In this method, processes are assigned to queues based on certain properties.
  • CPUs use scheduling to improve efficiency.
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education