Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.46 KB

FILESYSTEMS.md

File metadata and controls

55 lines (32 loc) · 1.46 KB

Filesystems & Litestack

In the containerized world we live in, many layers of the hardware/software stacks are far abstracted that we no longer know they exist. For the filesystem enthusiasts out there this is a quick overview of how Litestack (and hence SQLite) can benefit from different filesystem

XFS

A very stable and trusted filesystem with excellent performance characteristics

  • Fast reads / writes

EXT4

Another stable and performant filesystem

  • Fast reads / writes

F2FS

Specially built for solid state storage, has an atomic write mode that is supported by SQLite

  • Fast reads
  • Reasonably fast durable writes in synchronous mode
  • Compression (not very useful)

ZFS

Copy-on-write filesystem with a nifty set of features, very fast snapshotting but only for the FS as a whole, can send incremental snapshots to another host for backup. Naturally a lot more pages are written on write operations thus it is a bit slower in writes.

  • Fast reads
  • Slower writes
  • FS Snapshotting with send/recv
  • fast device cache
  • Compression

Btrfs

Another CoW filesystem that delivers snapshotting and incremental send/recv at a much granular level.

  • Fast reads
  • Slower writes
  • Fast copies (free backups)
  • Sub volume Snapshotting with send/recv
  • Compression

Bcachefs

A new CoW filesystem built on the foundations of the bcache module. Improving rapidly but still lacks a few of the common CoW fs features

  • Fast reads
  • Slower writes
  • fast device cache