On Tue, Mar 2, 2021 at 4:16 PM Chris <[email protected]> wrote: > On 2021-02-28 07:38, cretin1997 via openindiana-discuss wrote: > > zfs get compression and zfs get compressratio results seemed to tell > that > > it's not > > on by default. But, why? > The reason is or should be, because of its potential cost. That is; > compression can consume a great deal more CPU cycles. >
ZFS compression is a good thing. You win by having to move less data through the entire I/O stack. Originally, compression was off by default because 15 years ago there were still incredibly slow systems still being used. Worse, zfs compression was single-threaded, which was a bit of a nightmare on something like the old coolthreads boxes. Neither are true any more. Over the years, CPU capacity has increased much faster than I/O performance, and we have better algorithms - and better optimized code - to play with. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
