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

Conisder the following :

No. of cycles to send address to memory = 2
No. of cycles to access main memory = 15
No. of cycles to transfer a data = 2

Assume that main memory is byte addressable and cache block size is 4 bytes. Further assume that clock rate of CPU is 2GHz. The miss penalty time is __________ns.


A
40
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
50
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
30
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
35
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D 35
option (b)

Miss penatly = 2 +(4 * 15) + (4 * 2) = 70 cycles

Only one time address si sent2 cycles

4 times (for 4 bytes) memory is accessed4 15 cycles

4 times (for 4 bytes) data is transferred 4 2cycles

1 cycle time=12 Ghz=0.5 ns

total time = 70 * 0.5 = 35 ns


flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Mathematical Expectation
ENGINEERING MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon