[mythtv-commits] mythtv branch master updated by danielk. v0.27-pre2-496-g6912383

Git Repo Owner noreply at mythtv.org
Wed Jan 2 21:12:12 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user danielk.
       via  6912383b2c0c59df12aa9c8af521200fbe4e585d (commit)
       via  75e5530925ecf2d4161036ef23b088b9fd4dccb8 (commit)
       via  032f290bedb682fff4b2d3c4508f3a715d57bb11 (commit)
       via  c50a059524d482a8155b34fd607d519e4461201e (commit)
      from  0bb22c16a4a6e73fe533bf639a8561bef9a49633 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6912383b2c0c59df12aa9c8af521200fbe4e585d
Author:    Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 16:11:38 -0500
Committer: Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 16:12:06 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=6912383b2c0c59df12aa9c8af521200fbe4e585d

Reduce # number DeviceReadBuffer::Read() calls.
Refs #11252.

This reduces the number of reads per second we make in the stream handlers
utilizing the DRB. It does this by waiting 20 ms for at least dev_read_size
bytes rather than 500 ms for min_read bytes. The device reads are larger
than the minimum read so this actually results in waiting a bit longer
under normal conditions while returning more quickly when we're not getting
data from the device. A win-win.



commit 75e5530925ecf2d4161036ef23b088b9fd4dccb8
Author:    Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 15:41:02 -0500
Committer: Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 16:12:05 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=75e5530925ecf2d4161036ef23b088b9fd4dccb8

Use nothrow new[] to allocate buffer in DRB.
This allows us to handle failures to allocate the potentially large
buffers without the program exiting when compiled with exceptions
enabled (the default).



commit 032f290bedb682fff4b2d3c4508f3a715d57bb11
Author:    Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 15:25:37 -0500
Committer: Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 16:12:05 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=032f290bedb682fff4b2d3c4508f3a715d57bb11

Improve DeviceReadBuffer debugging.



commit c50a059524d482a8155b34fd607d519e4461201e
Author:    Daniel Thor Kristjansson <danielk at cuymedia.net> at Wed, 2 Jan 2013 14:01:15 -0500
Committer: Daniel Thor Kristjansson <dkristjansson at mythtv.org> at Wed, 2 Jan 2013 16:12:05 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c50a059524d482a8155b34fd607d519e4461201e

Remove some excessive ProcessRequestWork debugging.



-----------------------------------------------------------------------

Summary of changes:
 .../libs/libmythtv/recorders/DeviceReadBuffer.cpp  |   38 +++++++++++++------
 mythtv/libs/libmythtv/recorders/DeviceReadBuffer.h |    4 ++-
 mythtv/programs/mythbackend/mainserver.cpp         |    5 ---
 3 files changed, 29 insertions(+), 18 deletions(-)

-- 



More information about the mythtv-commits mailing list