[mythtv-users] best use of limited RAM

Marius Schrecker marius.schrecker at lyse.net
Wed Nov 22 12:41:55 UTC 2017


Hi,

  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.

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.

My main concern is offloading the SSD as much as possible to prolong its life.

I have started with a base install of xubuntu, set up fstab wioth tempfs for /tmp, /var/tmp and /var/spool/mqueue and installed log2ram to take care of /var/log. Relatime is set by default on all partitions.

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.

  Does the group have any suggestions for tweaking to make my 8GB go as far as possible to ghelp minimise disk writes?

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.

--Marius--
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171122/4c036909/attachment.html>


More information about the mythtv-users mailing list