11) Reusing PCBs of destroyed processes instead of freeing up the data structures eliminates the overhead...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
11) Reusing PCBs of destroyed processes instead of freeing up the data structures eliminates the overhead of dynamic memory management but is likely to use more memory. Assume the following: The number of processes to be created and destroyed over a period of time is 10,000. The average number of processes coexisting at any given time is 100. The maximum number of processes coexisting at any given time is 600. Allocating and freeing a PCB take the same amount of time. (a) How many memory operations (allocate or free) will be performed without PCB reuse? (3 points) (b) How many memory operations (allocate or free) will be performed with PCB reuse? (3 points) 11) Reusing PCBs of destroyed processes instead of freeing up the data structures eliminates the overhead of dynamic memory management but is likely to use more memory. Assume the following: The number of processes to be created and destroyed over a period of time is 10,000. The average number of processes coexisting at any given time is 100. The maximum number of processes coexisting at any given time is 600. Allocating and freeing a PCB take the same amount of time. (a) How many memory operations (allocate or free) will be performed without PCB reuse? (3 points) (b) How many memory operations (allocate or free) will be performed with PCB reuse? (3 points)
Expert Answer:
Answer rating: 100% (QA)
a Without PCB reuse 1 When creating a process you perform a memory allocation allocate operation Giv... View the full answer
Related Book For
Computer Architecture A Quantitative Approach
ISBN: 978-0123704900
4th edition
Authors: John L. Hennessy, David A. Patterson
Posted Date:
Students also viewed these programming questions
-
Gavaskar of Bombay sent 100 TV sets to Kapil of Chandigarh on consignment basis. The cost price of each set is ~ 5,000. Gavaskar paid ~ 100 for cartage, ~ 1,500 for railway freight and ~ 400 for...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
A system consists of n identical components each of which will, independently, function with probability p. The system will be able to operate effectively if at least half of the components function....
-
The collar fits loosely around a fixed shaft that has radius r. If the coefficient of kinetic friction between the shaft and the collar is k, determine the force P on the horizontal segment of the...
-
Barry started his business on September 1 of the current year and spent $5,000 in country club dues related to the business. He traveled 750 miles commuting to and from work and an additional 400...
-
A mountain chart is a creative way to display the distribution of a quantitative variable over different categories. The overall distribution is shown as a smoothed histogram, and the area underneath...
-
For each pair of funds listed below, select the fund that would be less risky and briefly explain your answer. a. Growth versus growth-and-income b. Equity-income versus high-grade corporate bonds c....
-
What is the net income for this period and total assets on this balance sheet Use the following adjusted trial balance to answer questions 22-25. Cash $ 6,530 Accounts Receivable 2,450 Prepaid...
-
Fill in the missing amounts from the following T accounts. Accounts Receivable Accounts Payable Sales Aug. 10 17,500 15 6,500 Aug. 5 (c) Aug. 10 50,000 18 3,400 Aug. 12 500 Aug. 23 (a) Aug. 29 5,800...
-
On January 1, 2021, SSS recorded a right-of-use asset of $135,180 in an operating lease. The lease calls for ten annual payments of $20,000 at the beginning of each year. The interest rate charged by...
-
Josh is graduating at the end of the academic year with a BS degree in engineering. He already has an offer with a good company for $58,000. He has learned that those who continue along a technical...
-
Your money is tied up and you need to borrow \($10\),000. The following two alternatives are available at different banks: (1) Pay \($3\),311.61 at the end of each year for 5 years, starting at the...
-
Med Diagnostics Inc. borrowed \($200\),000 from a lender for a new blood analyzer module to improve accuracy and consistency of its tests. The rate was 6 percent, 2 percent above the prime rate. The...
-
Recall Problem 34. Shortly before Jerry got under way with his job and investment plan, he met Jennifer. All of a sudden, he decided to put the retirement plan on hold, reasoning that 40 years is a...
-
What is the effective annual interest rate for 5 percent compounded (a) semiannually, (b) every 4 months, (c) quarterly, (d) every other month, (e) monthly?
-
a) Describe briefly the Mole's arrangement for measuring high dissipation factors in the low frequency range. b) A 33 kV, 50 Hz high voltage Schering bridge is used to test a sample of insulation....
-
Use integration by parts to evaluate the following. Check your answer by taking the derivative. x2e-xdx
-
Your colleague at Sun suggests that, since the yield is so poor, it might make sense to sell two sets of chips, one with 8 working processors and one with 6 working processors. We will solve this...
-
Let's consider what dynamic scheduling might achieve here. Assume a microarchitecture as shown in Figure 2.42. Assume that the ALUs can do all arithmetic ops (MULTD, DIVD, ADDD, ADDI, SUB) and...
-
Virtual machines have the potential for adding many beneficial capabilities to computer systems, for example, resulting in improved total cost of ownership (TCO) or availability. Could VMs be used to...
-
Attach LEDs to your system bus so that you can monitor its activity. For example, use an LED to monitor the read/write line on the bus.
-
Describe the role of these signals in a bus: a. R/W b. data ready c. clock
-
Draw a UML sequence diagram that shows a four-cycle handshake between a bus master and a device.
Study smarter with the SolutionInn App