← All text tools

Computer Performance Calculators

Work out speedup from Amdahl's and Gustafson's laws, and cache effective access time from hit ratio and access times, including a two-level cache.

  • Free
  • No sign-up
  • Works on any device

About Computer Performance Calculators

Adding processors does not speed up a program without limit. Amdahl's law gives the speedup for a fixed workload from the parallel fraction p and the processors N: 1 / ((1 - p) + p / N). Gustafson's law is the scaled view, (1 - p) + p x N, where the problem grows with the machine. A third calculator gives the effective memory access time of a cache from its hit ratio, cache time and memory time, and a fourth handles two cache levels. Example: p = 90 percent on 8 processors gives a speedup of 4.706, never more than 10.

How to use Computer Performance Calculators

  1. Choose Amdahl, Gustafson, cache access time or two-level cache.
  2. Enter the parallel fraction and processors, or the hit ratios and access times in nanoseconds.
  3. Read the result, the efficiency or the miss costs, and the table for other processor counts.

Why use this tool?

Also known as

Frequently asked questions

What is the difference between Amdahl's law and Gustafson's law?

Amdahl keeps the problem size fixed and shows the ceiling set by the serial part. Gustafson lets the problem grow with the processors, so the serial share of the run time shrinks and the speedup stays close to N.

Which cache access time formula should I use?

Use Tc + (1 - h) x Tm when the memory is read only after a miss, and h x Tc + (1 - h) x Tm when the cache and memory are searched together. Textbooks differ, so follow the one you are working from.

Are these results exact for real programs?

No. They are idealized models without communication, scheduling or contention costs, so real speedups are lower. Use them to see the limits and to compare options.

Is Computer Performance Calculators free?

Yes. Computer Performance Calculators on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.