specs-go/config: add Core Scheduling support #1114
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.58) × (1 − Review Confidence (0.87)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.58 · 48 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 5 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.233
Sensitive Paths
sensitive_paths
0.058
Real PR Conversation Timeline
7 items
Dear spec maintainers, would you please kindly take a look at the proposal when you get a chance? We do have some specific usage and asks here: https://github.com/opencontainers/runtime-spec/issues/1113#issuecomment-1153221877.
Many thanks!
Did you mean thread groups?
Did you mean processes?
And in which PIDNS?
What is "current?
FWIW the feature is there in the kernel, util-linux has coresched utility to use it. It's also used by containerd and kata-containers. Other software (runc, crun, youki, kubernetes, systemd) do not have any support.
AkihiroSuda
kailun-qin
Linux kernel 5.14 adds the support for Core Scheduling.
This allows setting and copying core scheduling 'task cookies' between
the container process and the threads (PID), processes (TGID), and
process groups (PGID), which helps define groups of tasks that can be
co-scheduled on the same core. These groups can be specified either for
security usecases or for performance usecases.
https://github.com/opencontainers/runtime-spec/issues/1113
Signed-off-by: Kailun Qin <kailun.qin@intel.com>