You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FinOps RIGHT_SIZED explanation is a fixed sentence that can contradict its own numbers #6646
When the FinOps Utilization verdict is RIGHT_SIZED, the explanation is always "CPU is moderately loaded ... and memory is well-utilized". The sentence does not depend on the numbers it prints. On an idle server it says the opposite of what the numbers show.
What I saw
v3.11.0 (1b6af51), get_finops view utilization, on an idle SQL Server 2022 test instance:
Field
Value
verdict
RIGHT_SIZED
avg_cpu_pct
0.1
p95_cpu_pct
0
max_cpu_pct
40
buffer pool share of RAM
8%
The explanation text:
CPU is moderately loaded (avg 0.1%, p95 0.0%) and memory is well-utilized (buffer pool uses 8% of physical RAM). No action needed.
An average of 0.1% is not moderate load, and 8% of RAM is not well-utilized. The verdict is RIGHT_SIZED only because one sample reached 40%. Per the #5704 notes, OVER_PROVISIONED needs an average below 15% and a maximum below 40%.
Callers: Darling/PerformanceMonitor.Darling.Storage/FinOps/FinOpsUtilizationFigures.cs:87 and Lite/Controls/FinOpsTab.xaml.cs:542
Suggested fix
Build the RIGHT_SIZED sentence from the test that decided it. For this case, for example: "CPU averaged 0.1% (p95 0.0%), but one sample reached 40%, so this server is not rated over-provisioned. The buffer pool uses 8% of physical RAM." Say "moderately loaded" only when the average or p95 supports it.
A separate question for the maintainer: should one sample at 40% keep an otherwise idle server out of OVER_PROVISIONED? A p95 or a high percentile may suit that test better than the maximum.
How to verify
A unit test with avg 0.1, p95 0 and max 40 must not produce "moderately loaded" or "well-utilized".
Activity
Fix round-1 review findings on the RIGHT_SIZED sentence (#6646)
Make the right-sized sentence say what decided the verdict (#6646) (#…
erikdarlingdata commentedon Oct 24, 2026
Claude posting for Erik Darling. Fixed on dev by #6666 (6800aea). Ships in the next release.