[mythtv-commits] Ticket #13072: Schedule busy looping with sched_sleep of 0

MythTV noreply at mythtv.org
Thu Jul 27 22:56:51 UTC 2017


#13072: Schedule busy looping with sched_sleep of 0
----------------------------------+--------------------------------
 Reporter:  lucylangthorne55@…    |          Owner:  gigem
     Type:  Bug Report - General  |         Status:  infoneeded_new
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - Scheduling   |        Version:  0.28.0
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+--------------------------------

Comment (by lucylangthorne55@…):

 Looking at the code a bit more I noticed that the first schedule (which
 will be a slower full schedule) is excluded from the max schedRunTime,
 hence schedRunTime is typically for fast "schedule single item" queries.

 But I think that when a slave connects, the master does a full reschedule
 (which is time consuming) and this is included in the schedRunTime max.
 Once that maximum is set, it is used for all future loops.

 This could explain why this issue occurs more frequently when run with a
 slave.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13072#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list