[mythtv-commits] Ticket #2882: Poll CAM module at consistent intervals
MythTV
mythtv at cvs.mythtv.org
Sun Jan 7 16:23:30 UTC 2007
#2882: Poll CAM module at consistent intervals
-------------------------------+--------------------------------------------
Reporter: david at hardeman.nu | Owner: danielk
Type: enhancement | Status: new
Priority: minor | Milestone: 0.21
Component: dvb | Version: head
Severity: low |
-------------------------------+--------------------------------------------
Currently the DVB CAM code polls the CAM module with a more or less random
frequency. A test run with some debugging output gives:
poll interval 3ms
poll interval 22ms
poll interval 24ms
poll interval 26ms
poll interval 27ms
poll interval 28ms
poll interval 29ms
poll interval 30ms
poll interval 31ms
poll interval 32ms
poll interval 34ms
poll interval 44ms
poll interval 54ms
poll interval 64ms
poll interval 74ms
poll interval 91ms
poll interval 101ms
poll interval 4ms
The attached patch changes the polling to only go off at a prespecified
interval (100ms, which corresponds with the standard), thus reducing the
stress on the CAM module (which improves stability for me at least).
Debugging output with patch applied:
poll interval 100ms
poll interval 100ms
poll interval 100ms
poll interval 100ms
poll interval 101ms
poll interval 100ms
poll interval 100ms
This is against the 0.20-fixes branch but should be trivial to apply to
trunk.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2882>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list