Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 . ( 2 0 points ) Basic cache Consider a memory system composed of a single cache and DRAM. The parameters of the

Problem 2.(20 points) Basic cache
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.

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

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

What are the purposes of promotion ?

Answered: 1 week ago

Question

4. How is culture a contested site?

Answered: 1 week ago