With the following configuration: 8MB total memory, 256kb cache , 4kb is block size.Using direct mapping, how many different physical memory blocks can be mapped on to the cache.A. 64B. 256C. 128

Showing Answers 1 - 4 of 4 Answers

Sameer Gupta

  • Sep 28th, 2005
 

Total cache size =256kb=2^18 bytes

Block size=4kb=2^12bytes

Each block will be mapped in each cache line.

So total no. of different physical blocks that can be mapped at a time in the cache will be 2^18/2^12=64

  Was this answer useful?  Yes

sameergupta

  • Sep 28th, 2005
 

Total cache size =256kb=2^18 bytesBlock size=4kb=2^12bytesEach block will be mapped in each cache line.So total no. of different physical blocks that can be mapped at a time in the cache will be 2^18/2^12=64

  Was this answer useful?  Yes

hani

  • Nov 16th, 2013
 

A

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions