Apocrypha

dwarfs

Fast high compression read-only filesystem for Linux, FreeBSD, macOS and Windows

DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data. This probably doesn't sound very exciting, because if it's redundant, it should compress well. However, I found that other read-only, compressed file systems don't do a very good job at making use of this redundancy. See here for a comparison with other compressed file systems. DwarFS also doesn't compromise on speed and for my use cases I've found it to be on par with or perform better than SquashFS. For my primary use case, DwarFS compression is an order of magnitude better than SquashFS compression, it's 4 times faster to build the file system, it's typically faster to access files on DwarFS and it uses less CPU resources. Distinct features of DwarFS are: * Clustering of files by similarity using a similarity hash function. This makes it easier to exploit the redundancy across file boundaries. * Segmentation analysis across file system blocks in order to reduce the size of the uncompressed file system. This saves memory when using the compressed file system and thus potentially allows for higher cache hit rates as more data can be kept in the cache. * Highly multi-threaded implementation. Both the file system creation tool as well as the FUSE driver are able to make good use of the many cores of your system. * Optional experimental Lua support to provide custom filtering and ordering functionality.

Available in

OverlayNewestEbuildsLast activity
guru gitweb ↗ 0.15.3 1 2 d details ›

Versions & arches

VersionOverlay amd64arm64 Committed
0.15.3 guru amd64 testing arm64 testing view · download · history ↗

Use flags of 0.15.3

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • +tools Build dwarfs tools for creating and extracting images
  • +fuse Build dwarfs Fuse driver for image mounting
  • +perfmon Simple dwarfs performance monitoring. See https://github.com/mhx/dwarfs?tab=readme-ov-file#performance-monitoring . It has no impact on performance
  • flac Add support for FLAC: Free Lossless Audio Codec as compression algorithm
  • ricepp Enable ricepp compression algorithm, which builds on the basic idea of Rice compression (see the https://en.wikipedia.org/wiki/Golomb_coding ) with a few enhancements.
  • stacktrace Enable support for debug build with stacktracing

Runtime dependencies of 0.15.3

show 28 lines