[mythtv-users] IVTV recordings glitch every 302 seconds

Brad DerManouelian myth at dermanouelian.com
Sat Jul 7 22:24:09 UTC 2007


On Jul 7, 2007, at 3:09 PM, Robin Gilks wrote:

>
>> On Saturday 07 July 2007 13:00:27 Robin Gilks wrote:
>>>> Yup, you have heard the term "it happens every 5 minutes" and it
>>>> does - plus a couple of seconds!!
>>>
>>> I have found one clue - I've turned off EIT on the DVB-S card (which
>>> I was using to get schedule info on the radio channels) and the
>>> glitches have gone away.
>>
>> It's almost certainly the scheduler query. The eitscanner fires as  
>> long
>> as it inserts new data a scheduling run. It has a safeguard against
>> firing a reschedule too often and the minimum interval between two
>> scheduler runs are exactly 5 minutes.
>>
>> Janne
>>
>
> Is there any mysql optimisation I can do to improve this or is it  
> another
> threading issue where the scheduling is done by the recording  
> thread or
> something equally daft.
>
> I regularly run optimise_mythdb and the db appears to have updated
> correctly during the last 2 years of SVN updates so the extra  
> indexes etc
> introduced a few months ago should all be active (is there a way to  
> check
> this?).
>
> The db is on a raid1 array that shares a disk with the raid5 array  
> that
> stores the recordings (i.e. one partition of the drives is part of the
> raid1, another partition a part of the raid5). Is there anything that
> could be optimised here?
>
> Cheers
>
> -- 
> Robin Gilks

Any way you can move your database to your system drive? That helped  
me tremendously when I was getting recording glitches.


More information about the mythtv-users mailing list