3 ms·
oh well if you want ZFS to ignore the fsync calls... you could disable sync and rely on txg_timeout (default 5s) to write your state to disk. Not recommended,
by hardwaresofton 4y ago
oh well if you want ZFS to ignore the fsync calls... you could disable sync and rely on txg_timeout (default 5s) to write your state to disk.
Not recommended, but this is one of the things I tried (I tuned it to 1s to be slightly safer):
https://vadosware.io/post/everything-ive-seen-on-optimizing-postgres-on-zfs-on-linux/#update-20211221-results-from-zfs_txg_timeout1syncdisabledlogbiaslatency https://vadosware.io/post/everything-ive-seen-on-optimizing-...
But you probably want to be very sure that your desktop applications are somewhat safe with their data/can recover from crashes...
TIL of libeatmydata[0], if you're comfortable using that, you'd probably be comfortable disabling fsync on the datasets for those apps.
[0]: https://github.com/stewartsmith/libeatmydata https://github.com/stewartsmith/libeatmydata