Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CPU affinity to executed processes #2795

Open
utam0k opened this issue May 21, 2024 · 5 comments
Open

Add CPU affinity to executed processes #2795

utam0k opened this issue May 21, 2024 · 5 comments
Assignees

Comments

@utam0k
Copy link
Member

utam0k commented May 21, 2024

opencontainers/runtime-spec#1253

@keisku
Copy link
Contributor

keisku commented Jun 1, 2024

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?

@utam0k
Copy link
Member Author

utam0k commented Jun 2, 2024

@keisku Thanks! I'll assign you. I'm looking forward to your PR ;)

@utam0k
Copy link
Member Author

utam0k commented Jun 26, 2024

@keisku Hi, Keisuke. Do you need some help?

@keisku
Copy link
Contributor

keisku commented Jun 27, 2024

@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 🙇

@keisku
Copy link
Contributor

keisku commented Jun 28, 2024

@utam0k FYI, I created containers/oci-spec-rs#174 to import execCPUAffinity from youki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants