~/talk

Asynchronous Directory Operations in CephFS

Talkat Vault '20 · 2020-02-24..02-25· [distributed-systems]
links:none on file
links:none on file
slides:none on file

CephFS adds asynchronous directory operations by reusing and extending file capabilities so clients can perform creates and unlinks locally when holding exclusive directory caps and directory completeness; the MDS caches locks and hands out inode number delegation ranges so clients can name objects. On a 10,000-file test async unlinks drop from ~10s to under 1s and async creates halve from ~11s to ~5–6s. Limitations: needs primary dentries, no hardlink support, rmdir and fsync still block, and error reporting and inode refills can fall back to synchronous behavior.

AI-written summary · about

  1. 0:00Intro
  2. 0:56NETFS DIRECTORY OPERATIONS ARE SLOW
  3. 1:44WHY ARE LOCAL FILESYSTEMS SO FAST?
  4. 4:31CEPHES CAPABILITIES
  5. 7:29EXTENDING DIRECTORY CAPABILITIES
  6. 10:33SYNCHRONOUS UNLINKS (STATUS QUO)
  7. 12:07SHOULD WE WAIT TO TRANSMIT ASYNC REQ'S?
  8. 14:20ASYNCHRONOUS UNLINK
  9. 16:13UNLINK PERFORMANCE
  10. 18:17OPPORTUNITIES TO IMPROVE UNLINK
  11. 19:09ASYNCHRONOUS CREATE
  12. 20:58INODE NUMBER DELEGATION
  13. 22:38CREATE PERFORMANCE
  14. 24:10Kernel Build (time make-j16; time make clean)
  15. 24:43OPPORTUNITIES TO IMPROVE CREATE
  16. 26:34ERROR HANDLING (CONT'D)
~/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.