• edited by
646 views
0 0 votes
Consider a program given below and run on a system that has 2-way set associative 16KB data cache with 32 bytes block where each word size is 32 bits and LRU replacement policy is used. If the base address of A is 0 initially cache is empty then the number of data cache misses are there.

int i , A[1024*1024], x=0;

for(i=0;i<1024;i++)

{

x=x+A[i]+A[1024*i];

}

Please log in or register to answer this question.

Position:
Show:

Related questions

75 75 votes
9 answers 9 answers
40.8k
40.8k views
Kathleen asked Sep 13, 2014
40,798 views
The access times of the main memory and the Cache memory, in a computer system, are $500$ n sec and $50$ nsec, respectively. It is estimated that $80\%$ of the main memor...
0 0 votes
0 0 answers
336
336 views
Ashwani Yadav asked Dec 6, 2018
336 views
correct answer is 32.5 .why in the calculation, on cache miss, cache access time is not included?
0 0 votes
0 0 answers
1.6k
1.6k views
Somoshree Datta 5 asked Nov 11, 2018
1,644 views
Consider a single level cache with an access time of 2.5ns, a line of 64B and a hit ratio of 0.95. Main memory uses a block transfer capability that has a first word i.e....
0 0 votes
0 0 answers
1.4k
1.4k views
Gate Fever asked Nov 3, 2018
1,358 views
IS THE ANSWER 1.794??