GATE Computer ScienceVery hardGATE CS
Three processors P0, P1, P2 use a snooping MESI write-invalidate protocol on one block that is initially invalid everywhere. A read miss loads in E if no other cache holds the block and in S otherwise (a cache in M supplies the data and writes it back to memory). A write to S issues an upgrade (invalidate) transaction; a write miss issues a read-for-ownership; a write to E or M is silent. The accesses are P0 R, P0 W, P1 R, P1 R, P2 R, P2 W, P2 W, P0 R, P1 W, P1 R. How many bus transactions occur and how many write-backs to memory happen, as a pair?
- A. (6, 2)
- B. (6, 3)
- C. (7, 2)
- D. (5, 2)
Correct answer: A. (6, 2)
P0 R (BusRd, E), P0 W silent (M), P1 R (BusRd, P0 writes back, both S), P1 R hit, P2 R (BusRd), P2 W (upgrade), P2 W silent, P0 R (BusRd, P2 writes back), P1 W (read-for-ownership), P1 R hit. Bus transactions: 6; write-backs: 2.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A program has a serial fraction of 5% when run on 1 processor. Under Amdahl's law (fixed problem size) the speedup on 64 processors is SA…
- A process of size s = 4 MB runs under paging with a one-level page table in which each page-table entry occupies e = 8 bytes. The wasted…
- A RAID 5 array has 6 disks, each able to perform 120 random I/Os per second. A small random read costs 1 disk I/O and a small random write…
- A vector processor has one memory pipeline, one multiplier and one adder, 64-element vector registers and full chaining. Start-up…
- A virtualised x86-64-style system translates a guest virtual address using a 4-level guest page table and a 4-level nested (host) page…
- How many distinct IEEE 754 single-precision numbers x satisfy 0.5 ≤ x ≤ 4 (counting both endpoints)?