Homework11-sol - Homework#11(Solution 9:44 PM Process...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2002 Page 1 of 2 Homework #11 (Solution) 4/15/2003 9:44 PM Process scheduling 1. (10 points) What is the handicap of priority scheduling, and what is the solution for it? Lower priority processes gets postponed indefinitely. So, priority scheduling may cause lower priority processes to starve and never finish execution. This problem is also known as “starvation” problem. The solution to starvation is to employ “aging”, i.e. increase priority of processes as time progresses. This way lower priority processes are guaranteed to access the resources (i.e. CPU) some time in future and hence prevent starvation. Grading: 2pts for trying; +3pts each for mentioning about the two key words “starvation” and “aging”. 10pts for clearly explained correct answer. 2. The first two columns of the following table are measured (i.e., actual) CPU burst times t 0 , t 1 ,... 5 t (in milliseconds) of a process.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern