edited by
332 views
0 votes
0 votes

Consider a machine with 8-way set associative cache of size 4k bytes,Line size is 16 bytes.The 20 bit physical address main-memory is used to store A[64][64] array in RMO from 0xFF000.A program to be run is given below .Element size is 8 bytes

Double A[64][64]
for(i=0;i<64;i++)
{
  for(j=0;j<64;j++)
   {
     A[i][j]=0.0;
   }
}

a) Which array elements share same address space?

b)Hit ratio of above cache when stored in RMO and CMO?

Provide detailed explanation 

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
0 answers
2
Devshree Dubey asked Aug 1, 2018
239 views
What is the main reason behind using Cache Mapping?Suppose if there is a cache hit, then will mapping be of any use?