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

Question: How to set the smp_affinity of a specific interrupt? #513

Open
teodorkostov opened this issue Mar 3, 2023 · 1 comment
Open

Comments

@teodorkostov
Copy link

I would like to set the smp_affinity of the network card (eth0) interrupts on a specifi core (let's say 0). Further more I would like to specify the affinity of a few network related services (e.g. sshd) to the same core.

How can I configure with tuned the affinity of a single interrupt?
Does tuned have a way to manage the affinity of other services?

PS: The kernel command line irqaffinity narrows down the cores where the interrupts happen. However, I would like to have more detailed control for specific interrupts.

@yarda
Copy link
Contributor

yarda commented Mar 7, 2023

AFAIK there is currently no support for this in the TuneD engine, but we would definitely accept related PRs. It sounds like useful feature.

As a workaround if you want to control this via TuneD profiles, you could create bash script that is executed by the [script] TuneD plugin and control it manually there via echo > /proc/irq/.../smp_affinity.

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

No branches or pull requests

2 participants