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


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 | 155 views
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)

@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
51,925 questions
58,889 answers
112,749 users