Skip to content

Log engine scaling utilisation as a percentage - #138

Open
tmakatos wants to merge 1 commit into
control-socket-peer-cachefrom
engine-util-percent
Open

tmakatos wants to merge 1 commit into
control-socket-peer-cachefrom
engine-util-percent

Conversation

@tmakatos

Copy link
Copy Markdown
Collaborator

The threshold engine logged per-thread utilisation as a raw fraction
with full f64 precision (e.g. util=0.9932802709036076). Log it as a
percentage with two decimals instead, under util_pct to make the unit
explicit.

AI-generated: everything
Signed-off-by: Thanos Makatos thanos.makatos@nutanix.com


Stack created with GitHub Stacks CLI • Give Feedback 💬

@tmakatos
tmakatos added this pull request to stack #139 October 21, 2026 22:08
@tmakatos
tmakatos marked this pull request as draft October 21, 2026 22:09
@tmakatos
tmakatos force-pushed the engine-util-percent branch from b0ec10f to da1c7b3 Compare October 22, 2026 08:59
@tmakatos
tmakatos force-pushed the engine-util-percent branch from da1c7b3 to 0a905b0 Compare October 22, 2026 09:13
@tmakatos
tmakatos force-pushed the engine-util-percent branch 2 times, most recently from 4990a54 to cff4445 Compare October 22, 2026 09:43
@tmakatos
tmakatos marked this pull request as ready for review October 22, 2026 09:44
@tmakatos
tmakatos force-pushed the engine-util-percent branch from cff4445 to 9672656 Compare October 22, 2026 10:14
@tmakatos
tmakatos removed this pull request from stack #139 October 22, 2026 10:22
@tmakatos
tmakatos added this pull request to stack #146 October 22, 2026 10:22
@tmakatos
tmakatos removed this pull request from stack #146 October 22, 2026 10:30
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 9672656 to 92194c5 Compare October 22, 2026 10:30
@tmakatos
tmakatos added this pull request to stack #147 October 22, 2026 10:30
@tmakatos
tmakatos removed this pull request from stack #147 October 22, 2026 10:47
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 92194c5 to 36c47e3 Compare October 22, 2026 10:47
@tmakatos
tmakatos added this pull request to stack #149 October 22, 2026 10:47
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 36c47e3 to 98ec438 Compare October 22, 2026 10:52
@tmakatos
tmakatos force-pushed the engine-util-percent branch 2 times, most recently from 36c47e3 to b3777f2 Compare October 22, 2026 11:41
@tmakatos
tmakatos force-pushed the engine-util-percent branch from b3777f2 to d9efbf7 Compare October 22, 2026 11:41
@tmakatos
tmakatos force-pushed the engine-util-percent branch from ad0d653 to 8c89b4a Compare October 22, 2026 13:43
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 8c89b4a to 0beb073 Compare October 22, 2026 13:46
@tmakatos
tmakatos force-pushed the engine-util-percent branch 2 times, most recently from 9e99803 to 93082de Compare October 22, 2026 16:26
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 93082de to 57c8c9f Compare October 22, 2026 16:45
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 57c8c9f to c3626b8 Compare October 23, 2026 07:13
@tmakatos
tmakatos force-pushed the engine-util-percent branch from c3626b8 to 387cdae Compare October 23, 2026 07:23
@tmakatos
tmakatos force-pushed the engine-util-percent branch 4 times, most recently from 71305af to 0c26e4f Compare October 26, 2026 16:37
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 0c26e4f to 6661a5c Compare October 26, 2026 16:44
@tmakatos
tmakatos force-pushed the engine-util-percent branch 2 times, most recently from 62550bb to 2a90758 Compare October 26, 2026 18:08
@tmakatos
tmakatos removed this pull request from stack #149 October 26, 2026 18:18
@tmakatos
tmakatos added this pull request to stack #167 October 26, 2026 18:19
@tmakatos
tmakatos force-pushed the engine-util-percent branch from 2a90758 to bfcebaa Compare October 29, 2026 18:40
The threshold engine logged per-thread utilisation as a raw fraction
with full f64 precision (e.g. util=0.9932802709036076). Log it as a
percentage with two decimals instead (e.g. util=99.33%).

AI-generated: everything
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
@tmakatos
tmakatos force-pushed the engine-util-percent branch from bfcebaa to 8a8510a Compare October 29, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants