Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a 2-way Set Associative cache with 4 lines using LRU replacement within each set. The word size is one byte, there is one word

image text in transcribed

Given a 2-way Set Associative cache with 4 lines using LRU replacement within each set. The word size is one byte, there is one word per block, and the main memory capacity is 16 bytes. Suppose the cache is initially empty and then the following addresses are accessed in the order listed: {3,4,3,7,7,12,4,8,3,12,7,9}. How many bits are in the tag field? (i.e. the tag itself not including any counter bits) After execution of all of the above references, what are the final contents of the cache ? State your answer as a set of memory addresses whose data resides in cache, e.g. "{3,4,8,12}". For instance, if memory[3], memory[4], memory[8], and memory[12] resided in cache then the answer is stated as "{3,4,8,12}". What is the hit rate? Express your answer as a percent

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

More Books

Students also viewed these Databases questions

Question

Why do medicines frequently taste bitter?

Answered: 1 week ago

Question

create VLAN and configure

Answered: 1 week ago

Question

Consistently develop management talent.

Answered: 1 week ago

Question

4. Help trainees set challenging mastery or learning goals.

Answered: 1 week ago

Question

2. Enrolling employees in courses and programs.

Answered: 1 week ago