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

Cache tag directory entry contains modified dirty-bit if the cache is

A
write back
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Both (A) and B
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
write through
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Not related with cache write
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A write back
option (b)

In write-back cache only modified blocks are written back into main memory; not modified blocks are directly overwritten. It saves memory access time. To keep track of modified blocks one bit is stored in cache tag directory entry for each block: which is known as modified/dirty bit.
In write through cache main memory content is immediate updated a long with cache updation. So no need to keep track of modified block. Hence no any modified/dirty bit needed in cache directory entry.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Distribution of Population
Watch in App
Join BYJU'S Learning Program
CrossIcon