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

feat: scatter streams to different cpu cores #1837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wu-cl
Copy link

@wu-cl wu-cl commented Feb 17, 2025

  • Version of iperf3 (or development branch, such as master or
    3.1-STABLE) to which this pull request applies: master

  • Issues fixed (if any):

  • Brief description of code changes (suitable for use as a commit message):

With a multi-queue NIC, the actual data packet sending and receiving queues are related to multiple parameters.
Among them, parameters such as XPS and sk_*_queue_mapping are related to the CPU where the socket is created or run.

So this patch makes the following changes

  1. Create stream socket in different cpu core
  2. Run worker threads in different cpu core

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

Successfully merging this pull request may close these issues.

1 participant