<br><br>On Tuesday, November 11, 2014, Dick Steffens <<a href="mailto:dick@dicksteffens.com">dick@dicksteffens.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 11/11/2014 07:54 AM, MythTV MythTV
wrote:<br>
</div>
<blockquote type="cite"><br>
</blockquote><br>
There is only one hard drive in the box, and only room for one, so
the swap partition is on that drive. <br>
<br>
Thanks for the tips</div></blockquote><div><br></div><div>One other thought:</div><div><br></div><div> Recent Linux kernels are using all available free memory for disk caching. So if you install X amount of memory into your Linux box, Linux will silently use all available memory to cache disk files. Opening those same files later will be faster because parts of those files will be resident in memory and Linux won't have to fetch them from disk.</div><div><br></div><div>What I am currently unsure about is how great this Linux feature is when used with Mythtv, especially while recording one program while watching another program at the same time.</div><div><br></div><div>To tell Linux not to disk cache as much you can tune the snappiness value in your Linux kernel, see this link.</div><div><br></div><div><a href="http://unix.stackexchange.com/questions/88693/why-is-swappiness-set-to-60-by-default">http://unix.stackexchange.com/questions/88693/why-is-swappiness-set-to-60-by-default</a> </div><div><br></div><div>If you are running the 64bit Linux and Mythtv binaries for MythTv then you might want to consider more memory.</div><div><br></div><div>Lastly consider that some of your installed Linux binaries could have memory leaks. Boot your Linux system and look at the resident memory size of each running process and then when the box hangs (or is close to hanging) recheck those sizes and compare.</div><div><br></div><div>Hope that helps.</div><br><div><br></div><div> </div>