Question

In: Computer Science

We decide to speed up the virtual memory system of question 1 by using a translation...

  1. We decide to speed up the virtual memory system of question 1 by using a translation lookaside buffer (TLB). Suppose your memory system has the characteristics shown in the following table. The TLB and cache miss rates indicate how often the requested entry is not found. The main memory miss rate indicates how often page faults occur.

                                                                           Memory Characteristics

Memory Unit

Access Time (Cycles)

Miss Rate

TLB

1

0.05%

Cache

1

2%

Main memory

100

0.0003%

Hard drive

1,000,000

0%

  1. What is the average memory access time of the virtual memory system before and after adding the TLB? Assume that the page table is always resident in physical memory and is never held in the data cache.
  2. If the TLB has 64 entries, how big (in bits) is the TLB? Give numbers for data (physical page number), tag (virtual page number), and valid bits of each entry. Show your work clearly.
  3. Sketch the TLB. Clearly label all fields and dimensions.
  4. What size SRAM would you need to build the TLB described in part (c)? Give your answer in terms of depth × width.

Solutions

Expert Solution


Related Solutions

Plese answer the question! 1) What kind of memory technologies do we use as memory hierarchy...
Plese answer the question! 1) What kind of memory technologies do we use as memory hierarchy organization in computers?
QUESTION 1 1.   We can solve memory leaks with        some form of garbage collection...
QUESTION 1 1.   We can solve memory leaks with        some form of garbage collection such as mark-sweep or reference counters        some form of garbage collection such as tombstones or lock-and-keys        using a tombstone or mark-sweep approach to the dangling pointer problem        using a tombstone or lock and keys approach to the dangling pointer problem QUESTION 2 1.   Pointers (and/or reference) types are necessary in modern programming languages because        they provide...
Question 1 A 242 g box slides up a 16.1° ramp at a speed of 4.05...
Question 1 A 242 g box slides up a 16.1° ramp at a speed of 4.05 m/s. Using conservation of energy and assuming the ramp is frictionless, how far along the ramp does the box slide before stopping? 0.745 m 3.02 m 29.6 m 0.871 m Question 2 A 10800 kg jet is preparing to land on a military aircraft carrier. In order to do so, the pilot manoeuvres the jet's tail to hook and snag a cable that is...
In a system with 16GB, external fragmentation requires that we compact memory to fill in the...
In a system with 16GB, external fragmentation requires that we compact memory to fill in the holes. We need to copy three fourths of memory from one location to another. Assuming a 256-bit data bus with a system clock of 1GHz that requires 50 clocks per read and write, how long will it take for this operation to complete? Remember the relationship between powers of 2 and 10 and don’t worry about conversion errors.
Explain each of the following programs in 1-2 paragraphs each: Virtual Dementia Tour Music and Memory...
Explain each of the following programs in 1-2 paragraphs each: Virtual Dementia Tour Music and Memory Snoezelen rooms Hand in Hand dementia training Certified Dementia Practitioner Validation therapy Reminiscence therapy essentiALZ certification It’s Never 2 Late For each program, describe a scenario in an assisted/senior living organization where its tenets could be applied. How would the program help a senior with dementia? Which behaviors would be alleviated, and how?
We want to speed up a random endothermic reaction. Lets assume we have complete knowledge of...
We want to speed up a random endothermic reaction. Lets assume we have complete knowledge of the structures of our intermediates and products. What could we try to do to make the endothermic reaction go faster? Why? Provide at least two strategies.
1. We wish to make a planoconcave lens out of polycarbonate that will make a virtual...
1. We wish to make a planoconcave lens out of polycarbonate that will make a virtual image reduced in size by a factor of exactly 4 when an object is placed 12.0 cm in front of it. a) What is the magnification? b) What is the focal length of the lens? c) Find the radius of curvature of the concave surface of the lens. d) Will the image be upright or inverted? e) Where will the image appear? f) Draw...
In this project, we will make up a banking system. You are an employee of MadeUp...
In this project, we will make up a banking system. You are an employee of MadeUp Banking. Your job is to manage multiple bank accounts. Here, you would create new accounts, deposit to an account, withdraw from an account, delete account, sort the accounts, or do inspection on one or all bank accounts. In order to do this job, you would need the tool for each of those items. The bank maintains a list of accounts. This list has to...
QUESTION 1 We will be using spectrophotometry to determine the concentration of iron in solutions. First,...
QUESTION 1 We will be using spectrophotometry to determine the concentration of iron in solutions. First, you will generate a calibration curve. The ----- variable is -----, and will be graphed on the x axis of the calibration curve. The -------- variable is ----------, and will be graphed on the --------- axis. Word Bank: -independent -y -absorbance -dependent -concentration QUESTION 2 How many mL of a 100 mg/dL Ferrozine solution are needed to complex 0.00000048 moles of iron? HINT: Look...
A large food-processing corporation is considering using laser technology to speed up and eliminate waste in...
A large food-processing corporation is considering using laser technology to speed up and eliminate waste in the potato peeling process. To implement the system, the company anticipates needing $800,000 to purchase the industrial strength lasers. The system is expected to have an 8-year service life. 180,000 per year will be saved in labor and materials. However, it will require additional costs over eight years. The additional cost is 42,000 in year one. These expenses increase by 2% each year. Assuming...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT