[mythtv-commits] Ticket #6330: [RFC] New ThreadedFileWriter (lockless)
MythTV
mythtv at cvs.mythtv.org
Thu Mar 12 20:03:51 UTC 2009
#6330: [RFC] New ThreadedFileWriter (lockless)
--------------------------------------------------------------+-------------
Reporter: Matthias "mortalmatt" Dahl <devel at mortal-soul.de | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
--------------------------------------------------------------+-------------
Comment(by anonymous):
Since my initial versions of the patch were based on the false requirement
that the TFW needs to be thread-safe, this new version has been hugely
simplified and thread safety has been dropped.
Changes:
- simplified
- dropped thread-safety
- added support for writing data larger than the buffer size
- little optimizations
My not so representative (non-io bound) artificial benchmarks show that
the lockless version is roughly between 40 and 50% faster than the
tranditional TFW... YMMV.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6330#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list