[mythtv-users] scheduling not using all three tuners?

Max Barry mythtv at maxbarry.com
Tue Apr 11 23:00:58 UTC 2006


Steven Adeff wrote:
> So Max, your patch gives a global hard buffer that the scheduler is
> aware of? Is it an "if I can" or an "always no matter what" buffer?

No, and both.

First, it's a change to the current pre-roll/post-roll code, which sits
outside the scheduler. That is, it lets the scheduler do its thing, then
it does one more pass, moving shows to different tuner cards or
schedules, if that helps prevent dropping the buffer.

Second, it lets the user specify how "hard" the buffer should be. You
can tell MythTV that you want your preroll to be honored:

a) All the time, no matter what
b) Unless it would create a conflict
c) Unless it would create a conflict or require use of an idle tuner card
d) Unless it would create a conflict, require use of an idle tuner card,
or move any shows to earlier or later showings

(d) is MythTV's current behavior. (a) is probably stupid, because it
assumes the role of a global hard buffer, which is something quite
different. But it was easy to add, so it's there. (b) is what I use.

Note: I wrote this patch--wow, 8 months ago, according to Trac. So very
likely it won't compile against current SVN.

The patch has been very useful for me, but as I mentioned in my previous
post, I don't think it's going to be accepted into the MythTV trunk; I
think the devs prefer a comprehensive soft buffer rewrite to tinkering
with what's already there.

Max.



More information about the mythtv-users mailing list