(a) For the given six process apply non-preemptive priority scheduling technique. PROCESS CPU burst Priority (round...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(a) For the given six process apply non-preemptive priority scheduling technique. PROCESS CPU burst Priority (round to integer) Arrival time P1 5 P2 1 8. P3 4 3 Р4 6. 7 P5 7 4 P6 10 2 Priority is calculated as: 100 Priority Вurst _time Higher number means a higher priority. In the table, show the priorities of these six processes. Draw the timing diagram of processes' execution and calculate their waiting times and an average waiting time. (b) In the priority scheduling, the major problem is indefinite blocking or starvation. With one sentence explain what is starvation. In the case (a) indicate which process will starve? Apply aging technique to solve the starvation problem by gradually increasing the priority of processes waiting in the system. For the case under (a) increase the priorities of processes by 1 for every time unit waiting in the queue (For example for a process with priority 10 waiting in the queue 5 time units, the new priority will be 10+5=15). Show the execution of six processes by applying the aging technique, show how processes are aging in the waiting queue, and calculate new waiting times for all processes and the average waiting time. (a) For the given six process apply non-preemptive priority scheduling technique. PROCESS CPU burst Priority (round to integer) Arrival time P1 5 P2 1 8. P3 4 3 Р4 6. 7 P5 7 4 P6 10 2 Priority is calculated as: 100 Priority Вurst _time Higher number means a higher priority. In the table, show the priorities of these six processes. Draw the timing diagram of processes' execution and calculate their waiting times and an average waiting time. (b) In the priority scheduling, the major problem is indefinite blocking or starvation. With one sentence explain what is starvation. In the case (a) indicate which process will starve? Apply aging technique to solve the starvation problem by gradually increasing the priority of processes waiting in the system. For the case under (a) increase the priorities of processes by 1 for every time unit waiting in the queue (For example for a process with priority 10 waiting in the queue 5 time units, the new priority will be 10+5=15). Show the execution of six processes by applying the aging technique, show how processes are aging in the waiting queue, and calculate new waiting times for all processes and the average waiting time.
Expert Answer:
Answer rating: 100% (QA)
solution New Prionity Prionty Ct1u Neww Process Aviv... View the full answer
Posted Date:
Students also viewed these algorithms questions
-
Under what circumstances would a multiple- priority waiting system be appropriate?
-
A priority waiting system assigns arriving customers one of four classes (class I has tire highest priority). Arrival rates of the classes have Poisson distribution and their average are: Five...
-
A priority waiting system assigns arriving customers to one of four classes. Arrival rates (Poisson) of the classes are shown in the following table: Five servers process the customers, and each can...
-
Suppose the final exam in this class has a normal, or bell-shaped, grade distribution of exam scores, with an average score of 80. An approximate function that models your classs grades on the exam...
-
You are feeling very good about your life. This positive feeling is due in large part to your recent promotion to national sales manager of Ever-Present Technologies Inc. Your company offers...
-
Distinguish between accountability and interperiod equity.
-
You push a \(30 \mathrm{~kg}\) shopping cart initially at rest (loaded with groceries) with a constant \(12-\mathrm{N}\) force. How far does it travel after pushing it for \(4.5 \mathrm{~s}\) ?
-
Browns, a local bakery, is worried about increased costs particularly energy. Last years records can provide a fairly good estimate of the parameters for this year. Wende Brown, the owner, does not...
-
The _ _ _ _ function enables you to retrieve separate characters in a string. A . at ( ) B . char _ at ( ) C . indexof ( ) D . value _ of ( )
-
Consider the novel device for oxidative treatment of wastewater shown in the figure (right column). In this device, O 3 will serve as the oxidant source, which must be carefully dosed into the...
-
Run SQL query to display the productid, productname, productprice for all the products with names contain a dash (- ) and ends with the letters set. 2. Run SQL query to display the ProductID,...
-
Reconsider the information given in question 40. Suppose now that the population standard deviation is known to be 1.3 strokes per round. Construct a 90% confidence interval for the population mean...
-
The manager in the local shoe factory wants to estimate the productivity of the midnight shift. He draws a random sample of 10 nights and records the productivity as follows: (a) Estimate the average...
-
A local dairy farm has just installed a new machine that pumps milk into 16-oz bottles. The manager of the farm wants to make sure that the amount of milk put in the bottles is 16 oz, so he randomly...
-
The trains scheduled to arrive at the New Brunswick train station at 7:35 A.M. every weekday do not always arrive at 7:35. A commuter carefully recorded the arrival time for the last 200 working days...
-
A large mail-order company wants to find the effect of sending catalogs to potential customers. Of the 600 potential customers who have just received the new catalogs, 123 responded with an order...
-
A profit variance analysis compares Blank______. Multiple choice question. flexible budget results to master budget results only actual results with the master budget only actual results with the...
-
Graph one period of each function. y = 4 cos x
-
Flaherty Ltd sells two types of shoes, mens shoes and womens shoes. During the financial year ended 30 June 2019, fixed costs were $460 800 and sales were in the ratio of three units (pairs) of mens...
-
Newbery and Newstead is a public accounting firm specialising in auditing local medium-sized businesses. Fees charged for each audit are determined on the basis of identifiable hours worked on an...
-
Hotbox Ltd produces pizza boxes using two processes cutting and packaging. The production budget for the year ending 30 June 2019 estimated raw materials use of $400 000, factory overhead of $270...
Study smarter with the SolutionInn App