~/talk

Advanced Linux Kernel Networking Monitoring

links:none on file
name:Shane Xie
links:none on file
slides:none on file

Built a kernel-level monitor called net-exporter that uses eBPF tracepoints (kfree_skb, napi/softirq entry/exit) to stream labeled events and stack traces into a Go agent, map sizes ~10k and per-CPU arrays, and push metrics to Prometheus. It measures packet drops and softirq scheduling vs execution latency by timestamp differences across three tracepoints, finds root causes (e.g., a buggy kernel module starving softirqs), runs with low overhead by filtering in-kernel and sending only outliers, and proved effective in production.

AI-written summary · about

  1. 0:00Intro
  2. 2:03Container networking
  3. 2:41Kubernetes networking semantics
  4. 6:48An incident - Triage
  5. 9:33An incident - Conclusion
  6. 11:09Existing monitoring methods
  7. 13:31Ideal monitoring method
  8. 14:05Network stack
  9. 17:10Receiving data what may go wrong
  10. 20:37Sending data what may go wrong
  11. 21:44Targets and Methods
  12. 25:11Monitoring packet droppings
  13. 32:36Monitoring packet latencies
  14. 39:46Metrics and Events
  15. 40:33Putting all together
  16. 41:56Runtime Optimizations
  17. 43:00Compiling Optimizations
~/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.