Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Cache basics (3 pts) Consider a cache for a system that does not support virtual memory Gi.e. no paging and no translation). The byte-addressable

image text in transcribed
2. Cache basics (3 pts) Consider a cache for a system that does not support virtual memory Gi.e. no paging and no translation). The byte-addressable address space consists of K bytes, the cache has Z sets, N ways, and a block size of S bytes. a) If we want to address compulsory misses, and we do not change the capacity of the cache, will the bit length of the tag become larger, smaller, or stay the same? Why? If we want to address conflict misses, and we do not change the capacity of the cache, will the bit length of the tag become larger, smaller, or stay the same? Why? b) If associativity decreases by 4x, Z doubles, and cache capacity goes up by 12x, how many bits are in each of the tag, index and block offset fields, in terms of the given parameters of the original cache? c) it length (tag)

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

=+2 Why are so many countries bothered by their brain drains?

Answered: 1 week ago