Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (18 points) A fully associative cache has 4 cache lines and uses an LRU replacement strategy. Addresses are 20 bits and are byte-addressable. The

image text in transcribed

2. (18 points) A fully associative cache has 4 cache lines and uses an LRU replacement strategy. Addresses are 20 bits and are byte-addressable. The block size is 256 bytes a. (2 points) How many bits are in the block offset? b. (20 points) Trace through the following sequence of addresses determining if there wasa hit or a miss. The cache starts out empty Hit / Miss Address 0x12345 0x12397 0x12346 0x23456 0x23587 0x12289 0x12357 0x60000 0x12289 0x23456 0x12399 0x23587 2. (18 points) A fully associative cache has 4 cache lines and uses an LRU replacement strategy. Addresses are 20 bits and are byte-addressable. The block size is 256 bytes a. (2 points) How many bits are in the block offset? b. (20 points) Trace through the following sequence of addresses determining if there wasa hit or a miss. The cache starts out empty Hit / Miss Address 0x12345 0x12397 0x12346 0x23456 0x23587 0x12289 0x12357 0x60000 0x12289 0x23456 0x12399 0x23587

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

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions