Tuesday, November 14, 2023

Scheduling Criteria

Scheduling Criteria

There are several different criteria to consider when trying to select the "best" scheduling algorithm for a particular situation and environment, including:

  • CPU utilization - Ideally the CPU would be busy 100% of the time, so as to waste 0 CPU cycles. On a real system CPU usage should range from 40% ( lightly loaded ) to 90% ( heavily loaded. )

  • Throughput - Number of processes completed per unit time. May range from 10 / second to 1 / hour depending on the specific processes.
  
  • Turnaround time - Time required for a particular process to complete, from submission time to completion.

  • Waiting time - How much time processes spend in the ready queue waiting their turn to get on the CPU.
    • Load average - The average number of processes sitting in the ready queue waiting their turn to get into the CPU. Reported in 1-minute, 5-minute, and 15-minute averages by "uptime" and "who". )

Response time - The time taken in an interactive program from the issuance of a command to the commence of a response to that command.

0 comments:

Post a Comment

Data Structures with C++



NET/SET/CS PG



Operating Systems



Computer Networks



JAVA



Design and Analysis of Algorithms



Programming in C++

Top