Suppose that we have a system using multi-level queuing. Specifically, there are two queues and each...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose that we have a system using multi-level queuing. Specifically, there are two queues and each queue has its own scheduling algorithms: Queue A uses FCFS while Queue B uses RR with quantum 3. Moreover, CPU scheduler simply gets processes from the two queues in a weighted round robin manner with 1:2 ratio (i.e., it gets one process from Queue A, then get two processes from Queue B; and so on). When it gets a process from Queue A, it applies FCFS; and when it gets processes from Queue B, it applies RR with quantum 3. Now, suppose that Queue A has three processes P1, P2 and P3 with CPU bursts of 4, 6 and 3, respectively; and Queue B has two processes P4 and P5 with CPU bursts of 4 and 8, respectively. Show the schedule as process Gantt Chat below: Ratio 1 | P1 1 P2 P3 P4 Queue A FCFS Queue BRR 2 P5 5 10 15 20 25 30 Suppose that we have a system using multi-level queuing. Specifically, there are two queues and each queue has its own scheduling algorithms: Queue A uses FCFS while Queue B uses RR with quantum 3. Moreover, CPU scheduler simply gets processes from the two queues in a weighted round robin manner with 1:2 ratio (i.e., it gets one process from Queue A, then get two processes from Queue B; and so on). When it gets a process from Queue A, it applies FCFS; and when it gets processes from Queue B, it applies RR with quantum 3. Now, suppose that Queue A has three processes P1, P2 and P3 with CPU bursts of 4, 6 and 3, respectively; and Queue B has two processes P4 and P5 with CPU bursts of 4 and 8, respectively. Show the schedule as process Gantt Chat below: Ratio 1 | P1 1 P2 P3 P4 Queue A FCFS Queue BRR 2 P5 5 10 15 20 25 30
Expert Answer:
Answer rating: 100% (QA)
A multilevel queueing system is a way of organizing processes into different queues based on some cr... View the full answer
Related Book For
Posted Date:
Students also viewed these operating system questions
-
On August 15, 2013, Outkast Co. invested idle cash by purchasing a call option on Counting Crows Inc. common shares for $360. The notional value of the call option is 400 shares, and the option price...
-
Analyse the Tune Group Case Study using The Transcendent Model of Strategic Leadership and Lynch's 5-steps of Strategic Leadership Explain, analyse, and critique the role of strategic leadership...
-
The Robotron-Elotherm company is known for its expertise in power electronics for welding, induction bonding, and process heating. Originally known as Robotron, the company manufactured bonding...
-
The Total Landed Costs (TLC) for a plastic wrap packaging machine from Germany to Monterrey, Mexico was calculated to be $723,566 USD. The company intends to use it for only 3 years and then resell...
-
A 1 m3 rigid tank has propane at 100 kPa, 300 K and connected by a valve to another tank of 0.5 m3 with propane at 250 kPa, 400 K. The valve is opened and the two tanks come to a uniform state at 325...
-
Huntingdon Capital Corp. is a competitor of Plazacorp and First Capital Realty. Huntingdon reported the following selected information (in millions):...
-
Bustamante & Sons (B&S), Inc. publishes a small line of textbooks for introductory undergraduate business courses. Deron Ackerman, Director of Sales for B&S, is now performing annual reviews of the...
-
A firm with four departments has the following closeness matrix and the current block plan shown in Figure. a, What is the weighted-distance score for the current Layout (assuming rectilinear...
-
Laker Company reported the following January purchases and sales data for its only product. The Company uses a perpetual inventory system. 4. Determine the cost assigned to ending inventory and to...
-
The following data relate to the operations of Shilow Company, a wholesale distributor of consumer goods: Current assets as of March 31: Cash $ 8,000 Accounts receivable 20,000 Inventory 36,000...
-
The equation of tangent line of the function f(x) = at x=1 is 35 x 35 x e25t dt Oy=/3/2 35 e30625 (x-1) Oy = 35 e21875 (x-1) Oy = 35 e875 (x-1) Oy = 35 e30625 (x1) Oy = V 35 e875 (x-1)
-
The section of Waterways that produces controllers for the company provided the following information. Sales for month of February: Unit variable manufacturing cost: Unit selling price: 4,200 $10.00...
-
Inputs Initial Investment Loan Interest rate Period of loan Economic life Salvage value Average Price of product Production Volume Year 1 revenue Growth rate of revenue Fixed Cost (year 1) Variable...
-
Prove that a married person with three dependents (including himself) and an income of $12,000 pays more in Social Security tax than in federal income tax. The federal income tax will be $ and the...
-
Complete the frequency distribution table by intervals (classes) to present the glucose levels of patients who visited the hospital emergency room today morning. 75 12 72 110 130 145 82 70 99 115...
-
Topic is Mecca it is a beauty industry in Australia State 2 to 3 e-marketing. Topic is Mecca it is a beauty industry in Australia. State 2 to 3 e-marketing objectives that Mecca beauty industry may...
-
Q.7 For the circuit shown in figure calculate average power dessipated absorbed by 20kr resistor. 10/30 lok jGK ww mo 32K j4k |||| 320k -J12
-
How will relating product contribution margin s to the amount of the constrained resource they consume help a company maximize its profits?
-
The interesting and useful applications of matrix theory are nearly unlimited. Applications of matrices range from representing digital photographs to predicting long-range trends in the stock...
-
In Exercises 126131, use a graphing utility to graph each function. Use a [-5, 5, 1] by [-5, 5, 1] viewing rectangle. Then find the intervals on which the function is increasing, decreasing, or...
-
Evaluate each exponential expression in Exercises 122. 00
-
Consider the differential equation \[ \ddot{x}+2 \zeta \omega_{n} \dot{x}+\omega_{n}^{2} x=0 \] Define in words and in terms of system parameters \(m\), \(c\), and \(k\) for (a) \(\omega_{n}\) and...
-
The amplitude of an undamped SDOF system is time dependent. Indicate whether the statement presented is true or false. If true, state why. If false, rewrite the statement to make it true.
-
The damping ratio for a SDOF system with viscous damping is always positive. Indicate whether the statement presented is true or false. If true, state why. If false, rewrite the statement to make it...
Study smarter with the SolutionInn App