Parallel Computing

Limiting factors

  • Data dependencies Can force you to do some task sequentially.
  • Start-up
  • Bottlenecks: access to shared / slow resources.
  • Communication
  • Resources required for management.

Q1: How much faster can a problem be solved using cores instead of 1.

Strong Scaling

  • Constant Problem size, varying number of workers (cores) center
  • However, A compute Problem in reality center
  • Serial Compute time
  • Parallel Compute time
  • Andahl’s Law for Speed-up (under Strong Scaling) center

Q2: How much more work can be done in parallel instead of in serial.

center

Roofline Model

center

Q3: How fast can a task be executed?

center

Roofline Graph

center

center

center

center

center

center

center

center