https://github.com/netoptimizer/veth-backpressure-performance-testing
https://github.com/netoptimizer/veth-backpressure-performance-testing
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/netoptimizer/veth-backpressure-performance-testing
- Owner: netoptimizer
- Created: 2026-02-17T14:02:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-05-12T18:11:48.000Z (2 months ago)
- Last Synced: 2026-05-12T20:14:19.086Z (2 months ago)
- Language: Shell
- Size: 2.18 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# veth Backpressure Performance Testing
Tools for testing and measuring veth qdisc backpressure and BQL (Byte
Queue Limits) behavior. This repository contains two independent test
suites:
## [`reproducer/`](reproducer/README.md) -- Backpressure Reproducer
Chris Arges' dark-buffer latency reproducer. Uses netns + `bbperf` to
demonstrate how veth's 256-entry `ptr_ring` acts as a "dark buffer"
hidden from the qdisc, causing head-of-line blocking and ping drops
under load.
See [`reproducer/README.md`](reproducer/README.md) for details.
## [`selftests/`](selftests/README.md) -- BQL Selftest
Stress test for the veth BQL patchset. Exercises BQL code paths under
sustained UDP load, measures latency reduction, and detects DQL
accounting bugs (kernel BUG_ON/Oops).
See [`selftests/README.md`](selftests/README.md) for details.
## Shared venv
The `reproducer/` suite uses `bbperf` (installed via `pip` into a
Python virtualenv). The venv lives at the repo root (`./venv/`) so it
can be shared between suites:
```bash
apt install python3-virtualenv
# venv is created automatically by reproducer/setup.sh on first run
```
## Related
- Upstream patchset: [[PATCH net-next v5 0/5] veth: add Byte Queue Limits (BQL) support](https://lore.kernel.org/all/20260505132159.241305-1-hawk@kernel.org/)
## License
GPL-2.0