Skip to content

perf(veth): update tokio and reduce ingress overhead - #219

Merged
BobAnkh merged 4 commits into
mainfrom
split/3-veth-perf
Nov 1, 2026
Merged

BobAnkh merged 4 commits into
mainfrom
split/3-veth-perf

Conversation

@Lethe10137

@Lethe10137 Lethe10137 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member
  • Bump tokio to 1.5x and refresh Cargo.lock; bump netem-trace to 0.4.5.
  • Veth ingress: a larger send queue (try_reserve, drop on full instead of erroring), and skip the demux task when there is only one sender.
  • Core router: use tokio::task::consume_budget() instead of yield_now().

Stack (merge in order, rebase-merge; review the diff against the base branch). This is 3/5:

  1. feat(loss): byte trigger for loss cells #217 feat(loss): byte trigger for loss cells
  2. feat: first-payload start, ms granularity timestamp alignment, and drift log #218 feat: first-payload start, mahimahi-like delay, and drift log
  3. 👉 perf(veth): update tokio and reduce ingress overhead #219 perf(veth): update tokio and reduce veth ingress overhead
  4. fix(env): set up netns persist dir once per process #220 fix(env): set up the netns persist directory once per process
  5. refactor(env): make Env generic and move I/O drivers into rattan-env #221 refactor(env): make Env generic and move I/O drivers into rattan-env

🤖 Generated with Claude Code

@Lethe10137
Lethe10137 removed this pull request from stack #225 October 29, 2026 15:44
@Lethe10137
Lethe10137 changed the base branch from split/2-trace-start to main October 29, 2026 15:44
@Lethe10137
Lethe10137 requested a review from BobAnkh October 29, 2026 15:52
@BobAnkh BobAnkh changed the title perf(veth): update tokio and reduce veth ingress overhead perf(veth): update tokio and reduce ingress overhead Nov 1, 2026
@BobAnkh
BobAnkh merged commit 8bf59ea into main Nov 1, 2026
18 checks passed
@BobAnkh
BobAnkh deleted the split/3-veth-perf branch November 1, 2026 07:28
@BobAnkh BobAnkh mentioned this pull request Nov 1, 2026
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