Answered step by step
Verified Expert Solution
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
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 workStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started