Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need more help with the math portion of the answer given below. Please provide very detailed steps in the response. A one-level cache system

I need more help with the math portion of the answer given below. Please provide very detailed steps in the response.

A one-level cache system contains a SRAM cache that is n times faster than the main memory. The cache has an access time T and its miss rate is m. Show that this system will provide an average memory access speed up of n/(1 + mn). Irrespective of how fast the cache hardware is, show that the speed up has an upper bound 1/m. (4 points)

Answer:

Average access time for a one-level cache system is given by,

t = T + (1 - h) nT = T + mnT

where nT and T are cycle times of the main memory and cache, respectively, and h = 1 - m is the hit rate.

Therefore,

nT nT n

Speed up = = =

t T + mnT 1 + mn

If we let the cache be infinitely faster than the main memory, then

n 1

Speed up = Lim = Lim = 1/m

n 1 + mn n (1/n) + m

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

Survey of Accounting

Authors: Carl S Warren

5th Edition

9780538489737, 538749091, 538489731, 978-0538749091

Students also viewed these Mathematics questions