GATE Computer ScienceVery hardGATE CSE
Memory has 8 low-order interleaved banks; a bank is busy for 6 clock cycles after starting an access, and at most one new access can be started per cycle, in program order (an access that finds its bank busy stalls the stream). 16 words with addresses 0, 4, 8, …, 60 (stride 4) are read. Starting at cycle 0, at which cycle does the last access finish?
- A. 21
- B. 49
- C. 43
- D. 55
Correct answer: B. 49
Stride 4 uses only banks 0 and 4, so each bank can start only one access per 6 cycles (8 per bank, starting at cycles 0, 6, …, 42 and 1, 7, …, 43): the 16 accesses finish at cycle 49 (stride 1 would finish at 21).
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 64-bit virtual address space uses 8 KB pages and 8-byte page-table entries, and every page-table level occupies exactly one page. What…
- A TLB access takes 5 ns, a main-memory access 80 ns, and the TLB hit ratio is 95%. On a TLB miss, a two-level page table walk needs two…
- A disk transfers data at 12 MB/s into memory using DMA in 4-byte words. Each word transfer steals 3 bus cycles of 20 ns from the CPU…
- A microprogrammed control unit has five fields of mutually exclusive control signals containing 5, 9, 3, 12 and 7 signals respectively…
- A 64-byte direct-mapped cache with 16-byte lines is write-back and write-allocate (line = block mod 4). Accesses (type, byte address) in…
- A task is split into four pipeline stages with delays 120, 90, 150 and 100 ns, and each pipeline latch adds 10 ns. A non-pipelined…