I'd like to configure GNU/Linux in a way that the wear of the solid-state disk (SSD) is reduced as much as possible.
Setting: Some programs are frequently ran that overwrite small debug output files (to /tmp) many times a second, and it makes sense to cache the writes in memory until the file becomes stable. Data loss of the recent changes (since the last longer idling period of the system) in case of a loss of power is acceptable.
There is no swap partition/swap file. The SSD is the only hard disk of the system. There is a single partition for "/" on the SSD using ext4. The system runs Ubuntu Linux 17.10. Rewriting the programs to be ran to not cause so much wear would of course be an option, but I am trying to avoid this.