[mythtv-users] Number of threads needed?

Isaac Richards ijr at po.cwru.edu
Fri Jun 20 23:53:14 EDT 2003


On Friday 20 June 2003 03:13 pm, Richard Schelin wrote:
> My question, the rest of below should answer 99% of the questions I may get
>
> :), is :
>
> Is it normal for me to see 9 mythbackend processes running when I start
> mythbackend?  the number of mysqld processes jumps from ~4 to the number of
> mythbackend processes I have running.
>
> This concers me because I'm looking at the Residental space these take,
> when I first start each takes 11Mb (mythbackend), and 5.5 for each mysql. 
> Just now They were up to 39+7.5, or 46.5Mb each, and I had 11 of each
> process running (Strangely that's the 512Mb of ram in my system...)
>
> Right now top shows 256k of swap used....(after restarting both mysql and
> mythbackend, which did remove ALL those processes).

Threads all use the same RAM.  All those mythbackend processes you're seeing 
are threads, so in what you just quoted, mythbackend was using a grand total 
of 39 MB of RAM.  It was encoding at the time, no?  So, yes, completely 
normal.

> I can record shows just fine, watching liveTv can be a little jumpy at
> 720x480 Mpeg4 no compression on the audio and all the neat buttons clicked,
> I'm running fullscreen on my monitor for now...Ths concerns me a little
> bit.
>
> I can record a show, and watch the show a minute or so behind and there is
> no skipping or anything, but watching live doesn't seem to be happy.  I've
> watched my cpu usage hang right around 90% watching live Tv.

Turn off the rather unnecessary quality options for the mpeg4 stuff, and/or 
lower your capture resolution.  Neither's needed for analog TV.

Isaac


More information about the mythtv-users mailing list