Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A second chance cache (SCC) is a hardware cache designed to decrease conflict misses and improve hit latency for direct-mapped L1 caches. It is employed

image text in transcribedimage text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

A "second chance cache (SCC) is a hardware cache designed to decrease conflict misses and improve hit latency for direct-mapped L1 caches. It is employed at the refill path of an L1 data cache, such that any cache line (block) which gets evicted from the cache is cached in the SCC. In the case of a miss in L1, the SCC cache is looked up (in some implementations, the SCC and L1 cache are looked up in parallel but we omit that possibility in this question). If the resulting access is a hit in the SCC, the line is transferred to L1. (b) One designer suggests to employ a direct-mapped L1 cache of (A+B) KB, instead of employing a direct-mapped L1 cache of A KB and an SCC of B KB. Are you in favor of this suggestion? Why? Or why not? [4 points] (c) Give a sample data access sequence that is not good for the SCC. Explain clearly why it is not good. [4 points] (d) Do you think an SCC should be direct-mapped or set-associative? Why? [4 points] (e) Do you think an SCC can be used along with an L2 or L3 cache as well? Explain. [4 points] A "second chance cache (SCC) is a hardware cache designed to decrease conflict misses and improve hit latency for direct-mapped L1 caches. It is employed at the refill path of an L1 data cache, such that any cache line (block) which gets evicted from the cache is cached in the SCC. In the case of a miss in L1, the SCC cache is looked up (in some implementations, the SCC and L1 cache are looked up in parallel but we omit that possibility in this question). If the resulting access is a hit in the SCC, the line is transferred to L1. (b) One designer suggests to employ a direct-mapped L1 cache of (A+B) KB, instead of employing a direct-mapped L1 cache of A KB and an SCC of B KB. Are you in favor of this suggestion? Why? Or why not? [4 points] (c) Give a sample data access sequence that is not good for the SCC. Explain clearly why it is not good. [4 points] (d) Do you think an SCC should be direct-mapped or set-associative? Why? [4 points] (e) Do you think an SCC can be used along with an L2 or L3 cache as well? Explain. [4 points]

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

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago