4. Suppose we have 220 bytes of virtual memory and 26 bytes of physical main memory....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
4. Suppose we have 220 bytes of virtual memory and 2¹6 bytes of physical main memory. Suppose the page size is 28 bytes. a. How many pages are there in the virtual memory? b. How many page frames are there in the main memory? c. How many entries are in the page table for a process that uses all of the virtual memory? 5. For the system in problem 4, suppose a main memory access requires 30ns, the page fault rate is .01%, and it costs 12ms to access a page, not in memory (this time includes the time necessary to transfer the page into memory, update the page table, and access the data). Also, suppose a TLB hit requires 7ns, the cache miss rate is 3%, the TLB hit rate is 95%, and a cache hit requires 15 ns. On a TLB or cache miss, the time needed for access includes a TLB and cache update, but the access is not restarted. On a page fault, the page is fetched from the disk, and all updates are performed, but the access is restarted. All references are sequential (no overlap, nothing done in parallel). a. Calculate the time for a TLB hit and a cache hit. b. Calculate the EAT (effective access time) for a TLB hit. 4. Suppose we have 220 bytes of virtual memory and 2¹6 bytes of physical main memory. Suppose the page size is 28 bytes. a. How many pages are there in the virtual memory? b. How many page frames are there in the main memory? c. How many entries are in the page table for a process that uses all of the virtual memory? 5. For the system in problem 4, suppose a main memory access requires 30ns, the page fault rate is .01%, and it costs 12ms to access a page, not in memory (this time includes the time necessary to transfer the page into memory, update the page table, and access the data). Also, suppose a TLB hit requires 7ns, the cache miss rate is 3%, the TLB hit rate is 95%, and a cache hit requires 15 ns. On a TLB or cache miss, the time needed for access includes a TLB and cache update, but the access is not restarted. On a page fault, the page is fetched from the disk, and all updates are performed, but the access is restarted. All references are sequential (no overlap, nothing done in parallel). a. Calculate the time for a TLB hit and a cache hit. b. Calculate the EAT (effective access time) for a TLB hit.
Expert Answer:
Answer rating: 100% (QA)
Lets begin by solving each question in Problem 4 step by step Problem 4a How many pages are there in the virtual memory To find the number of pages we divide the total size of the virtual memory by th... View the full answer
Related Book For
Computer Organization and Design The Hardware Software Interface
ISBN: 978-0124077263
5th edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these computer network questions
-
For a high-performance system such as a B-tree index for a database, the page size is determined mainly by the data size and disk performance. Assume that on average a B-tree index page is 70% full...
-
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...
-
1. Dependence of business on environment (Define) 2. Business and environment ethics (Define) 3. Ethical behaviour includes 1) 2) 3) Business and Ecological (environmental ethics)
-
Given the following partial structure, add a substituent X to C-1 so that it satisfies the indicated stereo chemical requirement. You may find it helpful to build a molecular model for reference. (a)...
-
Use conservation of energy to obtain an expression connecting x 2 and p 2 for a harmonic oscillator, then use it along with the result from Problem 6-34 to compute (p 2 ) for the harmonic oscillator...
-
In Example 2, we found that world population in 2010 was about 165% more than world population in 1950. Express this change with an of statement. Data From Example 2:- Estimated world population in...
-
Based on a cost-benefit analysis, management at First Community Bank decided to contract with Technology Solutions, a local data center operator, to host all of the bank's financial reporting...
-
Compare California's government to the U . S . government in two of the following aspects: executive branch, legislative branch, judicial branch, constitutional amendment process.
-
As a financial analyst at Glencolin International (GI) you have been asked to evaluate two capital investment alternatives submitted by the production department of the firm. Before beginning your...
-
Group work can present a unique set of threats and opportunities. Reflect on how your group managed your group's assignments during the semester by conducting a lessons learned.i need detail...
-
3. It is assumed that there exist five different goods production and a,,a,.....as and a a..a, represent the unit labor requirement of domestic and foreign countries in respective, and let a,, a,......
-
On April 1, 2020, Campbell Corp. acquired 2,500 shares of Lipton Inc. for $50,000. This investment represents a 18% interest in Lipton Inc. and Campbell Corp. has significant influence. On October...
-
Your client has been charged with driving 80 km/h in a posted 50 km/h zone. After negotiating with the prosecutor, you were able to reduce the speeding charge to 65 km/h in a 50 km/h zone. How many...
-
Jumping from a 10 m high platform and hitting the water at a speed of 30 mph is a daunting enough prospect on its own. But when you have to throw in a series of somersaults and twists in between ,...
-
. Calculate the total resistance of a circuit where a fan (2 ohms) and 4 lights (1 ohm each) are all connected in parallel. O 6.00 3.00 0.150 0.22 0
-
Weekly Corp. makes two products: C and D. The following data have been summarized: Direct materials cost per unit Direct labor cost per unit Indirect manufacturing cost per unit Indirect...
-
Reduction in sales All of the above 29. Belt of an electric motor is broken, it needs a. Corrective maintenance b. Scheduled maintenance c. Preventive maintenance d. Timely maintenance. 30. The...
-
Assume that registers $s0 and $s1 hold the values 0x80000000 and 0xD0000000, respectively. 1. What is the value of $t0 for the following assembly code? add $t0, $s0, $s1 2. Is the result in $t0 the...
-
Convert 5ED4 into a binary number. What makes base 16 (hexadecimal) an attractive numbering system for representing values in computers?
-
Th e eight great ideas in computer architecture are similar to ideas from other fields. Match the eight ideas from computer architecture, Design for Moores Law, Use Abstraction to Simplify Design,...
-
OMalley Corporation was incorporated and began business on January 1, 2015. It has been successful and now requires a bank loan for additional working capital to finance expansion. The bank has...
-
Presented below is information related to Viel Company at December 31, 2015, the end of its first year of operations. (a) income from operations, (b) net income, (c) net income attributable to Viel...
-
Financial Reporting Problem Marks and Spencer plc (M&S) The financial statements of M&S (GBR) are presented in Appendix A. The companys complete annual report, including the notes to the financial...
Study smarter with the SolutionInn App