~/talk

Speeding up Linux disk encryption

slides:none on file

Benchmarks on a RAM-backed device isolate dm-crypt/LUKS overhead and show default code queues and thread hops cause up to ~7× slowdown versus raw device despite AES-NI hardware being able to do ~2 GB/s; a synchronous path is added (an XTS proxy and a runtime flag to bypass queues) that doubles throughput and collapses 99th‑percentile latency to near‑raw levels (200% throughput improvement). Works on x86 with hardware crypto; larger block sizes (>2 MB) can regress.

AI-written summary · about

  1. 0:00Intro
  2. 2:52The storage stack
  3. 4:06Encryption at rest layers
  4. 5:15Storage hardware encryption
  5. 6:29Block layer encryption
  6. 11:22Device mapper in Linux
  7. 14:12Test setup: RAM-based encrypted disk
  8. 16:00Test storage stack
  9. 17:26Test setup: sequential reads
  10. 21:47Ask the community
  11. 23:38dm-crypt life of an encrypted BIO request
  12. 32:01dm-crypt things to reconsider
  13. 33:51dm-crypt removing queues
  14. 35:46xtsproxy crypto API module
  15. 36:58Test setup: sequential 10
  16. 40:16Cloudflare cache impact
~/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.