Repository navigation
benchmarking: add OOM kills to server telemetry - #2391
Open
Nishanth Kotla (Nishanth29) wants to merge 5 commits into
Open
Nishanth Kotla (Nishanth29) wants to merge 5 commits into
Nishanth Kotla (Nishanth29) wants to merge 5 commits into
Conversation
They pooled every atelet's samples, so they were cluster level and duplicated summary. True per-atelet stats will come in a follow-up.
Contributor
Author
|
cc Haowei Cai (Roy) (@roycaihw), Max Smythe (@maxsmythe) - ptal:) |
Nishanth Kotla (Nishanth29)
force-pushed
the
oom-events
branch
from
October 9, 2026 05:03
08cdc02 to
24368cd
Compare
Contributor
Author
|
Da Huang (@git286) Tim Bai (@baizhenyu), adding you as reviewers. What this uses:
If you'd rather add an actor OOM-kill counter in Substrate (e.g. from the |
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.
Depends on #2221 and #2386. Only the last commit, 24368cd8 ("benchmarking: add OOM kills to server telemetry"), is new; I'll rebase once those merge.
Part of #1590
Adds an
oom_eventsblock to server telemetry:node,pod: OOM kills over the run, from cAdvisor'scontainer_oom_events_total.nodecounts global OOMs.podcounts kills inside a worker pod (actor sandboxes and the ateom container) and is best effort: a kill whose cgroup is gone before the scrape is missed.worker_restarts,worker_oomkilled_pods,evicted,worker_pods_lost: from the Kubernetes API, read before and after the run.evictedcomes fromEvictedevents, as atecontroller deletes an evicted pod at once.Other changes:
monitoring.yamlkeepscontainer_oom_events_total.benchmark-workloadsRole can also listevents.Live check (gVisor, 3m):
Actor limit 256Mi, 2 users:
pod= 6, matching 6 kerneloom-killlines, one per actor sandbox. Other fields 0; the worker stayed up.No actor limit, 8 users: the kernel killed the whole worker twice at the pod cgroup limit (
oom_memcg=/kubepods.slice), and the kubelet evicted it.evicted= 7 (1 eviction plus 6 replacement pods the kubelet refused to start),worker_pods_lost= 1,node=pod= 0, as documented.80 measurements in the jsonl row.
Tests pass
Appropriate changes to documentation are included in the PR