Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

Students also viewed these Databases questions

Question

=+ Who are the buyers/users of the products abroad?

Answered: 1 week ago

Question

=+What is the nature of the plant or site-level role of unions?

Answered: 1 week ago