~/talk

PostgreSQL at low-level: stay curious!

Talkat PGDay.IT 2019 · on Friday, 2019-05-17· [databases, linux-and-operating-systems]
slides:none on file

Shows concrete diagnostics and fixes: uses strace -k to find PostgreSQL 11 failing to allocate shared memory due to default shm limit (64MB) and to detect missing VDSO syscalls on older hypervisors, uses perf and BCC/ebpf scripts to measure a CPU-mitigation that adds ~25% overhead, to prove huge pages cut loads by ~90% and store misses by ~29%, and to reveal lock-holder preemption effects where toggling CPU post-exit features materially reduces latency; warns eBPF tooling can crash kernels.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:11Why troubleshoot beyond PostgreSQL
  3. 4:56Case study shared memory errors
  4. 6:22Virtual system calls overhead
  5. 7:45Memory data sampling vulnerability
  6. 11:37Huge pages performance impact
  7. 13:24Lock holder preemption issue
  8. 16:33Introduction to BPF tools
  9. 18:43Scheduler wakeup granularity tuning
  10. 21:31CPU cache monitoring with BPF
  11. 22:56Dirty pages and I/O spikes
  12. 25:25Kubernetes memory limits confusion
  13. 27:33BPF setup and infrastructure
  14. 29:00Risks and pitfalls of BPF
  15. 30:25Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.