Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In a set-associate cache memory system of 64 slots, a 16-bit memory address is decomposed into three fields as below to determine the location of

image text in transcribed

In a set-associate cache memory system of 64 slots, a 16-bit memory address is decomposed into three fields as below to determine the location of a datum in the cache. Tag address : bit A15- bit A11 Set address : bit A 10 - bit A6 Offset address : bit A 5 - bit A 0 A cache directory entry of a slot in the cache system contains a tag address field and a frequency counter for housekeeping. The frequency counter is incremented by 1 whenever the slot is accessed, and it is reset to 1 when a new block of data is moved from the main memory into the slot. The least-frequently-used (LFU) replacement policy is used in the cache system. Table 1 shows the initial state of the cache system. Each entry in the table shows the tag field of a particular slot. The values in the brackets show the values of the frequency counters associated with the ways. Suppose that the CPU wants to access the data in addresses 4148H, 11A8H, 198CH, 09F8H and 11BBH sequentially. (a) With a table, shows the cache directory entries of sets 5, 6 and 7 after each access. (b) Determine the hit rate for the sequence of accesses. (c) Given that the space of the memory system is addressable in bytes, determine the maximum number of data bytes that can be stored in the cache. (d) Name a potential problem of a cache system which adopts the LFU replacement policy. (e) What is the advantage of the write back policy over the write through policy when they are used to handle a write hit

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

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

5. Our efficiency focus eliminates free time for fresh thinking.

Answered: 1 week ago