Add CPU affinity to executed processes
utam0k opened this issue · comments
Hi, I am looking for an opportunity to contribute to youki and this issue looks interesting!
If my understanding is correct, we can use the runc code, startCommandWithCPUAffinity() that calls sched_setaffinity(2), as a reference.
Can I give this task a try?
@keisku Thanks! I'll assign you. I'm looking forward to your PR ;)
@keisku Hi, Keisuke. Do you need some help?
@utam0k thanks for heads up! I was waiting for opencontainers/runtime-spec#1253 to be merged. Now I am able to work on this issue. When I need some help, I will reach out to you 🙇
@utam0k FYI, I created containers/oci-spec-rs#174 to import execCPUAffinity
from youki
.