Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Imagine we're working on a system with 65kb of memory (so pointers are 16 bits long). We have a 2-way associative cache with 16 sets

Imagine we're working on a system with 65kb of memory (so pointers are 16 bits long). We have a 2-way associative cache with 16 sets and a blocksize of 32 bytes a) How many bytes of data can we store in our cache? (don't include storage of tags, valid bits, LRU info, etc)

b) How many bits of a pointer are used as a tag?

c) What set does the pointer 0xF8C7 map to? Write you answer in decimal.

d) Assuming I access a bunch of 8-byte long values, one time each, so that the total amount of memory I access is the size of my cache, what is the lowest cache miss rate I can possibly achieve, assuming the cache is initially cold?

e) Why might my cache miss rate be worse than the answer for the previous question, even if the size of the data I access is exactly equal to the size of my cache?

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 Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

13. You always should try to make a good first impression.

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago