What is the maximum consecutive period

Assignment Help Operating System
Reference no: EM13696475

Question: Consider N processes sharing the CPU in a round-robin fashion (N>2). Assume that each context switch takes S m sec and that each time quantum is Q msec.

For simplicity, assume that processes never block on any event and simply switch between the CPU and the ready queue.

Problem 1: What is the maximum consecutive period of time any process remains in the ready queue (the max waiting time) expressed in terms of N,S,Q?

Problem 2: Now let N=3, Q= 10, with process Pi requiring Ti ms of CPU process time, where i = 0,1,2. Give that T1=6, T2=9, T3 = 12.

-  What is the average waiting time? (all units are m sec)

Answer this question using round-robin algorithm and show each and every step with example.

Reference no: EM13696475

Questions Cloud

Draw the molecule by placing atoms on the grid : Problem- Draw the Lewis structure of H2O. Include any nonbonding electron pairs. Draw the molecule by placing atoms on the grid and connecting them with bonds. Include all lone pairs of electrons.
Write a flowchart to print the largest of any 3 numbers : Write a flowchart to print the largest of any 3 numbers - Write a flowchart to print a product of 3 numbers.
Explain how much energy is required to heat of the metal : Problem- A certain metal melts at 264 C, and its heat of fusion is 29 J/g. Its average specific heat is 0.21 J/gC as a liquid and 0.27 J/gC as a solid. How much energy is required to heat 941 kg of the metal from 26 C to 339C
Why are computers equipped with multiple layers of cache : Why are computers equipped with multiple layers of cache - Would it be good to have one big one?
What is the maximum consecutive period : What is the maximum consecutive period of time any process remains in the ready queue (the max waiting time) expressed in terms of N,S,Q?
Groups i through v were treated with na2co3 : Problem- What would you expect to happen if an unknown solution that may contain ions from Groups I through V were treated with Na2CO3 under basic conditions? Explain in terms of the solubility rules.
Write a program to compare berlin, tehran and seoul : Write a program to compare Berlin, Tehran and Seoul information with Louisville - Your program should ask the User to select one of the cities with entering their first letters as input, "B" for Berlin, "T" for Tehran and "S" for Seoul.
What is the percentage of potassium phosphate in the mixture : Problem- A mixture contains both potassium phosphate and potassium chloride. What is the percentage of potassium phosphate in this mixture if reaction of 0.401 g of this mixture with excess copper ii chloride yields 0.213 g of copper ii phosphate?..
Find a simplified expression for function : find a simplified expression for F = A?BC?D + A?B?D + A?CD + ABD + ABC - Assuming that the inputs ABCD = 0101, BCD = 1001, ABCD = 1011 never occur,

Reviews

Write a Review

Operating System Questions & Answers

  Question about about telecommunications

Think about a simple telephone network consisting of two end offices and one intermediate switch with a 1-MHz full-duplex trunk in each end office and the intermediate switch.

  Database statistics

In an RDBMS, how are the three phases parsing, execution, and fetching carried out? In general, in which phase would you tune a database? Determine database statistics and why are they important.

  Clock drift results in error

Think about a frame being sent using synchronous transmission. Suppose that samples are taken at the middle of the bit period and that the clocks are synchronized at the starting of each frame.

  describe how you would do so with a positive feedback loop.

Describe how you would use a negative feedback loop to manage your bank balance.Describe how you would do so with a positive feedback loop. Explain which you would prefer and why?

  How much cylinder skew is needed for an oceangate disk

How much cylinder skew is needed for an oceangate disk operating at 20,000 rpm(new series for the christmas promotions) which has a seek time of 0.5 milliseconds? This disk has 800 sectors of 512 bytes each on each track?

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

  Determine the format of main memory address

Given that a system has two way set associative cache of size eight KBytes, with sixteen bytes cache lines, and a byte-addressable main memory of size 64 MBytes.

  Vulnerabilities in voip

Discuss at least ten Vulnerabilities in VoIP. Briefly explain each of the listed vulnerability, along with a possible recommendation for a countermeasure.

  O create a variable called nickname which has a nickname

1.  Show the steps to create a variable called NICKNAME which has a nickname for you in it; make this variable available to the environment

  Generate the special login script

Design and implement the disableuser.sh script. Generate the special login script that incorporates the quoted message.

  In a powerpoint presentation of 10-15 slides with 200-250

in a powerpoint presentation of 10-15 slides with 200-250 words of speaker notes per slide complete the

  Determine the largest value

A soft real time system has 4-periodic events with periods of 50, 100, 200 and 250 msec each. Assume 4-events need 35, 20, 10 and X msec of CPU time, respectively.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd