Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) ( i ) What is Principle of Locality for memory access? ( ii ) Discuss if data access ( global and local

(a)(i) What is Principle of Locality for memory access?
(ii) Discuss if data access (global and local variables) satisfies this principle.
[3]
(iii) Explain why 2-way set associative cache always has a smaller cache miss
rate. [2]
Why direct-mapped cache is still used?
(b) Consider a hypothetical machine with 1024 words of cache memory. They are
in two-way set associative organization, with cache block size of 64 words, using
FIFO replacement algorithm. The cache hit time is 9 ns. Suppose the machine
can access 2 words of memory in parallel, and the time to transfer the first
2 words from main memory to cache is 60ns, while each subsequent 2 words
require 11 ns.
Consider the following read pattern (in blocks of 64 words, and block id starts
from 0
image text in transcribed

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

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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

What prices caused Courtneys new charges?

Answered: 1 week ago