[mythtv] fix for IOBOUND - blocking in ThreadedFileWriter::Write

Isaac Richards ijr at case.edu
Wed Jul 6 21:05:15 EDT 2005


On Wednesday 06 July 2005 08:55 pm, Mudit Wahal wrote:
> I searched through the archives and found out that the
> TFW_DEF_BUF_SIZE (in libs/libmythtv/RingBuffer.cpp) definition changed
> to a higher number fixes the issue. The default value is 2MB. I
> changed it to 8MB and recompiled the libmythtv library.

Instead of increasing the buffer size, a better fix would be to move the call 
to TFW::Sync() to a separate thread.

Isaac


More information about the mythtv-dev mailing list