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}. 1.1) How many bits are in the tag field? (i.e. the tag itself not including any counter bits). 1.2) 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}". 1.3) What is the hit rate? Express your answer as a percent.. 1.4) 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_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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

how would you have done things differently?

Answered: 1 week ago