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

Dev/replace fasthash #58

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Dev/replace fasthash #58

merged 4 commits into from
Nov 26, 2024

Conversation

chifflier
Copy link
Member

fasthash seems to create problems (#57) and has not been update since a long time. It is used only to dispatch packets from the same flows to worker threads.

Replace fasthash with other functions, XOR+FNV being the new default. In the future, this will be configurable

Receive-Side Scaling (RSS) distributes packets across several queues (and workers).
Toeplitz-based hash used to be the default, but is much slower than XOR+xxHash.
However, it seems Toeplitz-based hash distributes data more evenly.

Default to XOR+xxHash
@chifflier chifflier merged commit 372543d into master Nov 26, 2024
15 of 17 checks passed
@chifflier chifflier deleted the dev/replace-fasthash branch November 26, 2024 15:42
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