1,295 views
1 votes
1 votes
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]

1 Answer

No related questions found