Consider the following partial timeline of process events: Time Event Process P1 executes the command: Read...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following partial timeline of process events: Time Event Process P1 executes the command: Read from disk unit 3 P5's time slice expires 5 15 18 P7 executes the command: Write to disk unit 3 P3 executes the command: Read from disk unit 2 P5 executes the command: Write to disk unit 3 P5 is swapped out Disk unit 2 generates an interrupt: Read is complete for P3 Disk unit 3 generates an interrupt: Read is complete for P1 P8 terminates Disk unit 3 generates an interrupt: Write is complete for P5 P5 is swapped back in Disk unit 3 generates an interrupt: Write is complete for P7 Assuming that before time 5, no system resources are used except for memory and the processor, complete the following state table. (Note: Time 22 has been completed for 20 24 28 33 36 38 40 44 48 you in order to provide an example of how to fill out the table entries.) P3 Blocked Time P1 P8 P5 P7 Ready/running Blocked for 1/0 Blocked for Ready/running 22 for 1/0 1/0 37 47 Consider the following partial timeline of process events: Time Event Process P1 executes the command: Read from disk unit 3 P5's time slice expires 5 15 18 P7 executes the command: Write to disk unit 3 P3 executes the command: Read from disk unit 2 P5 executes the command: Write to disk unit 3 P5 is swapped out Disk unit 2 generates an interrupt: Read is complete for P3 Disk unit 3 generates an interrupt: Read is complete for P1 P8 terminates Disk unit 3 generates an interrupt: Write is complete for P5 P5 is swapped back in Disk unit 3 generates an interrupt: Write is complete for P7 Assuming that before time 5, no system resources are used except for memory and the processor, complete the following state table. (Note: Time 22 has been completed for 20 24 28 33 36 38 40 44 48 you in order to provide an example of how to fill out the table entries.) P3 Blocked Time P1 P8 P5 P7 Ready/running Blocked for 1/0 Blocked for Ready/running 22 for 1/0 1/0 37 47
Expert Answer:
Answer rating: 100% (QA)
At time 5 P1 is blocked because it wants to read from IO device At time 15 P5 goes to ready ... View the full answer
Related Book For
Operating Systems Internals and Design Principles
ISBN: 978-0133805918
8th edition
Authors: William Stallings
Posted Date:
Students also viewed these databases questions
-
Assume that at time 5 no system resources are being used except for the processor and memory. Now consider the following events: At time 5: P1 executes a command to read from disk unit 3. At time 15:...
-
this is all code of what u need to know about this is arraylistType.h // #include //Line 1 #include //Line 2 #include #include "arrayListType.h" //Line using namespace std; //Line 4 int main() //Line...
-
Consider the following partial process for hiring a new employee: A department that needs to hire a new employee fills out two copies of a job vacancy form with the job requirements. One copy is...
-
Albert owns 100% of the shares of ProTech Services Inc and is has decided to sell the business. He initially invested STG 100,000 in the shares of the business 20 years ago. He has negotiated a...
-
This type of muscle contains striations. a. Smooth muscle b. Skeletal muscle c. Cardiac muscle d. Both b and c e. All of the above
-
Based on the Mini-Case Vertical Integration at Zara, would you expect vertical integration to be as profitable for clothing retailers who specialize in work clothes and uniforms as it is for Zara?
-
Consider the following cash flow profile and assume MARR is 10 percent/year. a. What does Descartes' rule of signs tell us about the IRR(s) of this project? b. What does Norstrom's criterion tell us...
-
The Carlson Department Store suffered heavy damage when a hurricane struck on August 31, 2003. The store was closed for four months (September 2003 through December 2003), and Carlson is now involved...
-
There are dozens of potentially relevant financial ratios that can be employed in an analysis of competitive firms (e.g. return on assets, earnings per share, etc.) This assignment requires that four...
-
You have been employed as a consultant to Golf R Us, Inc. The company has been having problems with account receivables and they want to use various dunning methods to better their receivables. But...
-
1. The following is the trial balance of Big bank LLC as on 31/12/2020 (7 marks) Dr OMR Cr OMR 750,000 Particulars Share capital Loans and advances 8,020,000 Bank premises Government securities...
-
a) Write C++ statements to perform the following tasks: i) Use for statement to display the multiplication of numbers entered by user. Assume that the first integer read specifies the number of...
-
A certain star is 15.7 million light-years from Earth. The intensity of the light that reaches Earth from the star is 2.10 10 21 W/m 2 . At what rate does the star radiate EM energy?
-
7.)What is the value of y after the following code is executed? int x= 123, y = 0; while (x > 0) { } y *= 10; y += x % 10; x /= 10;
-
In the milk industrialization process, it undergoes a total skimming process; An evaporator is fed with 2000 L/h of skimmed milk to concentrate it with 30% by weight of solids. The flow output is 480...
-
A 5-meter ladder leans against a vertical wall. Initially, at t=0, the top is 4 meters above the ground. As the top slides down the wall with a constant speed of 2 m/s, (a) determine the equation of...
-
What is the total rate of return for an investor who buys a 3 - year bond with an annual coupon of 6 . 5 % and annual market rate of 5 . 5 % , then sells the bond 6 months later for $ 1 , 0 3 7 . 1 9...
-
Shreemaya Hotel in !adore was facing a problem of low demand for its rooms due to off season. The Managing Director (MD) of the hotel, Mrs. Sakina was very worried. She called upon the Marketing...
-
Consider the following set of processes: Perform the same analysis as depicted in Table 9.5 and Figure 9.5 for this set. ProcessArrival Time Processing Time 12
-
Why is the principle of locality crucial to the use of virtual memory?
-
What is the difference between periodic and aperiodic real-time tasks?
-
Given your response to item 2, how would these measures be useful? What could they be used for? Turnover is costly for organizations. In addition to the direct costs of recruiting, hiring, and...
-
How does New Belgium introduce fun into the workplace? How does having fun keep employees engaged and enthusiastic about their work and the company? Kim Jordan and Jeff Lebesch, the husband and wife...
-
Visit the New Belgium Brewing Web site (www.newbelgium.com) to learn more about the company. The company has a strong culture that values environmental sustainability. Here are its core beliefs: We...
Study smarter with the SolutionInn App