Computer Science I / Machine-Level Debugging Logic
Practice question · Multiple choice

A program is made to run on eight cores instead of one and gets four times faster, not eight. What sets the ceiling?

Hints
  1. Suppose a fifth of the work must run in order. What happens to that fifth as cores are added?
  2. Take the number of cores to infinity. What is left?
Show the answer

B. The sequential fraction, which bounds the speedup however many cores you add

Why

The sequential part does not shrink, so it becomes the whole runtime as cores multiply: 20% sequential caps you at five times with infinite hardware. It is why parallelising is a design problem rather than a procurement one, and why the interesting question is always which fraction is genuinely serial.

Read the lesson: Machine-Level Debugging Logic →

Practise Machine-Level Debugging Logic

The app has 7 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Machine-Level Debugging Logic