Michael Stone wrote: > On Mon, Jan 03, 2022 at 08:42:29AM -0300, Jorge P. de Morais Neto wrote: > > Indeed I use such high compression to prolong SSD lifetime. > > This is probably misguided and useless at best, at worst you're causing > additional writes because compressed data is generally hard to modify in > place without rewriting substantial portions. Concerns about SSD life are > generally overblown unless you've got really unusual usage patterns (in > which case compressing things is unlikely to make a difference).
SSDs don't modify in place. The compression is probably good for overall bandwidth of I/O, depending on CPU utilization. > For reference, my main desktop which tracks debian unstable and gets pretty > much constant updates, does package builds, etc., has after several years > used...2% of its primary SSDs write capacity. Most modern SSDs will never be > used anywhere close to their limits before being discarded as functionally > obsolete. Just don't worry about it and focus on other things. This is largely true on desktops and laptops, not so true on servers. -dsr-