[mythtv-users] A few 0.19 and RAM questions
Andrew Ingram
adingram at clara.co.uk
Mon Feb 6 17:19:11 UTC 2006
> On 2/6/06, Mark Hetherington <redcane at dodo.com.au> wrote:
> > I'm not an expert on this, so this is mostly a matter of what I
> > believe to be true, but perhaps is not particularly accurate.
> > I think no matter how much RAM you have, linux will still use some
> > swap. I think it's partly so it can have stuff already swapped out,
> > even if it is in RAM as well, so it doesn't take as long to
> swap when
> > needed. I'm fairly certain 512Mb is sufficient unless your
> looking at multiple encoders.
>
> top - 20:54:22 up 7 days, 23:10, 3 users, load average:
> 2.38, 2.17, 2.04
> Tasks: 122 total, 5 running, 117 sleeping, 0 stopped, 0 zombie
> Cpu(s): 1.3% us, 6.7% sy, 90.3% ni, 0.0% id, 0.0% wa,
> 0.0% hi, 1.7% si
> Mem: 1296740k total, 1273420k used, 23320k free,
> 2388k buffers
> Swap: 1301256k total, 87264k used, 1213992k free,
> 938236k cached
>
> That's my top output and as you can see the system is using a
> little bit of swap.. even though I have some free ram.
>
> I'd have agree with the statement above about linux will
> always use a little bit of swap.
I'm not so sure. Here is my box:
top - 17:16:17 up 1 day, 17:14, 2 users, load average: 1.03, 1.02, 1.00
Tasks: 114 total, 1 running, 113 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2% us, 0.3% sy, 0.0% ni, 99.5% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 512432k total, 453508k used, 58924k free, 145912k buffers
Swap: 979924k total, 0k used, 979924k free, 90660k cached
Admittedly, my box had a reboot and has only been up for just over 41 hours,
but it's 2 tuners have been recording and playing back quite a bit in that
time.
Andy
More information about the mythtv-users
mailing list