Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | GATE CS 2010 | Question 49

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Consider the data from above question. When there is a miss in both L1 cache and L2 cache, first a block is transferred from main memory to L2 cache, and then a block is transferred from L2 cache to L1 cache. What is the total time taken for these transfers?
(A) 222 nanoseconds
(B) 888 nanoseconds
(C) 902 nanoseconds
(D) 968 nanoseconds


Answer: (C)

Explanation: Since the block size of L2 cache is 16 words and the bandwidth of mainmem->L2 cache is 4 words, it requires a transfer of 4 words 4 times and then a transfer of required 4 words from L2 cache to L1 cache.

So total time is 4*(200 + 20) + 1*(20 + 2) = 902 nanoseconds.

Option (C) is correct.



Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 30 Sep, 2021
Like Article
Save Article
Similar Reads