Computer Science, asked by Yashleo10, 11 months ago


In many computers the cache block size is in the range of 32 to 128 bytes .What would be the main advantage and disadvantage of making the size of cache blocks larger or smaller?

Answers

Answered by smartbrainz
2

Explanation:

  • A 'larger block size of cache' could increase the 'hit rate' when 'adjacent memory locations' are accessed, i.e. 'good for the spatial locality'. Increase 'cache size' will help 'eradicate conflict' (collision) in multiple 'memory locations' mapped to the same 'cache location'.
  • A 'larger size block' increases the 'size of the cache', thereby increasing cost. On the other side, a 'large size block size' adds the opportunity of fragmentation and false sharing in a 'multiprocessor system'.

To know more

A block-set associative cache memory with 128 blocks are divided into four block sets. The main memory consists of 16,384 blocks where each block contains 256 eight bit words. How many bits are required for addressing the main memory?

https://brainly.in/question/9354156

Which of the following is true about the cache? Line sizeLine size >block size

https://brainly.in/question/8737225

Similar questions