Purchase Solution

Cache access time

Not what you're looking for?

Ask Custom Question

A single level cache has following specifications.

Access time = 2.5 ns
Line size = 64 bytes
Hit ratio = 0.95

Main memory uses a block transfer capability, and has first word (4 bytes) access time of 50 ns and access time for following words as 5 ns.

Compute the access time when there is a cache miss? Assume that the cache waits until the line has been fetched from main memory and then re-executes for a hit.

Will increasing the line size to 128 bytes, and a resulting increase in H (hit ratio) to .97, reduce the average memory access time?

Purchase this Solution

Solution Summary

The solution gives step by step computations for better understanding of how to solve this kind of numericals.

Solution Preview

Block size = Line size = 64 bytes = 64/4 or 16 (4 bytes) words

Time to fetch a line (or transfer a block) from main memory
= 50 ns to transfer first word + (15 * 5) ns to transfer remaining 15 words
= 50 + 75
= 125 ns

Cache access time on a cache miss
= time to completely fetch a line from ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.