<html>Hi,<br /><br />  I am repurposing an old, box that was previously used as a combined mythtv backend/frontend, Logitech Media Server and nfs fileserver as a mythtv backend only.<br /><br />The system has a maximum of 8GB RAM, a quite well used 120GB SSD (no signs of failure yet) and I just replaced the 3TB media storage spindle drive with a new 4TB unit.<br /><br />My main concern is offloading the SSD as much as possible to prolong its life.<br /><br />I have started with a base install of xubuntu, set up fstab wioth tempfs for /tmp, /var/tmp and /var/spool/mqueue and installed <a href="https://github.com/azlux/log2ram">log2ram</a> to take care of /var/log. Relatime is set by default on all partitions.<br /><br />The original plan was to increase the RAM to 16GB or even 32GB for maximum disk caching, but I see that my mobo doesn't support that, even if the physical dimm modules are available.<br /><br />  Does the group have any suggestions for tweaking to make my 8GB go as far as possible to ghelp minimise disk writes?<br /><br />I am in two minds about creating a swapfile on the spindle drive, maybe with zram and keeping swappiness relatively high. Would that encourage the system to increase the amount of RAM used for disk caching?<br /><br />BR.<br /><br />--Marius--<br /> </html>