[asterisk-bugs] [Asterisk 0004301]: [patch] ztdummy accuracy improvements on kernel 2.6
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 10:52:54 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=4301
======================================================================
Reported By: softins
Assigned To: markster
======================================================================
Project: Asterisk
Issue ID: 4301
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: I did not set the version :(
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: reopened
Fixed in Version:
======================================================================
Date Submitted: 05-17-2005 03:21 CDT
Last Modified: 06-07-2008 10:52 CDT
======================================================================
Summary: [patch] ztdummy accuracy improvements on kernel 2.6
Description:
The kernel-based timing in ztdummy under Linux 2.6 is not accurate anough
for good MeetMe operation. It is based on the kernel jiffy counter and the
add_timer() call, which is a one-shot and needs to be called again in every
handler. The effect is that ticks can be missed. This was causing
increasing delay on IAX channels into MeetMe, and audio breaking up after a
while on OH323 channels into MeetMe.
The rtc driver in 2.6 includes a hook to enable a handler to be added into
the RTC hardware interrupt processing, enabling a solution similar to
zaprtc, but without the need to recompile the kernel or replace the rtc
module. The attached patch uses this hook, and has been demonstrated to
provide greatly improved accuracy in ztdummy processing. Tests so far
suggest that this completely eliminates the problems mentioned above with
IAX and OH323 channels in MeetMe.
Please see these postings on asterisk-dev for more detailed discussion:
http://lists.digium.com/pipermail/asterisk-dev/2005-May/012509.html
http://lists.digium.com/pipermail/asterisk-dev/2005-May/012555.html
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 10:52
----------------------------------------------------------------------
Repository: dahdi
Revision: 656
U trunk/ztdummy.c
------------------------------------------------------------------------
r656 | markster | 2008-06-07 10:52:40 -0500 (Sat, 07 Jun 2008) | 2 lines
Turn off USE_RTC by default (bug http://bugs.digium.com/view.php?id=4301)
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=656
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 10:52 svnbot Checkin
06-07-08 10:52 svnbot Note Added: 0088042
======================================================================
More information about the asterisk-bugs
mailing list