Skip to content

Commit

Permalink
talk about steal
Browse files Browse the repository at this point in the history
  • Loading branch information
btoews committed Oct 10, 2024
1 parent 74b6d0c commit 5767893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions machines/cpu-performance.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ The easiest way to see your CPU utilization, baseline quota, and throttling is o
![chart showing CPU utilization, steal, baseline, and throttling](../images/cpu-quota.webp)

Here, we can see a machine that was running well bellow it's baseline quota. It had accumulated a 50s/vCPU runtime balance. Then, during a burst of activity, CPU utilization exceeded the baseline quota, causing the balance to drain. When the balance reached 0, the machine was briefly throttled. When CPU utilization went down, throttling was disabled and the balance accumulated again.

A related and somewhat misleading metric is CPU steal. You can see this under the `mode=steal` label in the `fly_instance_cpu` metric. Steal is the amount of time your vCPUs are wanting to run, but our scheduler isn't allowing them to. This can happen due to throttling when your machine exceeds its quota, but it can also be a sign that other machines on the same host are competing for resources. We publish a separate `fly_instance_cpu_throttle` that only includes time your vCPUs were throttled for exceeding quota.

0 comments on commit 5767893

Please sign in to comment.