Docsity

Advance computer architecture, Exercises of Computer Science

Partial preview of the text

Download Advance computer architecture and more Exercises Computer Science in PDF only on Docsity!

Stalls and performance Stalls impede progress of a pipeline and result in deviation from 1 instruction executing/clock cycle CPI pipelined = — Ideal CPI + Pipeline stall cycles per instruction — 1 + Pipeline stall cycles per instruction Ignoring overhead and assuming stages are balanced: CPI unpipelined Speedup = 1+ pipeline stall cycles per instruction Ideally, speedup equal to # of pipeline stages Stalls occur because of hazards! Computer Architecture