Performance & Advanced Computer Architecture Interview Questions (Part 5)
The final and most senior-leaning part of the series — performance metrics (CPI, IPC, Amdahl's and Gustafson's Law, the roofline model) and advanced cross-cutting topics (memory hierarchy, cache coherence, out-of-order execution, SIMD, multicore, GPUs, and domain-specific architecture).
Intro Why This Guide
Part 5 closes out the series with the topics that dominate mid-to-senior computer architecture interviews: performance metrics and modern processor design. This is where interviewers stop asking 'what is X' and start asking 'given this scenario, calculate Y' or 'why would a designer choose X over Y' — CPI and IPC calculations, Amdahl's and Gustafson's Law, the roofline model, and power-performance trade-offs.
The second half moves into advanced, cross-cutting territory: memory hierarchy and cache behavior, cache coherence in multiprocessor systems, out-of-order execution hardware (reorder buffers, precise exceptions), SIMD and Flynn's taxonomy, and how GPU architecture fundamentally differs from CPU design. These 58 questions are the ones most likely to come up in senior RTL, performance architecture, and ASIC design interviews.
If you've worked through Parts 1–4, this is the natural finish line — the questions here assume you already understand pipelining, hazards, and branch prediction, and build on top of that foundation.
Context Why These Questions Are Asked in Interviews
Performance metric questions test quantitative reasoning under pressure — interviewers want to see you can actually work through a CPI or speedup calculation, not just recite the formula.
The advanced topics (cache coherence, out-of-order hardware, GPU architecture) are asked at senior levels to gauge whether you understand how real, modern high-performance systems are built beyond the classroom model of a single in-order pipeline.
How to use this list
Use the search box below to jump to a specific question, or expand every answer at once to read through the whole section. Tap any question to reveal its full answer.
58 questions
Q146–Q155 Throughput, MIPS, FLOPS & Benchmarks
Q146 What is MIPS (Million Instructions Per Second) and its limitations? ▸
Q147 What is FLOPS and when is it used? ▸
Q148 What are benchmark suites and why are they used? ▸
Q149 What is the SPECratio and how is it calculated? ▸
Q150 How does cache performance affect CPI? ▸
Q151 What is the iron law of processor performance? ▸
Q152 What is Amdahl's Law and how do you apply it? ▸
Q153 What is Gustafson's Law? ▸
Q154 What is the memory wall problem? ▸
Q155 How is throughput calculated for a pipelined processor? ▸
Q156–Q170 Power, Amdahl's/Gustafson's Law & CPI Stacks
Q156 What is the power-performance tradeoff? ▸
Q157 What is performance per watt and why is it important? ▸
Q158 What is the roofline model? ▸
Q159 What is the difference between peak performance and sustained performance? ▸
Q160 How do you compare performance of two processors? ▸
Q161 What is the impact of instruction mix on CPI? ▸
Q162 How does multithreading affect throughput and CPI? ▸
Q163 What is the concept of 'making the common case fast'? ▸
Q164 Explain the relationship between clock frequency, CPI, and performance. ▸
Q165 What is energy-delay product (EDP)? ▸
Q166 How is CPI affected by superscalar width? ▸
Q167 What is Little's Law and how does it apply to processor performance? ▸
Q168 What is the difference between benchmark-based and analytical performance evaluation? ▸
Q169 What is the significance of the power wall? ▸
Q170 What is the CPI stack analysis? ▸
Q171–Q183 Memory Hierarchy, Cache & Multithreading
Q171 What is the memory hierarchy and why does it exist? ▸
Q172 What is cache memory and how does it improve performance? ▸
Q173 What are the types of cache misses (the Three Cs)? ▸
Q174 What is virtual memory? ▸
Q175 What is the TLB and why is it critical for performance? ▸
Q176 What is cache coherence in multiprocessor systems? ▸
Q177 What is simultaneous multithreading (SMT)? ▸
Q178 What is the difference between multicore and multiprocessor? ▸
Q179 What is SIMD (Single Instruction, Multiple Data)? ▸
Q180 What is Flynn's taxonomy? ▸
Q181 What is a GPU and how does its architecture differ from a CPU? ▸
Q182 What is DMA (Direct Memory Access)? ▸
Q183 What is the difference between SRAM and DRAM? ▸
Q184–Q193 Out-of-Order Execution & Power Management
Q184 What is instruction prefetching? ▸
Q185 What is write-back vs write-through cache policy? ▸
Q186 What is out-of-order execution and what hardware structures does it require? ▸
Q187 What is the reorder buffer (ROB)? ▸
Q188 What is power gating and clock gating? ▸
Q189 What is dynamic voltage and frequency scaling (DVFS)? ▸
Q190 What is a hardware prefetcher and how does it work? ▸
Q191 What is the difference between CISC-style and RISC-style interrupt handling? ▸
Q192 What is the concept of precise exceptions? ▸
Q193 What is speculative execution and how does the processor recover from misspeculation? ▸
Q194–Q203 GPUs, NUMA, Systolic Arrays & Modern Design
Q194 How does branch prediction accuracy relate to pipeline depth? ▸
Q195 What is the difference between Harvard and Modified Harvard architecture? ▸
Q196 What is the role of the memory controller in modern CPUs? ▸
Q197 What is the difference between NUMA and UMA memory architectures? ▸
Q198 How do modern processors achieve high IPC? ▸
Q199 What is a systolic array? ▸
Q200 What is domain-specific architecture (DSA)? ▸
Q201 What is the concept of memory consistency models? ▸
Q202 What is the fetch width and its impact on performance? ▸
Q203 What is the difference between latency-oriented and throughput-oriented architectures? ▸
Prep Tips for Freshers & Experienced Engineers
For Freshers
- Practice the CPU performance equation (Execution Time = Instructions × CPI × Clock Period) with numbers until you can solve it without hesitation — it's the single most reused formula across this section.
- Understand Amdahl's Law conceptually before memorizing the formula: it's about the limit imposed by the non-parallelizable portion of a task.
- Know the basic memory hierarchy (registers → L1/L2/L3 cache → main memory → disk) and be able to explain why it exists in terms of cost, speed, and size trade-offs.
For Experienced Engineers
- Be ready to walk through a CPI stack analysis (Q170) — breaking down cycles lost to different stall sources is a favorite senior-level question because it mirrors real performance debugging.
- Have a clear answer for cache coherence protocols and why they matter in multicore systems — this is one of the most common senior architecture questions.
- Be prepared to discuss GPU vs CPU architecture (Q181, Q203) in terms of latency-oriented vs throughput-oriented design — this comes up often given the current focus on AI accelerator design.
Avoid Common Mistakes
- Quoting Amdahl's Law without being able to explain what happens to speedup as the parallel portion approaches 100% — the diminishing-returns intuition matters more than the formula.
- Confusing MIPS/FLOPS (raw throughput metrics) with CPI/IPC (per-instruction efficiency metrics) — they measure different things and aren't directly comparable across ISAs.
- Describing cache misses without distinguishing the three Cs (compulsory, capacity, conflict) — a very common follow-up question.
- Explaining out-of-order execution without mentioning the reorder buffer and precise exceptions — these are what make OOO execution safe to expose to software.
FAQ Frequently Asked Questions
Is Part 5 only relevant for senior candidates?
Do ASIC and VLIW design interviews really go this deep into performance metrics?
What's the difference between Amdahl's Law and Gustafson's Law, in one line?
Why does this article cover GPUs if the series is about CPU architecture?
I've finished all five parts — what should I study next?
Wrap-up Conclusion
That's the full series — from ISA fundamentals and RISC vs CISC in Part 1, through pipelining, hazards, and branch prediction, to performance metrics and advanced modern architecture here in Part 5. Together these 203 questions cover the range of what computer architecture interviews actually test, from campus placements to senior ASIC and performance architecture roles.
Ready for the next round?
Keep the momentum going — work through all five parts back to back, or jump straight to the topic your next interview is focused on.
Part 1: Continue Learning
Comments
Post a Comment