ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > zstu-(2021-2022)-1 > 2019529628047 MOHAMMED ANVAR >
Homework 3 2019529628047 MOHAMMED ANVAR Version 0
👤 Author: by wx287_oz26ft8z0hrxg4bfxzjnbg_sik8g 2022-02-17 14:59:44
CPU SCHEDULE CRITERIA
Different CPU scheduling algorithms have different properties, and the choice of a particular algorithm may favor one class of processes over another. The criteria include the following.
1. CPU utilisation - The main objective of any CPU scheduling algorithm is to keep the CPU as busy as possible. Theoretically, CPU utilisation can range from 0 to 100 but in a real-time system, it varies from 40 to 90 percent depending on the load upon the system.
2. Throughput - A measure of the work done by CPU is the number of processes being executed and completed per unit time. This is called throughput. The throughput may vary depending upon the length or duration of processes.
3. Turnaround time For a particular process, an important criteria is how long it takes to execute that process. The time elapsed from the time of submission of a process to the time of completion is known as the turnaround time. Turn-around time is the sum of times spent waiting to get into memory, waiting in ready queue, executing in CPU, and waiting for I/O.
4. Waiting time A scheduling algorithm does not affect the time required to complete the process once it starts execution. It only affects the waiting time of a process i.e. time spent by a process waiting in the ready queue.
5. Response time - In an interactive system, turn-around time is not the best criteria. A process may produce some output fairly early and continue computing new results while previous results are being output to the user. Thus another criteria is the time taken from submission of the process of request until the first response is produced. This measure is called response time.
CPU BURST TIME AND I/O BURST TIME The CPU burst time is the time taken by CPU to execute the process. While the 1/0 burst time is the time taken by the process to perform some I/O operation. More often, we ignore the I/O time and we consider only the CPU time for a process. So in general, Burst time is the total time taken by the process for its execution on the CPU.

Please login to reply. Login

Reversion History

Loading...
No reversions found.