Conversation
tmakatos
requested review from
lforchini-ntnx and
ntnx-matej-genci
as code owners
September 23, 2026 22:32
tmakatos
added this pull request to stack #20
September 23, 2026 22:32
lforchini-ntnx
approved these changes
Sep 24, 2026
lforchini-ntnx
force-pushed
the
per_task_cpu_util
branch
from
September 24, 2026 13:12
834d3bc to
3305053
Compare
tmakatos
force-pushed
the
per_task_cpu_util
branch
from
September 24, 2026 13:24
3305053 to
47e7b2c
Compare
lforchini-ntnx
force-pushed
the
per_task_cpu_util
branch
from
September 24, 2026 13:44
47e7b2c to
760cc36
Compare
tmakatos
force-pushed
the
add_get_stats_dbus_method
branch
from
September 24, 2026 13:46
72f8aa9 to
c13d047
Compare
tmakatos
force-pushed
the
per_task_cpu_util
branch
6 times, most recently
from
September 24, 2026 14:08
a965562 to
9def9e5
Compare
tmakatos
force-pushed
the
add_get_stats_dbus_method
branch
from
September 24, 2026 14:11
876128d to
af9b67c
Compare
tmakatos
force-pushed
the
per_task_cpu_util
branch
2 times, most recently
from
September 24, 2026 14:19
04c45fa to
edb4d99
Compare
Expose the read-only `GetStats() -> s` D-Bus method in debug and release builds. It returns a JSON object containing the current tick and tracked VMs with their thread count, vCPU bound, manual sticky state, automatic- scaling eligibility, per-thread CPU utilisation, and cumulative I/O counters. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
This allows calculating average vs. median CPU utilisation, which helps identifying load imbalances. This new piece of information is now printed in the per-VM periodic message (when enabled). Specifically, a new field is added in the 'cpu' field containing the median, before: INFO ... cpu=average per-thread/total worker CPU percent after: INFO ... cpu=average per-thread/median/total worker CPU percent Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
tmakatos
force-pushed
the
per_task_cpu_util
branch
from
September 24, 2026 14:20
edb4d99 to
616d9ae
Compare
tmakatos
removed this pull request from stack #20
September 24, 2026 20:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows calculating average vs. median CPU utilisation, which helps
identifying load imbalances. This new piece of information is now
printed in the per-VM periodic message (when enabled). Specifically,
a new field is added in the 'cpu' field containing the median, before:
after:
Signed-off-by: Thanos Makatos thanos.makatos@nutanix.com
Stack created with GitHub Stacks CLI • Give Feedback 💬