Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a Fully Associative cache with 4 lines using LRU replacement. The word size is one byte, there is one word per block, and the

image text in transcribed

Given a Fully Associative cache with 4 lines using LRU replacement. 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 the 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.. How many Compulsory Misses occurred

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

Students also viewed these Databases questions