Libtpa Introduction
summary
Libtpa is an open source DPDK‑based userspace TCP stack that runs alongside the Linux kernel by steering flows with NIC rules (no virtual NIC middleman), implements zero-copy for send/recv, and uses a dummy‑bind trick to avoid port conflicts. It ships with 200+ unit tests and a lightweight sock tracing ring buffer plus scripting tools for injected‑packet unit tests. Measured results show up to 5× Redis speedup, ~100 Gbit/s transmit with 4KB writes, and sub‑6 µs median RPC latency; the stack is production‑used and debuggable.
AI-written summary · about
chapters (9)
- 0:00Introduction to Libtpa
- 7:57Design goals and architecture
- 17:26Coexistence with Linux stack
- 23:11Zero-copy implementation
- 27:51Testing and debugging approach
- 34:24Debugging tools and counters
- 39:17Programming guide and API
- 46:14Benchmarking and performance
- 49:37Q&A session
related talks
17mRearchitecting the TCP Stack for I/O-Offloaded Content Delivery
31mA Practical, Research‑Backed Introduction To Cloud‑Native Kernel‑Bypass Networking
24mPerformant TCP for Low Power Wireless Networks
21mAccelTCP: Accelerating Network Applications with Stateful TCP Offloading
15mHA/TCP: A Reliable and Scalable Framework for TCP Network Functions
28mMultipath TCP hands-on on Fedora
41mSetting up Real-time Ethernet and TSN With Linux: A 10-step Guide
24mCan a User-Space Protocol Stack Balance High Performance and Generality? Our Answer: Both.
