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

[C] Add thread affinity support for the C media driver. #1298

Merged
merged 4 commits into from
Mar 3, 2022

Conversation

mikeb01
Copy link
Contributor

@mikeb01 mikeb01 commented Mar 2, 2022

  • Put thread affinity configuration on the driver context and add configuration variables.
  • Manage configuration of thread affinity from aeronmd.c
  • Add script to show a process and threads CPU affinity (linux only).
$ ./aeron-samples/scripts/show_thread_affinity.sh 
PID: 15596 (aeronmd)
pid 15596's current affinity list: 2 (aeronmd)
pid 15597's current affinity list: 3 (sender)
pid 15598's current affinity list: 5 (receiver)

@tmontgomery tmontgomery self-requested a review March 2, 2022 22:39
Copy link
Contributor

@tmontgomery tmontgomery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this better. I'm good with this if it passes CI.

@mikeb01 mikeb01 merged commit de85352 into aeron-io:master Mar 3, 2022
@mikeb01 mikeb01 deleted the thread_affinity branch June 13, 2022 23:13
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.

2 participants