Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

thumbs up for good answer thx 15 pts) Consider a system that has three layers of cache that on average require 1.5ns response time per

image text in transcribed

thumbs up for good answer thx

15 pts) Consider a system that has three layers of cache that on average require 1.5ns response time per memory access with a hit rate of 98%. RAM provides the last 2% of hit rate, but has a 100ns response time. We can calculate the average search time by multiplying the hit rate by the accumulation of the response times at each level: 98 * 1.5ns+.02 * (1.5ns + 100ns) = 3.5ns Weighted time for L1 is in orange and underlined, and weighted time for RAM is in blue and double-underlined (10 pts) Using this cumulative approach, complete the following table to calculate AMAT for a system with 5 levels of memory: 3 cache plus RAM and Disk. Simply add the weighted times together to get AMAT a. Isolated Cumulative Weighted Time (ns) Mem Hierarchv Time (ns) Time (ns) L1 Cache L2 Cache L3 Cache RAM Disk Hit Rate 89.00% 8.00% 1.75% 0.95% 0.30% AMAT: 100 10000 b. (5 pts) Not all instructions require memory access. If your CPI is currently 1.5, based on a 2 GHz system, and 35% of your instructions require memory accesses, but the AMAT is 20, what CPI do you really have? Show your work

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_2

Step: 3

blur-text-image_3

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

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

Students also viewed these Databases questions

Question

Comment on the magnitude and range of scrap shown in Table 16.4?

Answered: 1 week ago