[mythtv-users] Very slow EPG guide - movement, etc (XMLTV source, 66 channels)

David Kubicek foceni at gmail.com
Sun Feb 7 19:19:26 UTC 2010


On 02/07/2010 07:08 PM, Michael T. Dean wrote:
> On 02/07/2010 08:59 AM, David Kubicek wrote:
>> I have a problem with the Program Guide, be it called from the LiveTV
>> or the main menu. After opening, it's loading for about 4sec. When
>> that's finished (loaded) it takes about 4sec to move the cursor just
>> one line up or down, and about 1sec to move left and right. Because of
>> this, the guide is almost unusable. I have to schedule all my
>> recordings via MythWeb, which is rather impractical, because the whole
>> setup is /intended to be/ completely standalone, operated with just a
>> bluetooth PS3 BD remote.
>>
>> My setup is Core 2 Duo 2.8GHz, local FE+BE+DB [SVN trunk], disk is SSD
>> OCZ Vertex Turbo (measured 250MB/s sustained read). I think that's
>> quite a powerful machine, it shouldn't be an issue. I have 66 unique
>> channels (80 total), two video sources with different providers and
>> the combined XMLTV I generate for 12 days ahead is usually about 14MB
>> (there's all kinds of details - long descriptions, sub-titles, ep
>> info, complete credits, premiere/last-showing, icon URL's, rating,
>> years, dates, categories, etc).
>>
>> I'd like to ask if this is a known issue and/or what can I do about
>> it? The basic guide doesn't contain much information, it shows 4 time
>> slots per 5 channels, no details, only program titles and categories.
>> It shouldn't be so resource intensive (if that's the reason).
>>
>> I'm a programmer myself - if there are any suggestions w.r.t.
>> optimizations or code changes, I'm volunteering to do it and test it.
>
> Likely broken channel icons if it's only in the EPG.
>
> If it's also slow in Watch Recordings, it's probably either broken
> clocks and/or broken image caching support (i.e. fix your $HOME/.mythtv
> directory/mount options/permissions).

Great suggestion, actually, because my current XMLTV grabber is the 
first one to include channel icon URL's! :) That could be it. I'll check 
it out.

Can't imagine how permissions would cause such delays, open() just 
succeeds or fails, but I'm filling the DB as root for now (while tuning 
my new grabber) and channel icons are in /root/.mythtv/channels (or 
similar), which isn't readable by myth user.

I allowed read perms for /root temporarily (no secrets there anyway) and 
the delays are GONE!

Nice one, thank you Michael. :)

-- 
David Kubicek


More information about the mythtv-users mailing list