<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/11/2014 05:08 PM, MythTV MythTV
wrote:<br>
</div>
<blockquote
cite="mid:CA+Gyq-tbvePRnB_LpBbaube-kT3FKpZrsEEJ+d350r==3dyBVA@mail.gmail.com"
type="cite"><br>
<br>
On Tuesday, November 11, 2014, Dick Steffens <<a
moz-do-not-send="true" 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>
</blockquote>
<br>
Now that you mention it I recall reading that in another thread,
possibly on another list. So no matter how much memory I put in
there it will still be fairly full most of the time. Still, more
memory will be better -- if I can find some (see below about 8500
memory).<br>
<br>
<blockquote
cite="mid:CA+Gyq-tbvePRnB_LpBbaube-kT3FKpZrsEEJ+d350r==3dyBVA@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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>
<br>
</div>
</blockquote>
<br>
I haven't messed with anything like that. I'll have a look.<br>
<br>
<blockquote
cite="mid:CA+Gyq-tbvePRnB_LpBbaube-kT3FKpZrsEEJ+d350r==3dyBVA@mail.gmail.com"
type="cite">
<div>If you are running the 64bit Linux and Mythtv binaries for
MythTv then you might want to consider more memory.</div>
</blockquote>
<br>
Yes. Ubuntu 12.04, 64 bit, plus the Myth packages (not Mythbuntu).<br>
<br>
Hopefully going out tomorrow to try to find some DDR2 8500 memory at
my local computer recycler. I remember trying to add memory to the
box back when I got it (used) and discovered that 8500 memory was
not readily available at the time.<br>
<br>
<blockquote
cite="mid:CA+Gyq-tbvePRnB_LpBbaube-kT3FKpZrsEEJ+d350r==3dyBVA@mail.gmail.com"
type="cite">
<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>
</blockquote>
<br>
I'll try to give that a try. Since the "close to hanging" event is
not readily determined, maybe I just try sampling every few days
after a boot and see what I can learn.<br>
<br>
<blockquote
cite="mid:CA+Gyq-tbvePRnB_LpBbaube-kT3FKpZrsEEJ+d350r==3dyBVA@mail.gmail.com"
type="cite">
<div>Hope that helps.</div>
</blockquote>
<br>
It does, thanks.<br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Dick Steffens
</pre>
</body>
</html>