~/talk

Large Pages in Linux

Talkat linux.conf.au 2020 · 2020-01-13..01-17· [linux-and-operating-systems]
links:none on file
slides:none on file

Argues for making Linux page caching work with arbitrary power-of-two page sizes instead of only 4KB or 2MB, and shows code that generalizes the page cache and block layer, updates file-system IO map changes (XFS, NFS tested), and switches to allocate on read-ahead so sequential reads and mmap can form larger pages without defeating readahead; keeps khugepaged for later coalescing. Reports practical bugs encountered (zeroing/mapping order>0 pages, refcount and bio-iterator issues) and warns about wasted RAM and oversized I/O like 1GB pages.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Translation Lookaside Buffer
  3. 1:52Page Tables
  4. 4:03TLB Entries
  5. 4:52CPU Support
  6. 5:22Paging History
  7. 8:58Large Page Support
  8. 12:59Huge Pages
  9. 15:53Page Size
  10. 19:26Huge Page Cache
  11. 21:47Large Page Cache
  12. 25:50Page Fault Allocation
  13. 27:47Read Ahead
  14. 30:44The Code
  15. 35:03Questions
  16. 39:11Read Pages
~/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.