2,568 views
1 1 vote
  • 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 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.

Position:
Show:

Related questions

4 4 votes
1 1 answer
1.8k
1.8k views
rahul sharma 5 asked Jan 3, 2017
1,797 views
Please some one share good resource to read Simultaneous and heirarchial memory access with write back and write through cache.There are already some posts asking the sam...
1 1 vote
1 1 answer
891
891 views
0 0 votes
1 1 answer
1.3k
1.3k views
sushmita asked Dec 12, 2018
1,266 views
In this question can someone plz explain to me the write back part? Why are we taking write back time only for cache misses? Why not for hits? How to know when a block i...