~/talk

Understanding the Linux Block Layer-From Single Queue to Multi-Queue Architecture

Talkat DevConf.IN 2026 · on Friday, 2026-02-13· at 11:45· VYAS - 1 - Room#VY104· [linux-and-operating-systems]
links:none on file
slides:none on file

Maps a real cp read/write through VFS, page cache, file system and device mapper into the block layer and shows why the legacy single-request Q stalls under many CPUs: one global queue holds locks and accepts ~32–256 IOs while modern blk-mq creates per-CPU software queues bound to hardware queues (examples: 128 CPUs, thousands of HW queues). NVMe examples show PCIe speeds (Gen3 ~3,000 MB/s, Gen4 ~7,000, Gen5 ~14,000) and huge depths — 65,000 queues × 65,000 commands — with actual conversion path bio→request→NVMe command.

AI-written summary · about

  1. 0:00Linux block layer intro
  2. 1:02File copy in Linux
  3. 2:07Hard disk basics
  4. 6:28Storage interfaces evolution
  5. 9:01Device detection and naming
  6. 10:26File systems role
  7. 12:36LVM for storage
  8. 14:20Disk I/O performance
  9. 15:01Block layer and queues
  10. 18:54System calls and files
  11. 20:23File copy layers
  12. 22:11Page cache in reads
  13. 24:01FS requests to block layer
  14. 25:31Single queue block layer
  15. 28:44Single queue limits
  16. 30:08Multi-queue block layer intro
  17. 31:59Multi-queue advantages
  18. 33:03Multi-queue scalability
  19. 34:07NVMe command processing
  20. 40:21Q&A
~/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.