[mythtv] [PATCH] HDTV device ringbuffer

John Patrick Poet john at BlueSkyTours.com
Fri Dec 31 01:54:36 UTC 2004


This patch adds a ringbuffer between the HDTV processor and the HD-x000 
device driver.  This applies cleanly to the Dec 30, 2004 CVS.

The size of the ringbuffer is almost 10MB, which most of the time is 
overkill.  Only once have I seen more than 9% of the ringbuffer used at 
one time, but that one time it reached 87%.  All of my testing has been 
done with three HD shows recording, while watching a fourth.  With a 
lighter load even a 2MB ringbuffer might be enough.

Personally I don't think that 10MB is much of a penalty.  If people 
prefer, I have a version which uses dynamic sized ringbuffers, but that 
code is significantly more complex.

I have tested various other version of this code.  Many are more 
efficient, but none have been as effective in real world testing.


John


-------------- next part --------------
A non-text attachment was scrubbed...
Name: DTV-ringbuffer.patch
Type: text/x-patch
Size: 24855 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041230/dbca7bed/DTV-ringbuffer.bin


More information about the mythtv-dev mailing list