Do you plan your schedule very well? Yes, there are things you need to consider first. For CPU schedules, what are the scheduling criteria you need to examine?
Of course, there are many different criteria to choose from. What are the scheduling criteria? Criteria can be self-made or can be based on the Internet. However, pondering the best scheduling algorithms is important.
We will introduce you to these essential criteria. Below each criterion is a brief description to learn what it’s about. Hopefully, you can find the criteria that suit your needs.
CPU Utilization
To illustrate, imagine a water bottle. Let’s say that you have a bottle of 100 ml capacity. Consider that the bottle is just half full. Meaning, water only fills 50 ml of the capacity.
Now, you need 50 ml more to fill the bottle. Therefore, you are only utilizing the capacity of your bottle 50%.
Utilization is a requirement divided by capacity. This can be understood with an example.
Ideally, the CPU needs to work most of the time to best benefit from it. Just like the water bottle, if you fill it to 100%, then the more water, the better. Also, you are using the best of your bottle’s capability.
Aside from that, you won’t waste any CPU cycle. However, if you consider a real system, the CPU must use only 40% (lightly loaded) to 90% (heavily loaded) in range.
Throughput
It is simply the amount of material or items passing through a system or process. Aside from that, it is the rate of production or the rate at which something is processed.
To further explain, It is the total number of processes completed per unit time. These processes usually range from 10/second to 1/hour depending on the subject.
Turnaround Time
As the name suggests, it means the amount of time taken to fulfill a request. It is the total time from the submission of a process to the time of the completion of the process.
Waiting Time
A waiting period is a time between when an action is requested and when it is realized.
Moreover, it is the sum of the periods spent waiting in the ready queue. Besides, the amount of time a process has been waiting in the ready queue. Eventually, to acquire and get control over the CPU.
Load Average
In UNIX computing, the system load is a measure of the amount of computational work that a system performs. This is done by using computer systems. It represents the average system load over some time.
Furthermore, it is the average number of processes residing in the ready queue waiting for their turn to get into the CPU.
Response Time
It is the span in which a person or system reacts to a given stimulus or command. Furthermore, this is the time that a system or functional unit usually takes.
Also, response time is the time it takes from when a request was submitted until it produces the first response. Thus, it is the time until the first response. But, not the completion of process execution.
Rate this post: