3 KiB
Benchmarking and comparing DwarFS
DwarFS is a filesystem developed by the user mhx on GitHub [1], which is self-described as "A fast high compression read-only file system for Linux, Windows, and macOS." One of my ideas for blendOS was to layer different packages, and combined with its compression and option to be mounted as a FUSE-based filesystem, it's an appealing option for this use case - blendOS is immutable, so it might as well have some compression.
Methodology
The datasets being used for this test will be the following:
- 25 GB of null data (just
000000000000
in binary) - 25 GB of random data1
- Data for a 100 million-sided regular polygon; ~29 GB[^2]
- The current Linux longterm release source (6.6.58 [2]); ~1.5 GB
- For some rough latency testing:
- 1000 4 kilobyte files filled with null data (again, just
0000000
in binary) - 1000 4 kilobyte files filled with random data
- 1000 4 kilobyte files filled with null data (again, just
All this data should cover both latency and read speed testing for data that compresses differently - extremely compressible files with null data, decently compressible files, and random data which can't be compressed well.
Sources
Footnotes
3-sided regular polygon data
-
This data is from a very early version of a math demonstration program made by a friend. The example below shows what the data looks like for a 3-sided regular polygon. ↩︎