• edited by
1,412 views
2 2 votes
THE size of memory required at cache controller to store the metadata is 2kbyte The metadata include tag bits 1 modified bit and 1 valid bit The cache contain 1KBlocks of 32 bytes each organized as directed mapped The size of Main memory is __ Mbytes?

1 Answer

1 1 vote

Answer :  $512 MB$


The size of memory required at cache controller to store the metadata = $2KB = 2^{11}B$

Tag entry size in metadata = $x$ tag bits +$1$ modified bit +$1$ valid bit

#Cache Lines given = $1K = 2^{10}$

Block Size = $32 = 2^5B$

Given, Total size of metadata = $2^{11} * 8bits  = 2^{14}b$

Total size of metadata = Tag entry size ×Number of cache blocks = $(x+1+1)* 2^{10}$

Hence, $2^{14} = (Tag+1+1)*2^{10} \implies Tag = 14 bits$

Thus Size of Main Memory address = Tag + Line Offset + Block Size = $14 + 10+5 = 29bits$

Therefore, the size of MM = $2^{29} = 512 MB$ (ANS)

 

 

Position:
Show:

Related questions

76 76 votes
9 answers 9 answers
41.3k
41.3k views
Kathleen asked Sep 13, 2014
41,271 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...
2 2 votes
1 1 answer
183
183 views
naveendewangan asked Aug 2
183 views
Assume 15% of L1 misses are resolved in the victim cache. If retrieving data from the victim cache takes 4 cycles and retrieving data from main memory take 50 cycles, by ...