Hi,
On 23/3/25 07:37, Michael wrote:
You probably want to alter the cache path for your browser from the SSD drive
to your RAM (tmpfs), especially if you have a lot of RAM. Consider the same
for any configurable applications which are caching heavily.
Also, if you use swap, then use zswap to reduce the amount written to the
disk.
You really don't have to worry about the number of writes to a modern
flash memory device. SD cards and particularly terrible early flash
storage devices may have hit write limits but regular use on a system
is quite unlikely to result in excessive writes to a device.
If you already _have_ the RAM feel free to use tmpfs, buying more
(relatively expensive) RAM to extend the lifetime of a far cheaper
component isn't really a good value proposition.
Here's the stats on one of my local NVMes for comparison:
Data Units Read : 148609192 (76.09 TB)
Data Units Written : 232034557 (118.80 TB)
It's a 1TB, consumer-level device, and there's probably still a good
decade of daily use left in it (including oddball projects like
compiling every package in ::gentoo) before I have to think about
replacing it due to age/usage; the bigger concern will be size and
bandwidth before the part actually ages out.
Cheers,
Matt