[mythtv-commits] Ticket #13072: Schedule busy looping with sched_sleep of 0
MythTV
noreply at mythtv.org
Sun Aug 6 19:42:06 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 gigem):
I apologize again for taking so long to reply.
The reason a reschedule is needed can cause drastic differences in how
long it takes. The first pass and any time the guide data changes take
the longest. The rest tend to be pretty quick. I have a long term goal
to split the scheduler into two threads so that long schedules don't
impact the starting of recordings. That isn't going to happen any time
soon, though.
Back to your immediate problem. I'm still stumped as to why sched_sleep
stays at 0. It, along with nextWakeTime, should increase as the scheduler
processes the upcoming recordings. For reasons that aren't clear yet,
nextWakeTime isn't advancing. Since you're adept at adding your own
debugging, would you mind adding some debugging whereever nextWakeTime
gets updated? If you'd rather I do it, I will try to get to it in the
next day or two.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13072#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list