[mythtv-commits] Ticket #3326: Implement multiple recordings per transport

MythTV mythtv at cvs.mythtv.org
Fri Oct 5 14:56:58 UTC 2007


#3326: Implement multiple recordings per transport
---------------------+------------------------------------------------------
 Reporter:  danielk  |        Owner:  danielk
     Type:  task     |       Status:  new    
 Priority:  minor    |    Milestone:  unknown
Component:  mythtv   |      Version:  head   
 Severity:  low      |   Resolution:         
  Mlocked:  0        |  
---------------------+------------------------------------------------------

Comment(by danielk):

 I've attached a patch for the range map optimization for scheduling in
 3326-multimap-sched-v1.patch. I only yields a 3% speedup after applying
 the previous optimizations to speed up IsSameProgram checking. It used to
 yield a 20% speedup. I don't think 3% is worth it so I'm not applying
 this.

 multi-sched-multimap-v4.patch also contains an optimization for
 Scheduler::MoveHigherRecords(), but it is very unstable with respect to
 the data as to whether it speeds things up or slows them down.
 MoveHigherRecords() is what consumes most of the scheduling time whenever
 you schedule a frequent generic program for recording, for example
 "Eyewitness News Now", and you have recording priorities set so that the
 scheduler tries other showings for these programs. I think a different
 approach is needed to optimize this routine.

 We're no longer slower than the scheduler in trunk, we're about 27% faster
 than the scheduler in trunk on average with the same recorder setup now,
 so I'm calling it a day on the scheduler optimizations.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3326#comment:94>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list