Question

ui May 17, 2018 Question 2. (30 points) Caches are important to a list of 32-bit memory address references in Below is providing high performance memory hierarchy to processors. decimal, given as byte addresses 3, 180, 43, 2, 191, 88, 190, 14, 181, 4 44, 186 . 253 You are asked to optimize a cache design for the g mapped cache designs possible, all wit iven references. There are three direct- h a total of 8 words of data: C1 has 1-word blocks C2 has 2-word blocks C3 has 4-word blocks 15 points) In terms of miss rate, which cache design is the best ? Please show your work. (15 points) If the miss stall time is 25 cycles, and C1 has an access time of 2 cycles, C2 takes 3 and C3 takes 5 cycles, which is the best cache design? Please show your work. cycles,
0 0
Add a comment Improve this question Transcribed image text
Answer #1

No iinn , С.doy Block sizo - 3wand Ca els s Cho -uund black0 2S6 30 mad 4 Hin 4 ga 44 131 madg = 5 M 44 mad 4 M 1g6 mad g = 2

uil be in 9h glock in ma44 tuiu n 22d Block in 19G n ui un g3H Black n me mory 2% uill 12gm Block un mommy у 191.nul uun 45PBleck 221 Hiun 3 Klock ① 131 oulb, un 45 Mis Nig 4G Block 256 will b, 64 ßlock Talal acee-H Gi (Hiss) 12 12 C3 (NİK)乙 1112 1 2 Ci Tala, Access 2 (25t2) 12 Tim 3 24 Tint 223 6 ACCes) Tin 33S

Add a comment
Know the answer?
Add Answer to:
ui May 17, 2018 Question 2. (30 points) Caches are important to a list of 32-bit...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please help me out with this question. it has two parts, work shown in detail is...

    Please help me out with this question. it has two parts, work shown in detail is required so i can understand it PartA PART B 5.2.3 You are asked to optimize a cache design for the given references. There are three direct-mapped cache designs possible, all with a total of 8 words of data: CI has 1-word blocks, C2 has 2-word blocks, and C3 has 4-word blocks. In terms of miss rate, which cache design is the best? If the...

  • Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of...

    Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of 32-bit memory address references, given as word addresses. 3, 180, 43, 2, 191, 88, 190, 14, 181, 44, 186, 253 For each of these references, identify the binary address, the tag, and the index given a direct-mapped cache with two-word blocks and a total size of 8 blocks. Also list if each reference is a hit or a miss, assuming the cache is initially...

  • If I have a problem set like so: Below is a list of 64-bit memory address...

    If I have a problem set like so: Below is a list of 64-bit memory address references, given as word addresses. 3, 180, 43, 2, 191, 88, 190, 14, 181, 44, 186, 253 5.2.1 BLOCK SIZE: 1 word CACHE SIZE: 16 1-word blocks a) For each of these references, identify the binary address, the tag, and the index given a direct-mapped cache with 16 one-word blocks. Also list if each reference is a hit or a miss, assuming the cache...

  • Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of...

    Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of memory address references, given as word addresses (in decimal, the byte-offset bits have been excluded from addresses). 1, 4, 8, 5, 20, 17, 4, 56, 9, 10, 43, 5, 6, 9, 17 For each of these references, identify the binary address, the tag, and the index given a direct-mapped cache with two-word blocks (two words per block) and a total size of 8 blocks....

  • 5.2 Caches are important to providing a high-performance memory hierarchy to processors. Below is a list...

    5.2 Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of 32-bit memory address references, given as word addresses. 3, 180, 43, 2, 191, 88, 190, 14, 181, 44, 186, 253 5.2.6 The formula shown in Section 5.3 shows the typical method to index a direct-mapped cache, specifically (Block address) modulo (Number of blocks in the cache). Assuming a 32-bit address and 1024 blocks in the cache, consider a diff erent

  • Please help with this Below is a list of 32-bit (1 word) memory address references a...

    Please help with this Below is a list of 32-bit (1 word) memory address references a program makes, given as word addresses (not byte addresses): 2, 4, 5, 4, 6, 4, 12, 13, 2, 13, 4, 253 For each of these references, identify the tag and index, given a 16 word, direct-mapped cache which has 8 two-word blocks. Also, list if each reference is a hit or a miss, assuming the cache is initially empty. Your answer should be a...

  • 3. 12+2-4 points] We are comparing the two caches in Problem 1 and Problem 2. Suppose both caphes have a hit time of 2 cycles. The cache in Problem 1 has a miss penalty of 15 cycles. The o...

    3. 12+2-4 points] We are comparing the two caches in Problem 1 and Problem 2. Suppose both caphes have a hit time of 2 cycles. The cache in Problem 1 has a miss penalty of 15 cycles. The one in Problem 2 has a miss penalty of 25 cycles. Calculate the total time taken (in cycles) for all accesses, for each cache. Which cache is better- the one in Problem 1 or Problem 2? 3. 12+2-4 points] We are comparing...

  • use the following list of 32 bit memory address references, given as word addresses. Note that...

    use the following list of 32 bit memory address references, given as word addresses. Note that you will need to convert them to binary: 3, 180, 43, 2, 191, 88, 190, 14, 181, 44, 186, 253 4. Assume a direct-mapped cache with 16 one-word blocks. For each reference, list the binary address, the tag, the index, and if the reference is a hit or a miss, assuming the cache is initially empty.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT