1,947 views
1 votes
1 votes
  • Consider the following statements
    S1 : The number of lines contained in a set associative cache can be calculated from the number of bits in the memory address, the number of bits assigned to the tag, the number of bits assigned to the word id (identifying the number of words per block), and the number of bits assigned to the set id (identifying the number of sets.)
    S2 : Write through cache write mechanism creates more bus traffic compared to Write back
    Which of the following statements is/are true?
    1.   S1
    2.   S2
    3.   Both S1 and S2
    4.   None of the above

1 Answer

0 votes
0 votes

S1:False because the number of bits in the memory address, the number of bits assigned to the tag, the number
of bits assigned to the word id, and the number of bits assigned to the set id can only tell you how many sets
there are. You need to know the number of lines per set in order to calculate the number of lines.

S2: True Write through will create more bus traffic because it will simultaneously update both Cache and Ram.You can imagine a situation where a huge amount of memory references are made and then CPU will be busy in just updating them through System and Data Bus.

Related questions

1 votes
1 votes
1 answer
2
0 votes
0 votes
1 answer
4