Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Multilevel caching is an important technique to overcome the limited amount of space that a first level cache can provide while still maintaining its speed.

Multilevel caching is an important technique to overcome the limited amount of space that a first level cache can provide while still maintaining its speed. Consider a 2GHz processor with the following parameters:

Base CPI, No memory stalls

Main Memory Access Time

First Level cache Miss Rate

Second Level Direct Mapped Cache Speed

Global Miss Rate Second Level Direct Mapped Cache

Second Level Direct 8-Way Associative Cache Speed

Global Miss Rate Second Level 8-Way Associative Cache

1.5

100 ns

7%

12 cycles

3.5%

28 cycles

1.5%

A. Calculate the CPI for the processor in the table using the following three options: only a first level cache, a second level direct-mapped cache, a second level 8-way set associative cache.

Compare the three designs and explain which one provides better performance and why.

B. It is possible to have an even greater cache hierarchy than two levels. Given the processor above with a second level, direct-mapped cache, a designer wants to add a third level cache that takes 50 cycles to access and will reduce the global miss rate to 1.3%. Would this provide better performance? In general, what are the advantages and disadvantages of adding a third level cache?

Step by Step Solution

3.38 Rating (148 Votes )

There are 3 Steps involved in it

Step: 1

ANSWER 5121 1 First level cache only CPItotal CPIbase CPImemorystalls CPIbase L1missmain mem... 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

Computer Organization and Design The Hardware Software Interface

Authors: David A. Patterson, John L. Hennessy

5th edition

124077269, 978-0124077263

More Books

Students also viewed these Operating System questions