CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Arrange the following types of cache organization in the decreasing order of memory size required at cache controller:
Direct-mapped cache, 4-way set associative cache, fully-associative cache.

[Note: consider the cache size and block size same for all organization]

A
4-way set associative, direct mapped, fully associative
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
All organization requires same memory at cache controller
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Fully-associative, 4-way set associative, Direct mapped
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Direct-mapped, 4-way set associative, fully-associative
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C Fully-associative, 4-way set associative, Direct mapped
option (b)

If the block size and cache size are same, then number of blocks in cache will also be same.
Cache controller memory size - Number of blocks in cache * Tag-size , size of tag in fully associative cache is maximum and then next in set associative and then minimum in direct mapped.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Cache Address Mapping: Associative Mapping 1
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon