A 32 KB direct-mapped cache has 64-byte blocks, and addresses are 32 bits. How many bits are in the tag?
Computer Organization and Architecture
Memory hierarchy, caches, pipelining, instruction formats and performance. 8 questions with worked solutions.
A cache has a hit time of 1 ns, a miss rate of 5% and a miss penalty of 100 ns. What is the average memory access time in ns?
A 5-stage pipeline executes 100 independent instructions with no stalls. How many clock cycles does it take?
For a very large number of instructions and no hazards, the speedup of a -stage pipeline over an unpipelined processor approaches:
80% of a program can be parallelised perfectly. What is the maximum speedup on 4 processors (Amdahl's law)?
Which addressing mode is most natural for accessing successive elements of an array?
How many address lines are needed to address 64 KB of byte-addressable memory?
Which cache write policy needs a dirty bit per block?