From first principles derive an expression for the speedup ratio of a memory system with cache (assume the hit ratio is h, and the ratio of main store access time to cache access time is k, where k < 1). Assume that the system is an ideal system and that you don't have to worry about the effect of clock cycle times.

What will be an ideal response?


The time to access a memory without cache is n?tm, where n is the number of accesses and tm the memory
access time.
The total time to access memory is the time due to cache accesses plus the time due to main memory accesses,
that is, n?(tc?h + tm?m), where h is the hit rate and m the miss rate.
The speedup ratio is n?tm/(n.(tc?h + tm?m)) = tm/(tc.h + tm?m). However, m = 1 ? h because h + m = 1 (an access is
either a hit or a miss).
Speedup ratio = tm/(tc?h + tm?(1 ? h)) = 1/(h?tc/tm + 1 ? h) = 1/(h?k + 1 ? h) where tc/tm = k.

Computer Science & Information Technology

You might also like to view...

Compose a sentence that no one ever said by combining words from other sounds into a grammatically correct new sound. Write a function named audioSentence to generate a sentence out of individual words. Use at least three words in your sentence. You can use the words in the mediasource folder from the Web site or record your own words. Be sure to include a tenth (1/10) of a second pause between the words. (Hint 1: Remember that zeroes for the sample values generate silence. Hint 2: Remember that the sampling rate is the number of samples per second. From there, you should be able to figure out how many samples need to be made zero to generate a tenth of a second of silence.) Be sure to access your sounds in your Media Folder using getMediaPath so that it will work for users of your progr

What will be an ideal response?

Computer Science & Information Technology

Which of the following options is a useful format for your resume?

A. Print B. Email C. HTML D. All of the above

Computer Science & Information Technology

?Identify the property that best matches the following style rules.

A. ?It is a command to create a dialog box containing a message. B. ?It returns a text string displaying value tonsignificant digits either to the left or to the right of the decimal point. C. ?It is used to reference an object as part of a collection in a document. D. ?It returns the HTML code withinelementas well as the HTML code ofelementitself. E. ?It is an object collection in which all the elements are marked with the tag. F. ?It returns the text withinelementdisregarding any HTML tags. G. ?It is indicated by the - - symbol, which reduces the operand's value by 1. H. ?It appears when a fault happens when a browser is unable to complete a line of code. I. ?It returns a text string displayingvaluetondecimal places. J. ?It extracts the first integer value from a sequence of characters.

Computer Science & Information Technology

The figure above shows a reflection across the ____________________ axis.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology