Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 3 Cache operation Suppose we are using the cache in Problem 2. Starting from power on, the following byte addresses (in decimal) are recorded

image text in transcribed

QUESTION 3 Cache operation Suppose we are using the cache in Problem 2. Starting from power on, the following byte addresses (in decimal) are recorded in cache references 1, 4,16,132, 232, 128, 1024, 30, 140, 3100, 228, 2180 First, construct on paper a table like following one. Then answer the questions Binary Addr 000 00000 0001 000 00000 0100 0 Address Ta Index Miss/Hit Cache update Block 0 bytes 0.. 15 4 16 Fill in the following blanks with integers After accessing address 1, bytes from address 0 to address 15 are loaded in cache block 0 After accessing address 16, bytes from address to address are loaded in cache block to address are loaded in cache After accessing address 132, bytes from address block After accessing address 232, bytes from addres block to address are loaded in cache There are hits out of the 12 memory accesses (and you can calculate the hit rate) QUESTION 3 Cache operation Suppose we are using the cache in Problem 2. Starting from power on, the following byte addresses (in decimal) are recorded in cache references 1, 4,16,132, 232, 128, 1024, 30, 140, 3100, 228, 2180 First, construct on paper a table like following one. Then answer the questions Binary Addr 000 00000 0001 000 00000 0100 0 Address Ta Index Miss/Hit Cache update Block 0 bytes 0.. 15 4 16 Fill in the following blanks with integers After accessing address 1, bytes from address 0 to address 15 are loaded in cache block 0 After accessing address 16, bytes from address to address are loaded in cache block to address are loaded in cache After accessing address 132, bytes from address block After accessing address 232, bytes from addres block to address are loaded in cache There are hits out of the 12 memory accesses (and you can calculate the hit rate)

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 Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions