Question

List and briefly describe 4 types of processor scheduling policies. ( 0.25 point each) Compare Long...

  1. List and briefly describe 4 types of processor scheduling policies. ( 0.25 point each)
  2. Compare Long Term, Medium Term and Short Term scheduling ( 1 point)
  3. List 4 desired scheduled algorithm characteristics ( 0.25 point each)

Homework Answers

Answer #1

Long Term Scheduler

The job scheduler or long-term scheduler selects processes from the storage pool in the secondary memory and loads them into the ready queue in the main memory for execution.

The long-term scheduler controls the degree of multiprogramming. It must select a careful mixture of I/O bound and CPU bound processes to yield optimum system throughput. If it selects too many CPU bound processes then the I/O devices are idle and if it selects too many I/O bound processes then the processor has nothing to do.

The job of the long-term scheduler is very important and directly affects the system for a long time.

Short Term Scheduler

The short-term scheduler selects one of the processes from the ready queue and schedules them for execution. A scheduling algorithm is used to decide which process will be scheduled for execution next.

The short-term scheduler executes much more frequently than the long-term scheduler as a process may execute only for a few milliseconds.

The choices of the short term scheduler are very important. If it selects a process with a long burst time, then all the processes after that will have to wait for a long time in the ready queue. This is known as starvation and it may happen if a wrong decision is made by the short-term scheduler.

A diagram that demonstrates long-term and short-term schedulers is given as follows −

Medium Term Scheduler

The medium-term scheduler swaps out a process from main memory. It can again swap in the process later from the point it stopped executing. This can also be called as suspending and resuming the process.

This is helpful in reducing the degree of multiprogramming. Swapping is also useful to improve the mix of I/O bound and CPU bound processes in the memory.

A diagram that demonstrates medium-term scheduling is given as follows −

Objectives of Process Scheduling Algorithm

Max CPU utilization [Keep CPU as busy as possible]
Fair allocation of CPU.
Max throughput [Number of processes that complete their execution per time unit]
Min turnaround time [Time taken by a process to finish execution]
Min waiting time [Time a process waits in ready queue]
Min response time [Time when a process produces first response]

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Question 2 (1 point) List the factors that comprise the image formation model. Describe each briefly....
Question 2 (1 point) List the factors that comprise the image formation model. Describe each briefly. Question 3 (2 points) List three types of video signals. Compare their mutual advantages and disadvantages.
1. Briefly describe the various types of permanent life insurance policies (one sentence for each type)...
1. Briefly describe the various types of permanent life insurance policies (one sentence for each type) 2. How do policy loans in a life insurance policy work? 3. List the essential elements of a legally enforceable insurance contract. 4. Describe some key elements concerning insurance company investments (types of investment and risk)
Q3)​Sources of Finance State and briefly describe each type of Debt & Equity (Long Term &...
Q3)​Sources of Finance State and briefly describe each type of Debt & Equity (Long Term & Short Term) Finance.
Briefly describe each of the following interview types 1.Situational 2.Behavior 3.Stress 4.Structural 5.Panel
Briefly describe each of the following interview types 1.Situational 2.Behavior 3.Stress 4.Structural 5.Panel
Describe the core principles of corporate finance. Explain: 1) the goal 2) major types of long-term...
Describe the core principles of corporate finance. Explain: 1) the goal 2) major types of long-term and short-term financial decisions 3) for each major decision, name an example.
1.Discuss three different general types of epidemiological research. 2. Briefly describe the differences between each of...
1.Discuss three different general types of epidemiological research. 2. Briefly describe the differences between each of them and what are some benefits and challenges of the different types. 3. Compare and contrast a between-group experimental study and within a group experimental study. Give examples that are applicable to epidemiological research.
Java question, Please answer everything. Thank you Answer the following questions as briefly (but completely) as...
Java question, Please answer everything. Thank you Answer the following questions as briefly (but completely) as possible: What is a checked exception, and what is an unchecked exception? What is NullPointerException? Which of the following statements (if any) will throw an exception? If no exception is thrown, what is the output? 1: System.out.println( 1 / 0 ); 2: System.out.println( 1.0 / 0 ); Point out the problem in the following code. Does the code throw any exceptions? 1: long value...
PLEASE DRAW THE CIRCUIT DIAGRAMS OF EACH DEFINITIONS AND GIVE ITS APPLICATIONS. PLEASE GIVE THE FULL...
PLEASE DRAW THE CIRCUIT DIAGRAMS OF EACH DEFINITIONS AND GIVE ITS APPLICATIONS. PLEASE GIVE THE FULL DETAILS OF THE STEPS ON EACH QUESTIONS SO I COULD FOLLOW UP YOUR WHOLE EXPLANATIONS. PLEASE WRITE THE STEPS ON SOLVING THIS EXAMPLE EX) STEP 1, STEP 2, ETC HANDWRITING IS OKAY AS LONG AS IT IS READABLE. IF YOU HAVE USED THE EQUATIONS OR CONCEPTS, PLEASE STATE IT CLEARLY WHICH ONE YOU HAVE YOU USED SO I COULD FULLY UNDERSTAND THE DETAILS OF...
Circle the letter that corresponds to the best answer for each question. 1.     Which of the...
Circle the letter that corresponds to the best answer for each question. 1.     Which of the following statements concerning the nursing process is accurate? a.     The nursing process is nurse oriented. b.    The steps of the nursing process are separate entities. c.     The nursing process is nursing practice in action. d.    The nursing process comprises four steps to promote patient well-being. 2.     Which of the following groups legitimized the steps of the nursing process in 1973 by devel- oping standards...
Short Answers Conceptual Questions 1. (a) A lead cylinder floats in mercury at 0oC. Will the...
Short Answers Conceptual Questions 1. (a) A lead cylinder floats in mercury at 0oC. Will the lead float higher or lower if the temperature is raised? (b) Freezing a can of soda will cause its bottom and top to bulge so badly that the can will not stand up. What has happened? 2. (a) Is it possible to boil water at room temperature (20oC) without heating it? Explain. (b) Explain why burns caused by steam at 100oC on the skin...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT