The first trap was a JVM flag, -XX:TieredStopAtLevel=1. It stops the JIT compiler at its quick tier, with no full optimisation.
Each request then ran about 4 times as many instructions. The service served less than half the rate. Measured
Yet every hardware counter looked better. The counters flattered a change that cut the rate by more than half.
The second trap was a CPU limit set below the workload's need. CFS throttling pushed P99 past 5 seconds on a host that looked half idle. Measured
Raising the limit brought P99 back to 5 milliseconds. Measured No line of Java changed.