On Wed, 2024-09-11 at 08:43 +0000, Michael Kjörling wrote: > On 10 Sep 2024 20:34 -0400, from e...@gmx.us: > > I'm worried about shortening the life of the NVME drive > > with all those short writes. > > I would call that cargo cult by now. You presumably bought it to use > it, so use it.
Absolutely. Having swap on a spinning disk is a terrible user experience, unless the machine simply isn't under much memory pressure and not swapping much anyway, so why worry about it. BTW, I highly recommend using zram as the primary swap. > As already pointed out, typical write endurance for > modern SSDs is measured in tens to hundreds of terabytes written > (usually, for a particular model, it is a function of the drive size: Instead of guessing, simply run "smartctl -A /dev/nvme0" to see the current numbers. Mine says 21% used after writing 36 TB during 33,418 power on hours (3.8 years).