Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a cache for a system that does not support virtual memory (i.e. no paging and no translation). The byte-addressable address space consists of Z
Consider a cache for a system that does not support virtual memory (i.e. no paging and no translation). The byte-addressable address space consists of Z bytes, the cache has S sets, A ways, and a block size of K bytes. 3. Cache basics (9 pts) a) (3) If the degree of associativity increases 3x, S 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 S, A, and K parameters of the original cache? Bit length (tag) Bit length (index) Bit length (block offset) b) (6) For each of the following, list both of 1) which one of the "3 Cs" of cache misses is being addressed by the proposed change to a cache, and 2) what the dominant cost (negative considerations) of applying the proposed change is likely to be. Assume that any parameters not mentioned are not modified. i) Associativity doubles, number of sets halves li) Number of sets quadruples, associativity halves ii) Block size doubles, associativity halves Consider a cache for a system that does not support virtual memory (i.e. no paging and no translation). The byte-addressable address space consists of Z bytes, the cache has S sets, A ways, and a block size of K bytes. 3. Cache basics (9 pts) a) (3) If the degree of associativity increases 3x, S 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 S, A, and K parameters of the original cache? Bit length (tag) Bit length (index) Bit length (block offset) b) (6) For each of the following, list both of 1) which one of the "3 Cs" of cache misses is being addressed by the proposed change to a cache, and 2) what the dominant cost (negative considerations) of applying the proposed change is likely to be. Assume that any parameters not mentioned are not modified. i) Associativity doubles, number of sets halves li) Number of sets quadruples, associativity halves ii) Block size doubles, associativity halves
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started