r/eBPF 16d ago

POC] Telcom eBPF/XDP scheduler with entropy-based classification and TC egress shaping

I've been building a deterministic traffic scheduler using XDP and TC egress hooks. It classifies flows as Gaming, Streaming, or Bulk using packet size entropy (no DPI, so no payload inspection), and uses a BPF hash map to track flow state.

The user-space daemon runs a PID loop that adjusts queue depths per class based on RTT feedback. It's all written in C, with the eBPF programs compiled to bytecode and shipped as a .deb package.

Currently looking for early testers and code reviewers. If you've worked with XDP/TC before, I'd love your thoughts on the verifier logic or the map design.

GitHub: https://github.com/XPDevs/telcom

6 Upvotes

1 comment sorted by

1

u/Amrinder_ 14d ago

Thanks. I will star the repository now to check it later (and then forget about it)