~/talk

Storing your data in kernel space: an excellent bad idea!

Talkat !!Con 2016 · on Monday, 2016-05-30· [databases]
slides:none on file

Claim: put application data into kernel buffers by creating lots of pipes and managing offsets instead of using user memory. Tools: ordinary pipes (default ~4 KB, configurable up to 1 MB), many file descriptors and small helper processes to cycle ends. Numbers: per‑user big‑pipe quota (~64 MB) and experiments that push allocations into hundreds of megabytes or multiple gigabytes. Result: a toy program that allocates thousands of pipes works enough to store data but eventually trips resource limits and provokes the oom killer.

AI-written summary · about

  1. 0:00Start
  2. 2:14two kinds of code
  3. 2:48kernel code
  4. 3:07bookkeeping
  5. 3:22user code can't access kernel memory
  6. 6:04a kernel buffer the user has control over
  7. 6:38how can we get a random access buffer
  8. 9:1364K file descriptors
  9. 13:08total fle descriptor limit
  10. 13:22memory limit
~/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.