~/talk

Privbox: Faster System Calls Through Sandboxed Privileged Execution

Talkat USENIX ATC '22 · 2022-07-11..07-13· [security]
links:none on file
links:none on file
slides:none on file

Privbox implements a semi-privileged sandbox that runs annotated hot paths at ring 0 on Linux (LLVM toolchain) yet vets them with a verifier and instrumentation so they cannot access kernel memory. It converts loads/stores and indirect branches, packs code into code chunks (32 bytes), and exposes a kernel-side gate for fast calls. On x86 Skylake syscall entry falls to ~415 cycles (2.2× faster); I/O-threaded throughput rises up to 1.7×; Redis improves 7.6% today and 11% with SPAP hardware; memcached port took <70 lines and under an hour.

AI-written summary · about

  1. 0:00Intro
  2. 0:27System Calls
  3. 1:12System Call Overhead
  4. 1:58Existing Approaches
  5. 3:35Privbox Mechanism
  6. 4:50Semi-Privileged Execution Mode (SPEM)
  7. 5:45System Call Gate Function
  8. 7:18Porting Programs to Privbox
  9. 8:19Safety Requirements
  10. 9:36Compilation and Verification
  11. 12:02Privileged Instructions
  12. 12:18Load/Store Instructions
  13. 13:21Branching Instructions
  14. 14:32Memory Layout
  15. 15:51Semi-Privileged Access Prevention (SPAP)
  16. 16:46Evaluation: Entry Overheads
  17. 17:08Evaluation: I/O Threaded Workloads
  18. 18:03Evaluation: Real-world Workloads
  19. 18:44Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.