[mythtv-commits] Ticket #9458: [patch] posix_fadvice usage

MythTV noreply at mythtv.org
Fri Jan 28 17:59:57 UTC 2011


#9458: [patch] posix_fadvice usage
----------------------------------------+----------------------------
 Reporter:  jiri.fojtasek@…             |          Owner:  danielk
     Type:  Patch - Bug Fix             |         Status:  assigned
 Priority:  minor                       |      Milestone:  0.25
Component:  MythTV - General            |        Version:  Trunk Head
 Severity:  medium                      |     Resolution:
 Keywords:                              |  Ticket locked:  0
----------------------------------------+----------------------------

Comment (by Jiri Fojtasek <jiri.fojtasek@…>):

 This is v2 of the patch. It fixing issues from previous version:
 - Internalreadpos in ringbuffer not always follow real position in the
 file, so it was replaced by seek() to always get correct position.

 Improvements:
 - Leave portion of the file in pagecache because livetv playback may need
 it very soon. This will reduce disk io during livetv playback and decrease
 time required to open next file when player switching/jumping to next
 program. The size of may_need has been choosed as 5 seconds of 35mbit
 playback.

 Jiri

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


More information about the mythtv-commits mailing list