ENVS 1800 Lecture 18: ENVS 1800 Lecture 18 Notes

12 views2 pages
ENVS 1800 Lecture 18 Notes Optimum System Performance
Introduction
There are a number of different conditions that might cause a process to give up the
CPU, some voluntary and some involuntary, as established by the operating system.
Presumably, the goal of the dispatcher is to select the next candidate in such a way as to
optimize system use.
But, in fact, there are a number of different measurement criteria that can be used to
defie optiu syste perforace.
Frequently, these criteria are in conflict with each other, and the characteristics of the
candidates in contention
As well as different conditions within the system can also affect the selection of a
particular candidate for CPU execution at any given time
Similarly, processes vary in their requirements.
Processes can be long or short in their requirement for CPU execution time, they can
require many resources, or just a few, and they can vary in their ratio of CPU to I/O
execution time.
Different scheduling algorithms favor different types of processes or threads and meet
different optimization criteria.
For example, an algorithm that maximizes throughput by consistently placing short jobs
at the front of the queue is clearly not fair to a longer job that keeps getting delayed.
As a result, there are a number of different scheduling algorithms that can be used.
The choice of scheduling algorithm then depends on the optimization objective(s)
chosen, along with the expected mix of process types.
Analysis requires consideration of a wide variety of process mix possibilities and
dynamic situations.
Some of the objectives considered are shown in the table
Of the various objectives in the table, the prevention of starvation is particularly
noticeable.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions