[mythtv-users] How to Prevent Freeze When Starting Playback
Tremayne, Steve
steven.tremayne at honeywell.com
Mon Oct 6 17:12:10 UTC 2014
Let me know how you get on with the tuning.
It’s one of those things which I feel could make little to no improvement until things like this crop up.
I’ve no idea how you would measure the MySQL / MariaDB performance before and after tuning to know whether it’s made any differences – but if it prevents startup delays, then that’ll probably be the best measure ☺
One other thought – after reading another thread about failed drives… you’re not suffering from a pre-failure drive problem are you? Perhaps check the SMART data too…
From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Tom Wheeler
Sent: 06 October 2014 15:03
To: Discussion about MythTV
Subject: Re: [mythtv-users] How to Prevent Freeze When Starting Playback
I'm running 0.27, and all of my storage is locally mounted SATA disks on the backend. No NFS or even external USB disks.
I do have a fair number of programs recorded, but in the hundreds rather than thousands. I wouldn't think that would be enough to stress MySQL at all, but I haven't looked at the database tuning parameters. I'm pretty experienced with MySQL, so I will check those tonight.
I also haven't seen anything definitive in the logs, though since it's an intermittent problem, it's kind of hard to correlate the timestamps with when the problem occurs. I'll take a laptop with me when I watch TV tonight so I can ssh into the backend and frontend and look at the logs in real time while starting playback.
On Mon, Oct 6, 2014 at 6:34 AM, Tremayne, Steve <steven.tremayne at honeywell.com<mailto:steven.tremayne at honeywell.com>> wrote:
Do you have a lot of recorded shows in your list – or just a few?
It could be an issue with your database – for example, if there are a lot of recorded programs then when you start a show, Myth & the database need to work out which actual file your computer is actually going to start playing.
I am in the process of setting up a new Myth box and saw this recently:
http://www.mythtv.org/wiki/Tune_MySQL
Just a thought…
Cheers,
Steve
From: mythtv-users-bounces at mythtv.org<mailto:mythtv-users-bounces at mythtv.org> [mailto:mythtv-users-bounces at mythtv.org<mailto:mythtv-users-bounces at mythtv.org>] On Behalf Of Tom Wheeler
Sent: 03 October 2014 23:27
To: Discussion about MythTV
Subject: [mythtv-users] How to Prevent Freeze When Starting Playback
I have a combined backend/frontend and now an additional (separate) frontend, both running 0.27 on Mythbuntu. I have noticed with increasing frequency on both systems over the past several weeks that MythTV temporarily hangs when I start playing back a previously recorded show.
To be a bit more specific, when I select the show I want to watch and click OK on my remote, playback often does not begin for a few seconds, and sometimes for as much as 45 seconds. I'd estimate that the frequency of the delay follows this pattern:
40% - No noticeable delay at all
30% - Delay of 3 seconds or less
15% - Delay of 3-5 seconds
10% - Delay of 5-10 seconds
5% - Delay of 10 seconds or more
What I mean by "freeze" is that it continues showing the list of programs from which I selected (the video hasn't started playing yet) and the frontend no longer responds to input from the remote. In the extreme cases where it freezes for 20+ seconds, I start to doubt whether I'd actually hit OK in the first place, so I hit it again. Nothing happens, of course, until the program eventually starts playing and the system processes both clicks.
Any idea what causes this delay and how I can eliminate it?
Thanks,
Tom
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org<mailto:mythtv-users at mythtv.org>
http://www.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20141006/4506a07e/attachment-0001.html>
More information about the mythtv-users
mailing list