~/talk

Developing IO Prefetching for Postgres

Talkat Citus Con: An Event for Postgres 2022 · 2022-04-12..04-13· [databases]
slides:none on file

A feedback-driven prefetcher is developed and evaluated with a custom prefetch simulator that models io_uring submission/completion rings, a max IOPS + latency device, and variable consumption rates. The algorithm samples the rate of change of completed not consumed buffers and adjusts prefetch size/frequency; simulated results hit ~40 ms total scan latency with completed backlog ≈20 (vs ~100 ms for sync, or large backlogs when fetching everything). Work-in-progress: tuning ramps, fast vs slow storage multipliers, and upstream implementation for direct and asynchronous IO.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54What is prefetching?
  3. 5:11Prefetching development issues & challenges
  4. 6:24Advantages of simulation
  5. 14:05Evaluating prefetching simulation output
  6. 23:21Algorithm work-in-progress
  7. 24:05Next steps
  8. 25:24Q&A with Melanie & Marco
~/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.