retagged by
551 views
2 votes
2 votes
Cache memory can exploit spatial locality of reference

1)by remembering which pieces of data have been accessed recently

2)when some data items are re-accessed frequently

3)by remembering which cache blocks have been recently written to

4)only if cache line size is greater than 1 byte
retagged by

1 Answer

2 votes
2 votes
option D is correct

a system can be word or byte addressable if cache line size is 1 byte then every time when block is placed in memory only 1 byte is comes along it.

If cache line size is greater then 1 byte then we can exploit Spatial locality by bringing requested byte of information along with it adjacent byte . like say we have cache line size of 2 byte that means 1 cache block is capable of holding 2 bytes of info, let say we have 100 pages each page is of 1 byte so when we get request of if we get request for page 32 we will also load page 33 because chances are high that next request will be for that page

 

option A is similar to LRU policy

option B is similar to temporal locality

No related questions found