A given program has 25% load/store instructions. Suppose the ideal CPI (cycles per instruction) without any memory stalls is 2. The program exhibits 2% miss rate on instruction cache and 8% miss rate on data cache. The miss penalty is 100 cycles. The speedup ( rounded off to two decimal places) achieved with a perfect cache (i.e., with NO data or instruction cache misses) is …
Topic-wise GATE CS PYQs with verified steps
