~/talk

On Sockets and System Calls: Minimizing Context Switches for the Socket API

Talkat TRIOS ’14 · on Sunday, 2014-10-05· [linux-and-operating-systems, networking]
links:none on file
links:none on file
links:none on file
slides:none on file

Implements exposed socket buffers (shared per-socket memory with two lockless queues) and pins the user-space network stack to its own core in NewtOS; nonblocking calls resolve in user space and failing calls cost about 140 cycles, avoiding kernel crossings. Measured on a 12-core AMD 1.9GHz with a 10Gb Intel NIC using liteweb: legacy NewtOS ~5k req/s, Linux ~11k req/s, fast sockets up to ~45k req/s for persistent connections. Limits: fork breaks shared mappings; paper gives the 99% figure and microbench numbers.

AI-written summary · about

  1. 0:00Intro
  2. 0:27POSIX Socket API
  3. 2:15Socket API - current solutions
  4. 3:34System Calls Overhead
  5. 4:25Socket API-event-driven servers
  6. 8:11Signaling - how does it work?
  7. 10:44Mapping exposed socket buffers
  8. 12:34Newtos - a multiserver system
  9. 14:13NewtOS network stack
  10. 15:18Multiserver systems - the cost of system calls
  11. 16:42Evaluation - testbed
  12. 20:11Limitations
  13. 21:16Related work
  14. 22:07Conclusions
~/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.