The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
108 views
Consider a cache of size 64 bytes, with block size 16 bytes and main memory is divided into blocks of 16 bytes each i.e. block 0 has address 0 to 15 so on. Consider the following program that access memory in given sequence:

1.Access address 63 through 70

2.Loop i) 15 through 32,

           ii) 80 through 95

            jump to Loop

If cache is organized as direct cache and loop is accessed 10 times, then the hit ratio is ________.
(Assume line 0 contain address 0, 4, 8 etc. and line 1 contain address 1, 5, 7 etc. and so on.) [Upto 2 decimal places]
asked in CO & Architecture by Active (1.1k points) | 108 views
+1
Can you share the answer for this?

1 Answer

0 votes
answered by Active (5k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
48,720 questions
52,818 answers
183,476 comments
68,569 users