A process has been allocated 4 pages of physical RAM while its virtual address space consists...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A process has been allocated 4 pages of physical RAM while its virtual address space consists of 8 pages. It makes accesses to (virtual) pages in the following order: 0, 1, 2, 3, 4, 5, 2, 1, 3. Assuming there are no pages in RAM when the process starts, how many page faults would the above access pattern result in: • if least recently used (LRU) page replacement policy was used to replace pages, and • if an optimal algorithm was used (i.e., the one that knows all future accesses). LRU: 4, Optimal: 4 LRU: 8, Optimal: 6 LRU: 4, Optimal: 2 LRU: 4, Optimal: 0 LRU: 7, Optimal: 4 A process has been allocated 4 pages of physical RAM while its virtual address space consists of 8 pages. It makes accesses to (virtual) pages in the following order: 0, 1, 2, 3, 4, 5, 2, 1, 3. Assuming there are no pages in RAM when the process starts, how many page faults would the above access pattern result in: • if least recently used (LRU) page replacement policy was used to replace pages, and • if an optimal algorithm was used (i.e., the one that knows all future accesses). LRU: 4, Optimal: 4 LRU: 8, Optimal: 6 LRU: 4, Optimal: 2 LRU: 4, Optimal: 0 LRU: 7, Optimal: 4
Expert Answer:
Answer rating: 100% (QA)
The detailed answer for the above question is provided below Lets analyze the access patt... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
QUESTION #1 Cost Plus or Should Cost Analysis You want to evaluate if one of JDM's Taiwanese suppliers is cost competitive. You ask Frank for a cost breakdown for JDM's mid-range coffee maker. JDM's...
-
answer all questions as instructed below. attend all questions. 4 Computer Vision (a) Explain why such a tiny number of 2D Gabor wavelets as shown in this sequence are so efficient at representing...
-
answer all questions as instructed below. make sure you have attended all questions .Comparative Architectures (a) Describe the organisation of a two-level branch predictor that makes use of a global...
-
Implement a generic Map that supports the put and get operations. The implementation will store a hash table of pairs (key, definition). Figure 5.55 provides the Map specification (minus some...
-
A large sponge has forces of magnitude 12 N applied in opposite directions to two opposite faces of area 42 cm2 (see Fig. 10.7 for a similar situation). The thickness of the sponge (L) is 2.0 cm. The...
-
d) Draw influence lines for shear at critical sections and determine the maximum shear at each section using only full-span loading. Design the shear reinforcements using U stirrups of #3 bars if...
-
The Longo Corporation issued \(\$ 50\) million maturity value of six percent coupon rate bonds, with interest paid semiannually. At the time of the bond issuance, equivalent risk-rated debt...
-
1. Daisy decided that the main thing she should focus on is customer satisfaction. She believed that if you did that then youd address all the other items since they drive customer satisfaction....
-
The estimated regression equation between sales data (Y in $1,000s) and advertising data (x in $100s) results the following: Y = 12 + 1.8 x. n = 17 SSR = 225 SSE = 75 S b1 = 0.2683 What is the...
-
A. Richard McCarthy (born 2/14/64; Social Security number 100-10-9090) and Christine McCarthy (born 6/1/1966; Social security number 101-21-3434) have a 19-year-old son (born 10/2/99 Social Security...
-
The following table provides data on output per worker, physical and human capital per worker, all relative to the US. a. For each of three countries listed, calculate factor accumulation and...
-
Predicting Delayed Flights. The file FlightDelays . jmp contains information on all commercial flights departing the Washington, DC area and arriving at New York during January 2004. For each flight...
-
Which invention attributed to van Leeuwenhoek had a pronounced influence on the creation of the sciences of cytology, bacteriology, and pathology?
-
Describe how ethical theories, principles, virtues, and values are helpful to caregivers and the ethics committee in resolving ethical dilemmas.
-
Describe the responsibilities and the various agencies within the DHHS.
-
Discuss major concerns in controlling and reducing the spread of hospital-acquired infections.
-
Comprehensively integrate and synthesize analyses of the issue from multiple perspectives, identify all (3 - 5) critical factors that must be addressed to resolve the issue.
-
Chloroplasts are illuminated until the levels of the Calvin cycle intermediates reach a steady state. The light is then turned off. How does the level of RuBP vary after this point?
-
In Exercises evaluate the definite integral. S -1 2x dx
-
In Exercises find the volume of the solid generated by revolving the region bounded by the graphs of the equations about the x-axis. Verify your results using the integration capabilities of a...
-
In Exercises the function s(t) describes the motion of a particle along a line. For each function (a) Find the velocity function of the particle at any time t 0 (b) Identify the time interval(s) in...
-
During the past year, Lite Company had net income of \(\$ 5\) million, and Scanlon Company had net income of \(\$ 8\) million. Both companies manufacture electrical components for the construction...
-
Blare Company had a return on sales of 6.5 percent and an asset turnover of 2.40. What is Blare's return on assets?
-
Under what circumstances can the return on sales be used to assess the profitability of a company? Can this ratio be used to compare the profitability of companies from different industries? Explain.
Study smarter with the SolutionInn App