CPU baseline stuck on 6.25% regardless of selected machine

According to CPU Performance · Fly Docs I expected that CPU baseline will increase with more shared CPUs but seems that it’s always brought back to 6.25%. When I scaled to 8x shared, the baseline went up to 25% (I guess it should to 50%) and then immediately went down to 6.25%. Any clues what’s going on? On the screen the app before scaling up was at 2x.

Hm… Perhaps you could post the uncropped panel, showing all three axes (x-axis + 2 y-axes) and the panel title, etc.? That way, we readers can tell whether we’re actually looking in the same corner of Grafana as you are, :sweat_smile:

(The main throttling graph isn’t always easy to interpret.)

Good point! Thanks.

1 Like

In the CPU Quota Balance and Throttling graph, the lines that use the left-hand x-axis are divided by number of CPUs, which is a weird Linux tradition.

My guess is that the spike was when the numerator and the divisor briefly went out of synch, but I could be wrong there.

If you use Explore, you can see the exact queries.

The graph indeed displays cpu-baseline / cpu-count. I clicked “explore” as you suggested and the query clearly indicates fly_instance_cpu_baseline/count(fly_instance_cpu)*100.

I was misled by the picture in the cpu performance docs, where the dashed line appeared to be at ~60%. With the default query, the baseline graph will always be at 6.25%.

Thanks you very much for helping me out!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.