The Gateway to Computer Science Excellence
0 votes
151 views
Consider a 2 way set associative cache with 4 blocks. The memory block requests in the order.

4,6,3,8,5,6,0,15,6,17,20,15,0,8

If LRU is used for block replacement then memory set 17 will be in the cache block ____.

 

(PS: the given answer is 1)
in CO and Architecture by (245 points)
edited by | 151 views
+1
they have given the answer for set number and asked for cache block number.

Answer is cache block number 4(or 3 if you start from 0) and set number 1(as there are two sets 0 and 1)
0

@Shaik Masthan @MiNiPanda what should be correct ans 4 or 3, or it depend upon the implementation?

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,833 questions
57,713 answers
199,427 comments
107,696 users