Perf method
Workshop explainer · 4 Dec 2026 (Pacific)

How to test a server's speed and compare cloud machines fairly

What this is
This explainer breaks down the four-step performance loop from a two-hour AWS re:Invent 2026 workshop. The method works on every cloud. The one catch is CPU hardware counters, which only some machine types show.
Why it exists
Explain this workshop to me, and tell me whether it is applicable to all clouds.
Length
8 short pages; the last one is where you decide.
The situation

A two-hour re:Invent workshop taught one repeatable loop for performance

On 3 Dec 2026, a two-hour AWS re:Invent workshop tested how to judge server changes fairly. AWS deletes the event accounts and reports afterwards, so this page keeps what held up.

Every measured number here comes from the workshop's reference run on event machines. None of these tests ran on your company's clusters yet.

To follow the four labs, you need five plain terms.

A service is only "fast" if you say what fast means. P99 is the response time that 99 percent of requests beat. The slowest 1 percent take longer.

That promise has a name. An SLO is the speed target you promise. In the workshop it was a P99 of 500 milliseconds or less.

With a target, you can find each machine's limit. The breaking point is the highest steady request rate a machine serves within its SLO.

To see why a machine hits that limit, you look inside the CPU. Hardware counters are counts the CPU chip keeps itself, like clock cycles, instructions and cache misses.

One counter matters most. IPC means instructions finished per CPU cycle. Low means waiting; high means busy computing.

The answer

Define broken first, find the breaking point, and price per million requests

Judge machines and code changes by cost per million requests at your P99 target. Never rely on hourly price or CPU percent alone.

Your question had two parts. Here is the verdict on the first part: does the method work on every cloud?

Yes

The loop, its tools and its pricing math work on every cloud

The four-step loop is plain maths. Every tool is open-source Linux software that runs on AWS, Oracle Cloud, Google Cloud and Azure.

From docs

The second part has one catch. Look at what does not carry over by itself:

Even without hardware counters, you can still find breaking points and price machines fairly. Look at three headline results from the workshop's reference run:

0.31 vs 2.64IPC
Memory wait versus compute, at the same 98 percent CPU
Measured
0.0278US dollars / M
Cost per million requests on beta, one workshop machine
Measured
+90% / -47%
Throughput gain and cost drop from halving an array's bytes
Measured

Workshop reference run on event machines, 3 Dec 2026. The IPC pair comes from bottlenecks made on purpose with a stress tool. Nothing here was measured on your company's clusters.

Every number above came from holding one variable still and changing one thing at a time.

The story

Six pages cover the loop, four labs, other clouds and your clusters

Here is the whole argument in eleven short lines:

The story in short
  1. A two-hour AWS re:Invent 2026 workshop on 3 Dec 2026 ran one four-step performance loop across four labs, and AWS deletes the event accounts afterwards.
  2. Judging machines by CPU percent and hourly list price fails, because a busy core can be stalled waiting on memory.
  3. The loop observes the workload with an open-source profiler, measures the highest request rate that still meets a P99 target, diagnoses the wait, and prices each fix per million requests.
  4. In Lab 1's reference run, memory and compute stressors both hit 98 percent CPU, while instructions per cycle split them at 0.31 versus 2.64.
  5. In Lab 2, the cheapest machine per hour was the most expensive per million requests, while the middle machine served the workload at 0.0278 US dollars per million.
  6. In Lab 3, halving the bytes each request read on the same machine lifted throughput by 90 percent and cut cost per million by 47 percent, shifting the bottleneck to compute.
  7. In Lab 4, a shared host blended two tenants into a meaningless IPC of 3.05, one Java runtime flag improved every counter while cutting the rate below half, and a low CPU limit pushed P99 past 5 seconds.
  8. The loop, open-source tools and cost formula work on AWS, Oracle Cloud, Google Cloud and Azure, and every major cloud now offers Arm chips.
  9. The one cloud catch is CPU hardware counters, which need whole-socket AWS sizes, opt-in on Google C4 and C4A machines, and a one-second test on Oracle virtual machines.
  10. Every measured number here comes from the workshop's reference run, not from your company's clusters, and Oracle virtual-machine counter access is still untested.
  11. Four short choices on the Decide page pick where to test this loop first on your company's Kubernetes clusters.

Each page then covers one part of it:

  • The loop: the four steps in order, the three open-source tools, and where the profiler fits.
  • Lab 1: counters: why 98 percent CPU can hide a memory stall.
  • Labs 2 + 3: cost: hourly price versus cost per million, plus the code fix.
  • Lab 4: runtime: noisy neighbours, container limits, and a JVM (the program that runs Java code) flag that fooled every counter.
  • Every cloud?: counter rules and chip families on AWS, Oracle, Google and Azure.
  • For your work: Kubernetes throttling, instance choice, seven rules and what is untested.