~/talk

Rethinking Writeback: Scaling Linux Filesystem and Memory Performance for the Next Decade

links:none on file
slides:none on file

Proposes replacing the single threaded Linux writeback with multiple BDI writeback contexts that assign each inode to one thread (inode % contexts) and optionally to an XFS allocation group (per-AG assignment) to avoid AG lock contention. Implements on-the-fly tuning via a sysfs-like attribute that freeze/thaws the filesystem, benchmarks with fio and a Vector DB and sees up to ~5x IOPS improvement and device saturation near 2,000 MB/s (baseline ~365 MB/s); kernel build drops ~10s, HDDs can regress ~14%.

AI-written summary · about

  1. 0:00Parallel writeback research intro
  2. 1:03Buffered I/O and writeback stack
  3. 7:21Single-threaded writeback bottleneck
  4. 8:04Parallelizing writeback design
  5. 10:54Multiple BDI writeback contexts
  6. 13:00Delayed allocation impact
  7. 14:47Distributing I/O to threads
  8. 17:44Allocation group lock contention resolution
  9. 18:04Configurable writeback threads
  10. 20:12Memory and CXL impact
  11. 21:44GenAI workload benefits
  12. 23:07Vector DB benchmark eval
  13. 23:47FIO results and improvements
  14. 24:30AG-based writeback perf
  15. 25:12Kernel compile time reduction
  16. 25:53Acknowledgments and conclusion
  17. 26:17Q&A
  18. 27:01Q&A prioritization in parallel writeback
  19. 28:06Q&A debugging complexity
  20. 30:37Q&A AG usage impact
  21. 33:06Q&A tuning writeback threads
  22. 35:16Q&A hardware compatibility
  23. 36:19Q&A ext4 performance
  24. 36:59Q&A thread overhead
~/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.