Userspace Bypass: Accelerating Syscall-intensive Applications
summary
Userspace Bypass (UB) transparently moves short user-space instruction sequences into kernel space by identifying hot fast paths, translating them into a Binary Translation Cache, and enforcing Software-Based Fault Isolation so unmodified binaries run in-kernel. Implementation uses a kernel profiler and runtime in C plus a Python translator. Microbenchmarks speed I/O paths by 30.3–88.3% and Redis GET throughput improves 4.4–10.8% in virtualized setups with KPTI on; benefits shrink when KPTI is disabled.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:45Syscall costs and optimizations
- 3:08US bypass design
- 5:41Translator security
- 8:10Implementation setup
- 9:41Performance results
- 10:46Conclusion
related talks
16mAccelerating Nested Virtualization with HyperTurtle
49mBypassing KPTI Using the Speculative Behavior of the SWAPGS Instruction
09mKVM Latency Performance Tuning
31mThe Next Chapter in the Sordid Love/Hate Relationship Btwn DBs & OSes
17mSBB: Eliminating Centralized Bottlenecks in Userspace Network Runtime
16mXkernel: Principled Performance Tunability of Operating System Kernels
27mLow-Overhead Tracing Using eBPF for Observability into Kubernetes Apps and Services
41mA General Approach to Bypassing Many Kernel Protections and its Mitigation
