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

playbooks: Add a playbook to configure NICs IRQs affinity #374

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

dupremathieu
Copy link
Member

@dupremathieu dupremathieu commented Feb 9, 2024

This playbook is used to configure the NICs IRQs affinity to the CPUs. It creates a systemd service that will run a python script to set the IRQs affinity of the NICs to the CPUs.

To use it, add the Ansible variable nics_affinity to the inventory file. For example:
nics_affinity:

  • eth0: 0-3,4-7
  • eth1: 8-11,12-15

@dupremathieu dupremathieu added enhancement New feature or request Yocto labels Feb 9, 2024
@dupremathieu dupremathieu self-assigned this Feb 9, 2024
This playbook is used to configure the NICs IRQs affinity to the CPUs.
It creates a systemd service that will run a python script to set the
IRQs affinity of the NICs to the CPUs.

To use it, add the Ansible variable nics_affinity to the inventory file.
For example:
nics_affinity:
  - eth0: 0-3,4-7
  - eth1: 8-11,12-15

Signed-off-by: Mathieu Dupré <[email protected]>
@dupremathieu dupremathieu merged commit cee28ca into main Feb 12, 2024
3 checks passed
@dupremathieu dupremathieu deleted the nic_irq_affinity branch February 12, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Yocto
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants