Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a memory system composed of a single cache and DRAM. The parameters of the memory system are given below: - Memory address: 1 6

Consider a memory system composed of a single cache and DRAM. The parameters of the memory
system are given below:
- Memory address: 16-bit
- Cache line size: 16 bytes
- Cache capacity: 64 bytes
- Set-associativity: 2
- Replacement policy: LRU
- Write-back, write-allocate policy
- Cache access latency: 4 cycles
- DRAM access latency: 100 cycles
A.(2 points) How many bits are required for a tag for a cache line in this cache?
B.(3 points) What is the total storage overhead per cache line other than the tag bits if cache
coherence is not supported (i.e., the cache is for a uniprocessor). Examine the design
parameters carefully one by one and make sure that all the features are supported.
C.(3 points) If MESI coherence protocol support is added to the cache, what is the minimal
amount of additional storage overhead per cache line required? Ignore the transient states
for this problem.
D. Assume the cache is initially empty. Consider the following memory references given as byte
addresses where each reference is for a word-sized data:
0xDDAC, 0x9930,0xA498,0xDDAC, 0xF18C,0xD5A4,0x9A14,0xA490,0xF18C,
0xA494,0xDDA4
D-a)(4 points) What is the cache miss rate?
D-b)(2 points) What is the average memory access time in cycles?
D-c)(3 points) Let n be the number of conflict misses and let m be the number of capacity
misses. What is the value of 2n x 3m?
D-d)(3 points) Let n be the number of cache hits from the temporal locality and let m be the
number of cache hits from the spatial locality. What is the value of 2n x 3m?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

=+What can I do to make this press worthy?

Answered: 1 week ago