Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

2. Find the AMAT (average memory access time) in ns for a machine with 2.5GHZ clock, a miss penalty of 30 clock cycles, a

 

2. Find the AMAT (average memory access time) in ns for a machine with 2.5GHZ clock, a miss penalty of 30 clock cycles, a 85% hit rate, and a cache access time (i.e hit time) of 2 clock cycle. 3. A memory has 32-bit addresses. It also has a 512 KB cache. Each block is 64 bytes in size. Note 1K = 210, IM=220 a. How many blocks are there in the cache if the cache is a direct-mapped cache? b. How many sets are there in the cache if the cache is a 2-way set-associative cache? c. Show the partitioning of a memory address into the appropriate fields, if the cache is a direct-mapped cache, 2-way set associative, and fully associative cache, respectively. That is to find how many bits needed for tag, block/set index and byte offset, respectively. d. What is the total size of the cache if the cache is a direct-mapped cache? e. What is the total size of the cache if the cache is a 2-way set associative cache?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

978-0124077263

More Books

Students also viewed these Computer Network questions

Question

SR 1.21 Where does processing begin in a Java application?

Answered: 1 week ago

Question

9-1 Describe the performance appraisal process.

Answered: 1 week ago

Question

9-4 List steps to take in the appraisal interview.

Answered: 1 week ago