Closed lks9 closed 11 months ago
I see two implementation approaches:
I think I will go with 2 because it is trivial to implement and has probably less overhead.
Btw. here is a list of compressed filesystems:
https://en.wikipedia.org/wiki/Category:Compression_file_systems
I am not really a fan of btrfs. Perhaps it would be better to use F2FS or ZFS or, when supported by linux, Bcachefs.
Ok, I think this one is finished, it is possible with a compressed file system. I will open a new issue for direct compression.
I ran a short experiment to record the busybox test suit.
It seems that the RR debugger outperformed our approach in size.
But than I realized that the rr debugger just uses compression. 👀
See here [1]. So I compressed the 36.1 GiB with brotli level 5 (same as rr) and I got only 222 MiB.
Task: Use compression in the source tracer.
[1] https://robert.ocallahan.org/2017/07/selecting-compression-algorithm-for-rr.html