0 votes 0 votes Ans 128 Operating System zeal numerical-answers operating-system memory-management + – SKMAKM asked Oct 22, 2022 recategorized Oct 22, 2022 by makhdoom ghaya SKMAKM 482 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply SKMAKM commented Oct 22, 2022 reply Follow Share Here how to find Tag if MM Size is given 0 votes 0 votes SKMAKM commented Oct 22, 2022 reply Follow Share Please reply 0 votes 0 votes jugnu1337 commented Oct 22, 2022 reply Follow Share as we know cpu size is 32 bit cache size = 256KB = 2$^{18}$B block size = 32B = 2$^{5}$B and they ask tag directory remember tag directory = no of bit in tag field * no of cache line (without associativity) no of cache line = $\frac{cache size}{block size}$ =$\frac{2^{18}}{2^{5}}$ =2$^{13}$ now cache line is 4 way set associative so 2$^{13}$/4 = 2$^{11}$ now the formate is look like |__tag= 16_bit_____________|_______#of cache line set =11___________|_____block offset= 5__________| tag directry = 16 * 2$^{13}$ { by using tag directory = no of bit in tag field * no of cache line =128Kb 4 votes 4 votes Kabir5454 commented Oct 22, 2022 reply Follow Share https://gateoverflow.in/750/gate-cse-2001-question-9 see this . 2 votes 2 votes Please log in or register to add a comment.