The GATE Grind

GATE 2008 CS – Question 71

Computer Organization and Architecture · Memory Interfacing and Hierarchy · 2 marks · Multiple choice

A machine has a2-way set-associative64 KB cache, 16-byte blocks, 32-bit virtual addresses, 4 KB pages. double is8 bytes. ARR[1024][1024] begins at virtual-page0xFF000 and is row-major. Cache initially empty, no prefetch; only array stores access data memory. Code:

double ARR[1024][1024];
int i,j;
for(i=0;i<1024;i++)
 for(j=0;j<1024;j++) ARR[i][j]=0.0;

What is the total size of tags in the cache directory?

  1. 32 Kbits
  2. 34 Kbits
  3. 64 Kbits
  4. 68 Kbits

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (D) 68 Kbits

Explanation

We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort

More Memory Interfacing and Hierarchy questions

All Memory Interfacing and Hierarchy questions →