VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asterisk.org at sedwar... Guest
|
Posted: Tue Jan 08, 2008 2:29 pm Post subject: [asterisk-users] What's the best ztdummy? |
|
|
I have several servers using ztdummy as the timing source, some CentOS
4.x, some CentOS 5.x, some Asterisk 1.2.x, some Asterisk 1.4.x.
"zap show status" differs between the servers:
ZTDUMMY/1 (source: Linux26) 1 UNCONFIGUR 0 0 0
ZTDUMMY/1 (source: RTC) 1 UNCONFIGUR 0 0 0
ZTDUMMY/1 1 UNCONFIGUR 0 0 0
Is one better than the other? What is the best timing source for ztdummy
and what does its "status" look like?
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Wed Jan 09, 2008 5:35 am Post subject: [asterisk-users] What's the best ztdummy? |
|
|
On Tue, Jan 08, 2008 at 11:29:08AM -0800, Steve Edwards wrote:
Quote: | I have several servers using ztdummy as the timing source, some CentOS
4.x, some CentOS 5.x, some Asterisk 1.2.x, some Asterisk 1.4.x.
"zap show status" differs between the servers:
ZTDUMMY/1 (source: Linux26) 1 UNCONFIGUR 0 0 0
ZTDUMMY/1 (source: RTC) 1 UNCONFIGUR 0 0 0
ZTDUMMY/1 1 UNCONFIGUR 0 0 0
Is one better than the other? What is the best timing source for ztdummy
and what does its "status" look like?
|
The "source" string to ztdummy was only added in latest versions of
ztdummy. So you can't really tell about the last one.
Linux26 gets an interrupt on every tick of the Linux kernel. It works
reasonably well when the kernel has HZ=1000 (was the only possible
value before 2.6.13. And since that kernel that value is configurable,
and the defualt is 250). Using it on newer kernels normally requires
using a non-distro kernel.
The problem with RTC is that the kernel gives us 1024 ticks per second,
rather than the 1000 we need. On zaptel 1.2 this resulted in pretty bad
quality. In 1.4 a PLL was introduced to make the rate better, IIRC.
As of kernel 2.6.22 you can use high-resolution timers support in the
kernel, which is better. In that case you'll see the source "HRTimer".
So in short, you're mostly stuck with one supported by your kernel,
unless you want to rebuild it.
For future reference, the README file in the Zaptel sorce distribtion,
or its on-line version at http://zaptel.tzafrir.org.il/ .
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
thomas.stein at knowle... Guest
|
Posted: Wed Jan 09, 2008 9:25 am Post subject: [asterisk-users] What's the best ztdummy? |
|
|
On Wednesday 09 January 2008, Tzafrir Cohen wrote:
Quote: | As of kernel 2.6.22 you can use high-resolution timers support in the
kernel, which is better. In that case you'll see the source "HRTimer".
|
Is this still an option with kernel 2.6.23? I didn't find that option in my
current kernel sources.
/usr/src/linux-2.6.23.12 $ cat .config | grep CONFIG_HIGH_RES_TIMERS
/usr/src/linux-2.6.23.12 $
t.
--
knowledgeTools? ... managing complexity.
--------------------------------------------------
knowledgeTools International GmbH
Wallstra?e 15 / 15 a
10179 Berlin
Fon: +49 30 726 169 20
Fax: +49 30 726 169 249
thomas.stein at knowledgetools.de
www.knowledgetools.de
Sitz Berlin, AG Berlin-Charlottenburg, HRB 86378
Gesch?ftsf?hrer: Oliver Seyboldt, Reinhard Kunz
--------------------------------------------------
This eMail communication (and any attachment/s) may contain confidential or
privileged information and is intended only for the individual(s) or entity
named above and to others who have been specifically authorized to receive
it. If you are not the intended recipient, please do not read, copy, use or
disclose the contents of this communication to others. Please notify the
sender that you have received this e-mail in error by reply e-mail, and
delete the e-mail subsequently. Thank you. |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|