Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a 1 G H z machine with 1 6 - bit address bus, a direct - mapped L 2 cache of 1 K B

Consider a 1GHz machine with 16-bit address bus, a direct-mapped L2 cache of 1KB and an 2-way associative L1 cache of 512B with the following access times: 1.2 miss penalty: 250 cycles, L2 hit time: 20 cycles, L1 hit time 1 cycles.
a. Calculate the average memory access time for the system if the memory instructions are 10% and hit rates are 50% for L1 and 80% for L2.
b. If the cache block size is 8 bytes, how many block positions does each cache have? c. For the following address references, write the tag and the cache index (line) for both caches: 044B4,02 AE3,0137,062E5. Also, indicate if any pair of these addresses result will share the same block position in any of the two caches. Use the table at the end to tabulate your answers.
\table[[Address,0x44B4,0x2AE3,0x137,0x62E5],[L2 Cache,,],[Tag,,,,],[Line ID,,,,],[L1 Cache,,,,],[Tag,,,,],[Line ID,,,,]]
image text in transcribed

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 Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions