Compare the performance of two cache designs for a byte-addressable memory system. The first cache design is a direct-mapped cache (DM) with four blocks, each block holding one four-byte word. The second cache has the same capacity and block size but is fully associative (FA) with a least-recently-used replacement policy. For the following sequences of memory read accesses to the cache, compare the relative performance of the two caches. Assume that all blocks are invalid initially (cold start) and that each address sequence is repeated a large number of times. Ignore compulsory misses when calculating miss rates. All addresses are given in decimal. Fully associative: allow a given block to go in any cache entry Compulsory miss: This occurs when a process starts, or restarts, or touches new data Least-recently used: Choose the one unused for the longest time word 0 = byte 0 to byte 3, when you load word 0 you load all the bytes inside word 1 = byte 4 to byte 7, when you load word 1 you load all the bytes inside and so on [2 points] Memory Byte Accesses: 0, 4, 0, 4, (repeats). The Miss Rate is: [Ans1] DM Miss Rate FA Miss Rate (a) 0% 0% (b) 0% 100% (c) 100% 0% (d) 100% 50% (e) 100% 100% [2 points] Memory Byte Accesses: 0, 4, 8, 12, 16, 0, 4, 8, 12, 16, (repeats) The Miss Rate is: [Ans2] DM Miss Rate FA Miss Rate (a) 20% 0% (b) 40% 0% (c) 20% 20% (d) 40% 100% (e) 100% 100% [2 points] Memory Byte Accesses: 0, 4, 8, 12, 16, 12, 8, 4, 0, 4, 8, 12, 16, 12, 8, 4, The Miss Rate is: [Ans3] DM Miss Rate FA Miss Rate (a) 25% 0% (b) 25% 25% (c) 50% 0% (d) 50% 100% (e) 100% 100%
Blog
Which of the following statements does NOT express the attit…
Which of the following statements does NOT express the attitudes or beliefs of the founders of the Massachusetts Bay Colony?
How did the document above, influenced the development of de…
How did the document above, influenced the development of democracy in America?
A student declares pregnancy while enrolled in a radiologic…
A student declares pregnancy while enrolled in a radiologic technology program and is assisting with a fluoroscopic study that requires the use of protective apparel. Which of the following apply in this circumstance? The student dosimeter must be worn outside of the protective apron. The fetal dosimeter must be worn at the waist level under the protective apron. The total exposure limit for the fetus for this procedure is 1 mSv (0.1 rem).
When an electric current is applied to the filament, it resp…
When an electric current is applied to the filament, it responds by boiling off electrons through a process known as ______.
In the health care setting, the health record serves which o…
In the health care setting, the health record serves which of the following functions: Provides for continuity of care Plays a role in the institution’s financial reimbursement May be used for hospital statistics and research Plays a role on clinical decision making
With certain exceptions, safety belts are required to be sec…
With certain exceptions, safety belts are required to be secured about passengers during
In the profession of radiologic technology and education, a…
In the profession of radiologic technology and education, a clinical instructor has the responsibility of:
Which of the following interaction of diagnostic x-ray with…
Which of the following interaction of diagnostic x-ray with matter result in no energy transfer to the patient?
The figure below is a representation of a _____ type of radi…
The figure below is a representation of a _____ type of radiation interaction with matter. Question 69.jpg