[mythtv] Solving my performance problems...

Isaac Richards ijr at po.cwru.edu
Sun Dec 14 17:06:36 EST 2003


On Sunday 14 December 2003 04:52 pm, avalanche at beyondmonkey.com wrote:
> I just tried out a quick hack to test something similar. I'm requesting a 
> big packet (256k) and splitting it up in 64k packets for transmission, 
> similar to what you are doing. I'm grabbing the underlying QSocketDevice 
> from the backend's QSocket, that way the trasmission of the smaller packets
> 
 should be very fast, close to network limits. Right now it only works up
> to 265k blocks (limited somewhere else) but even bigger blocks shouldn't be
> a problem if necessary. This patch is just a very quick hack but it seems
> to work, should make it possible for you to do some benchmarks. I only
> tested this with livetv, not sure if recordings on a remote frontend use
> the same code path.

The live-tv sending path is in libs/libmythtv/tv_rec.cpp, 
RequestRingBufferBlock, remote frontend transfers go through mythbackend/
filetransfer.cpp.  There's a 256k limit in tv_rec's copy as well.
 
Isaac



More information about the mythtv-dev mailing list