|
|
|
|
|
by selfhoster1312
18 days ago
|
|
I've been curious about ZeroFS. My usecase is running a real POSIX filesystem on top of garage for integration with non-S3 services. I've had very bad (short) experiment with JuiceFS (1). Is it worth benchmarking `zerofs mount` with garage? My usecase is NAS storage of many small files + some big files (think big shared SMB for a non-profit). I need: - fsync durability (as promised on zerofs homepage), including sqlite durability (so NFS is out of the question) - inotify support for external script integration (did not find an issue/docs about this) - support for reading/writing small blocks without hammering the CPU/disks (benchmarked with JuiceFS using torrents and was catastrophic) Do you think ZeroFS currently makes a good candidate? If not, is the described usecase part of the ZeroFS roadmap? (1) https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/1021 |
|
zerofs mount has durable fsync and fcntl byte-range locking.
Inotify works for changes made through the local mount. It won’t report changes made through another client, though.
Small writes operate on 32 KiB extents. Partial overwrites are read-modify-write, but the FUSE writeback cache helps combine them, and the resulting extents are packed into segments rather than producing one S3 PUT per write.
I’d be interested in the results if you try it.