Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Interlink: optimize rebalance#62

Open
eugeneia wants to merge 2 commits intointers:masterfrom
eugeneia:interlink-optimize-rebalance
Open

Interlink: optimize rebalance#62
eugeneia wants to merge 2 commits intointers:masterfrom
eugeneia:interlink-optimize-rebalance

Conversation

@eugeneia
Copy link
Member

@eugeneia eugeneia commented Dec 7, 2018

Optimizes the slow loops that rebalance the packet freelists. This change might not be worth the code: while it significantly reduces the latency of rebalancing operations (as observed using the timeline) in micro benchmarks, it does not have measurable impact on more realistic benchmarks like Vita’s test.snabb, likely due to the fact that duplex packet flow avoids most of the need to rebalance freelists at all.

Notably, when testing this change using Vita’s test.snabb a performance regression was observed, possibly due to 8f5569b (alignment?). Have do dig into that in case this optimization becomes relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant