GATE Computer ScienceHardGATE CS (PYQ pattern)
A cache line holds 8 words. Memory returns the first word 20 cycles after the request and then one word per cycle. Without critical-word-first the processor waits for the whole line (27 cycles); with critical-word-first and early restart it resumes when the requested word arrives (20 cycles). Hit time is 1 cycle and miss rate 5%. What are the average access times (no CWF, CWF)?
- A. (2.00, 2.35)
- B. (1.35, 1.00)
- C. (2.35, 1.35)
- D. (2.35, 2.00)
Correct answer: D. (2.35, 2.00)
No CWF: 1 + 0.05 × 27 = 2.35. With CWF the miss penalty seen by the processor is 20: 1 + 0.05 × 20 = 2.00 (assuming the requested word is the first one fetched).
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A physically indexed, physically tagged cache needs the TLB first: a TLB hit takes 1 ns and the cache hit then takes 2 ns. A VIPT cache…
- A physically tagged L1 data cache is 32 KB, 8-way set-associative with 64-byte blocks. Physical addresses are 40 bits and pages are 4 KB…
- A pipeline (ideal CPI 1) can predict branches not-taken (a taken branch costs 3 cycles, a not-taken one 0) or predict taken (a taken…
- A direct-mapped cache with 32-byte blocks and 32-bit addresses stores, for every line, only a tag and a valid bit as metadata. The total…
- A loop computes y[i] += A[i][j] × x[j] for a 64×64 matrix of 4-byte floats (A in row-major order at address 0, x at 16384, y at 17024)…
- A 2²²-word memory uses a coincident (2-D) decoding scheme with a square cell array: one decoder selects the row, another the column. How…