4 ms·
> [...] whereas ZFS, the most prominent candidate for this type of features, is not without hassle and it must be recompiled for every kernel update (although a
by lorenzfx 6y ago
> [...] whereas ZFS, the most prominent candidate for this type of features, is not without hassle and it must be recompiled for every kernel update (although automation exists).
I have the feeling that this setup is even more of a hassle than ZFS.
- nix23 6y ago>I have the feeling that this setup is even more of a hassle than ZFS. Hehe so true! ZFS: >dd if=/dev/zero of=/path/to/testfile bs=1M count=18000 conv=fdatasync That's stupid, writing zeros to ZFS just ~tests the compression speed, your file will have the size of a bit more than zero.
- PedroBatista 6y agoMaybe not stupidity just an oversight, words do have weight. I'm sure it was oversight from your part.
- nix23 6y agoThat's a Filesystem benchmark: http://www.iozone.org/ http://www.iozone.org/ and https://linux.die.net/man/8/bonnie++ https://linux.die.net/man/8/bonnie++ NOT dd NOT /dev/zero and NOT /dev/urandom No it's stupid, benchmarks are already most of the time stupid.
- nix23 6y agoBTW: /dev/zero gets faster even without the filesystem ;) https://www.phoronix.com/scan.php?page=news_item&px=Faster-Read-dev-zero-Linux-5.10 https://www.phoronix.com/scan.php?page=news_item&px=Faster-R...
- hikarudo 6y agoUnless compression is disabled.
- nix23 6y agoYes...and dedup ;)
- Filligree 6y agoWhich, for a variety of reasons, you should never do on a modern system. Use at least compression=zle.
- nix23 6y agoFor movies/pictures and sound (well everything that is already compressed) you can deactivate it, zle too. EDIT: On the other hand leave it on, zfs tests the file if it's compress-able..if not it makes nothing: https://klarasystems.com/articles/openzfs1-understanding-transparent-compression/ https://klarasystems.com/articles/openzfs1-understanding-tra... >>ZFS Compression, Incompressible Data and Performance >>You may be tempted to set “compression=off” on datasets which primarily have incompressible data on them, such as folders full of video or audio files. We generally recommend against this – for one thing, ZFS is smart enough not to keep trying to compress incompressible data, and to never store data compressed, if doing so wouldn’t save any on-disk blocks.