Suppose we have a 64-bit machine with a single CPU. This machine is executing a process....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose we have a 64-bit machine with a single CPU. This machine is executing a process. This process made eight memory accesses. Each one of these memory accesses reads eight bytes from memory and put them in a register. Suppose that the page size in this machine is 4KB. Level 1 cache size is 32KB and level 2 cache size is 64KB. There is no level 3 cache in this machine. The OS uses a single level page table. The CPU has one TLB. What is the minimum number of pages that this process accessed when executing the memory accesses mentioned above? Justify your answer. Ignore pages accessed to load the instructions themselves. a. b. What is the maximum number of pages that this process accessed when executing the memory accesses mentioned above? Justify your answer. Ignore pages accessed to load the instructions themselves. c For the eight memory accesses mentioned in the problem, how many times the MMU has been accessed? d. For the eight memory accesses mentioned in the problem, how many times the TLB has been accessed? Suppose we have a 64-bit machine with a single CPU. This machine is executing a process. This process made eight memory accesses. Each one of these memory accesses reads eight bytes from memory and put them in a register. Suppose that the page size in this machine is 4KB. Level 1 cache size is 32KB and level 2 cache size is 64KB. There is no level 3 cache in this machine. The OS uses a single level page table. The CPU has one TLB. What is the minimum number of pages that this process accessed when executing the memory accesses mentioned above? Justify your answer. Ignore pages accessed to load the instructions themselves. a. b. What is the maximum number of pages that this process accessed when executing the memory accesses mentioned above? Justify your answer. Ignore pages accessed to load the instructions themselves. c For the eight memory accesses mentioned in the problem, how many times the MMU has been accessed? d. For the eight memory accesses mentioned in the problem, how many times the TLB has been accessed?
Expert Answer:
Answer rating: 100% (QA)
a Minimum number of pages accessed The minimum number of pages that this process accessed is two This is because each memory access reads eight bytes and the page size is 4KB which means that each mem... View the full answer
Related Book For
Fundamentals Of Database Systems
ISBN: 9780133970777
7th Edition
Authors: Ramez Elmasri, Shamkant Navathe
Posted Date:
Students also viewed these operating system questions
-
Smithen Company, a wholesale distributor, has been operating for only a few months. The company sells three products sinks , mirrors, and vanities. Budgeted sales by product and in total for the...
-
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...
-
A 4 3 . 3 k g turntable with a radius of 1 4 c m is covered with a uniform layer of dry ice that has a mass of 2 . 5 0 k g . The angular speed of the turntable and dry ice is initially 0 . 3 0 r a d...
-
May-22 1 1 1 6 22 31 31 31 31 31 uChampion (UC) Shop commenced business on 1 May 2022. The following transactions occurred during the first month of operations: Jenny, the owner, invested cash into...
-
For a 76 wt% Pb-24 wt% Mg alloy, make schematic sketches of the microstructure that would be observed for conditions of very slow cooling at the following temperatures: 575C (1070F), 500C (930F),...
-
The accounts of Deluxe Deck Service, Inc., follow with their normal balances at June 30, 2010. The accounts are listed in no particular order. Requirements 1. Prepare the companys trial balance at...
-
If the rate of change of force with respect to displacement, \(d f / d x\), is a decreasing function of \(k\), the spring is called a a. soft spring b. hard spring c. linear spring
-
Part A Adria Lopez of Success Systems is evaluating her inventory to determine whether it must be adjusted based on lower of cost or market rules. Her company has three different types of software in...
-
1. Boulder Mountain Ski Company has total assets of $480,200,000 and a debt ratio of0.26. Calculate the company's debt-to-equity ratio. Round to two decimal places. 2. The Timber Ridge Company has...
-
The following salaried employees of Mountain Stone Brewery in Fort Collins, Colorado, are paid semimonthly. Some employees have union dues or garnishments deducted from their pay. Required: Calculate...
-
Explain each segments of Financial Services Industry which are the BANKS, INSURANCE, AND ASSET MANAGEMENT . Explain each. Explain the updates on the 3 segments of Financial Services Industry (banks,...
-
Suppose a five-year, $1000 bond with annual coupons has a price of $990 and a yield to maturity of 6%. What is the bonds coupon rate?
-
Suppose the current yield on a one-year, zero-coupon bond is 4%, while the yield on a five-year, zero-coupon bond is 5%. Neither bond has any risk of default. Suppose you plan to invest for one year....
-
Martin International PLC initiated a new corporate strategy that fixes its annual dividend at 1.40 per share forever. If the risk-free rate is 3% and the risk premium on Martin Internationals stock...
-
Compare the effects of the COVID- 19 pandemic on the airline industry to earlier shocks.
-
The common stock of Speedy PLC closed at 2.40 per share today, down 0.20 from yesterday. If the company has 5 million shares outstanding and annual earnings of 12.5 million, what is its P/E ratio...
-
A 4-year-old boy presents to the emergency room with muscle spasms. His past medical history is significant for recurrent infections and neonatal seizures. Evaluation of his serum electrolytes...
-
Read the Forecasting Supply Chain Demand Starbucks Corporation case in your text Operations and Supply Chain Management on pages 484-485, then address the four questions associated with the...
-
What are the main goals of the RAID technology? How does it achieve them?
-
Draw a UML diagram for storing a played game of chess in a database. You may look at http://www.chessgames.com for an application similar to what you are designing. State clearly any assumptions you...
-
How can hashing be used to construct an index?
-
The current price of gold is \(\$ 412\) per ounce. The storage cost is \(\$ 2\) per ounce per year, payable quarterly in advance. Assuming a constant interest rate of \(9 \%\) compounded quarterly,...
-
Suppose that a continuous-time compounding framework is used with a fixed interest rate \(r\). Suppose that the carrying charge per unit of time is proportional to the spot price; that is, the charge...
-
A certain 10-year bond is currently selling for \(\$ 920\). A friend of yours owns a forward contract on this bond that has a delivery date in 1 year and a delivery price of \(\$ 940\). The bond pays...
Study smarter with the SolutionInn App