EmbeddedRelated.com
Zebras Hate You For No Reason: Why Amdahl's Law is Misleading in a World of Cats (And Maybe in Ours Too)

Zebras Hate You For No Reason: Why Amdahl's Law is Misleading in a World of Cats (And Maybe in Ours Too)

Jason Sachs
Still RelevantIntermediate

I’ve been wasting far too much of my free time lately on this stupid addicting game called the Kittens Game. It starts so innocently. You are a kitten in a catnip forest. Gather catnip. And you click on Gather catnip and off you go....


Summary

This informal, analogy-driven blog examines how Amdahl's Law can give misleading intuition about performance gains from parallelism by comparing it to gameplay in the Kittens Game. Readers will learn practical limitations of theoretical speedup — including overheads, non-parallelizable work, and changing workload assumptions — and how those lessons apply to embedded systems and RTOS design decisions.

Key Takeaways

  • Recognize the assumptions behind Amdahl's Law and why they often fail in real embedded workloads.
  • Consider overheads, synchronization, and I/O when estimating parallel speedup on microcontrollers or multicore SoCs.
  • Measure actual workload behavior and use scaling models (e.g., Gustafson) rather than relying solely on Amdahl for design choices.
  • Balance power, latency, and complexity trade-offs when deciding to parallelize tasks in firmware or RTOS schedulers.

Who Should Read This

Embedded firmware and systems engineers (intermediate level) working with RTOS or multicore MCUs who want practical guidance on when and how parallelism yields real benefits.

Still RelevantIntermediate

Topics

RTOSFirmware DesignARM Cortex-MBare-Metal Programming

Related Documents