opencontainers / runc

CLI tool for spawning and running containers according to the OCI specification
https://www.opencontainers.org/
Apache License 2.0
11.74k stars 2.09k forks source link

Support for Core Scheduling #3061

Open crosbymichael opened 3 years ago

crosbymichael commented 3 years ago

This was a recent merge for 5.14 mainline and it would be good to support for container usage. Containers could set a cookie so that they could be co-scheduled on SMT systems. This would be useful for all containers within a pod.

I think a cli flag maybe the best route for these features because of the current prctl api for the feature but this could also make it into the runtime spec.

Just wanting to start the discussion here.

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.14-Core-Scheduling https://lwn.net/ml/linux-kernel/YNlxcCpk4shGcPrU@gmail.com/

kailun-qin commented 3 years ago

Opened a proposal with a drafted version in runtime-spec. Reviews/feedbacks are much appreciated!