in CO and Architecture
1,194 views
1 vote
1 vote
In a particular system it is observed that, the cache performance get improved as a result of increasing the block size of the cache. The primary reason behing this is:

1. Program exhibits temporal locality

2. Programs have small working set

3. Read operation is frequently required rather than write operation

4. Program exhibits spatial locality

What would the answer to this Question ? asked in NIELIT assistant paper..
in CO and Architecture
1.2k views

1 comment

I think it is due to spatial locality of reference.

In spatial locality, a word and its neighbour are taken into block for future use...

Hence by using block size spatial locality of reference will be more.
3
3

1 Answer

0 votes
0 votes
Helps improve miss rate b/c of principle of locality:
1)Temporal locality says that if something is accessed once, β€œit will probably be accessed again soon"
2)Spatial locality says that if something is accessed, something nearby it will probably be accessed
Note: Larger block sizes help with spatial locality. Easiest way to reduce miss rate is to increase cache block size