Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which of the following would not be a typical replacement policy for a cache? Mo

ID: 3642598 • Letter: W

Question

Which of the following would not be a typical replacement policy for a cache? Most recently used Least frequently used Least recently used First-In-First-Out Consider that we wish to build a direct mapped cache with a line size that holds four memory blocks. Assume that our total memory size is 64K locations, that is the address has 16 bits. Assume that our total cache size is 64 blocks. For this cache, how many bits will be for the tag, how many for the set, and how many for the block, respectively: tag 12, set 0, block 4 tag 16, set 4, block 2 tag 10, set 2, block 4 tag 10, set4, block 2 Consider that we are trying to build a level one cache for a larger processor, that is one which has a 64 bit address. We would like this cache to be 8-way set associative and have 32 K bytes total. We can assume that we can address each byte, that is there are 32 K values or blocks. For this particular cache, how many bits will be needed for the tag and how many bits will be needed for the set or index? tag 64, set 15 tag 52, set 12 tag 49, set 15 tag 61, set3 Assume that we are designing a new memory systems and we are trying to find out how fast our main memory would need to be in terms of processor clock cycles to achieve a Tmem memory time target. Our parameters are Tmain mem Tcache in clock cycles and our expected hit rate in percent. Assume that our cache time Tcache is 2 clock our expected hit rate is only 90%, and our target Tmem speed is a modest 10 clock cycles. Determine the slowest Tmain mem in integer clock cycles to exactly meet these parameters. 68 clock cycles. 92 clock cycles, 88 clock cycles. 82 clock cycles

Explanation / Answer

1. (A)most recently used 2.(D) Tag 10 set 4 block2 3.(A) Tag 64 set 15 4.(C) 88clock cycles

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote