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

Use XDP wakeup #1114

Merged
merged 4 commits into from
Feb 11, 2025
Merged

Use XDP wakeup #1114

merged 4 commits into from
Feb 11, 2025

Conversation

Jake-Shadle
Copy link
Collaborator

This changes the rings (specifically fill and tx) to be wakable which should improve performance. It also fixes a bug where we were polling for both read and write events on the socket which would basically mean every thread would busy spin and consume CPU cycles, fixed that to only poll for read events, reducing CPU usage when not receiving packets to what it should be, effectively 0.

Also, correct huge screw up and only poll for _read_ operations, making the CPU usage when not actually receiving packets got to "0"
@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 66cb8545-96d6-4d82-a995-112ac1911e50

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch [email protected]:googleforgames/quilkin.git pull/1114/head:pr_1114 && git checkout pr_1114
cargo build

@Jake-Shadle Jake-Shadle merged commit df4d0d9 into main Feb 11, 2025
12 checks passed
@Jake-Shadle Jake-Shadle deleted the xdp-wakeup branch February 11, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants