Question: Consider a simple memory hierarchy with the following: - L 1 cache. - The L 1 cache is augmented with a prefetcher. The prefetcher features
Consider a simple memory hierarchy with the following:
L cache.
The L cache is augmented with a prefetcher. The prefetcher features a single Stream Buffer with a depth of memory blocks. Only the head entry of the Stream Buffer can be searched for a Stream Buffer hit. The Stream Buffer uses a single, fixed, blocklevel stride: This is the simplest design and the one presented initially in lecture.
a Suppose both the L cache and its Stream Buffer are initially empty. The CPU issues a read request for block A Show the contents of the L cache and its Stream Buffer after the request is completed.
L cache:
list blocks from lowest to highest block address
Blank Question
Stream Buffer:
head Blank Question
Blank Question
Blank Question
Blank Question
b This part is a continuation of part a Next, the CPU issues a read request for block A Show the contents of the L cache and its Stream Buffer after the request is completed.
L cache:
list blocks from lowest to highest block address
Blank Question
Blank Question
Stream Buffer:
head Blank Question
Blank Question
Blank Question
Blank Question
c For each of the two requests in parts a and b indicate the following:
When the L cache installed the CPUrequested block, where did it get the block from Stream Buffer or Main Memory
How many prefetch requests did the Stream Buffer issue to Main Memory?
Where did L get the block from? How many prefetch requests did the
Stream Buffer issue to Main Memory?
part a: CPU requested block A Blank Question Blank Question
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
