Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Zaptel timer on Intel Dual Core servers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oej at edvina.net
Guest





PostPosted: Sat Feb 02, 2008 3:46 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Friends,

I'm having severe problems with zaptel timers on Intel Dual Core
systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM
or PRI cards - all ends up with large timer probems - zttest going
down to 50% accuracy on some systems, even to -1 on ztdummy systems
and voice quality is no more. A restart is the only way to get back
to a working system.

We're only running a few meetme's with a total of 10 participants, so
the load is not excessive. Only SIP calls, nothing else (it's me,
right Smile ) ? If I hit the system with SIPP targeting an extension
only doing playback, which doesn't even use zttimer, the timer slides
away.

I've played around with the irqbalance daemon, but don't see any big
differences with or without it.

My question is if anyone else have seen this and if anyone has a
possible solution?

Thanks in advance for your help!

/Olle
Back to top
lists at minotaur.cc
Guest





PostPosted: Sat Feb 02, 2008 6:59 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Quote:
My question is if anyone else have seen this and if anyone has a
possible solution?

Nearly all of the boxes we've built over the last few months have been either Core2 Duo or Core2 Quad based and we haven't seen any timer issues. In most cases these are purely IP boxes (no PRI or TDM cards) with ztdummy. We've had plenty of meetme conferences over that time and I've not noticed any problems.

I'll run zttest on a couple of them over the weekend and see what results we get, but certainly, there haven't been any complaints about quality during conferences.

Regards,

Chris
--
C.M. Bagnall, Director, Minotaur I.T. Limited
For full contact details visit http://www.minotaur.it
This email is made from 100% recycled electrons
Back to top
rob at hillis.dyndns.org
Guest





PostPosted: Sat Feb 02, 2008 8:10 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Likewise here. The company I work for sells duo core boxes (though
mostly /with/ E1 cards) and we have no issue with timing.
Chris Bagnall wrote:
Quote:
Quote:
My question is if anyone else have seen this and if anyone has a
possible solution?


Nearly all of the boxes we've built over the last few months have been either Core2 Duo or Core2 Quad based and we haven't seen any timer issues. In most cases these are purely IP boxes (no PRI or TDM cards) with ztdummy. We've had plenty of meetme conferences over that time and I've not noticed any problems.

I'll run zttest on a couple of them over the weekend and see what results we get, but certainly, there haven't been any complaints about quality during conferences.

Regards,

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080203/bcfd05ad/attachment.htm
Back to top
oej at edvina.net
Guest





PostPosted: Sat Feb 02, 2008 12:16 pm    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

2 feb 2008 kl. 14.10 skrev Rob Hillis:

Quote:
Likewise here. The company I work for sells duo core boxes (though
mostly with E1 cards) and we have no issue with timing.


Chris Bagnall wrote:
Quote:

Quote:
My question is if anyone else have seen this and if anyone has a
possible solution?

Nearly all of the boxes we've built over the last few months have
been either Core2 Duo or Core2 Quad based and we haven't seen any
timer issues. In most cases these are purely IP boxes (no PRI or
TDM cards) with ztdummy. We've had plenty of meetme conferences
over that time and I've not noticed any problems.

I'll run zttest on a couple of them over the weekend and see what
results we get, but certainly, there haven't been any complaints
about quality during conferences.

Thanks for the feedback. Makes me even more worried about these
servers. Might have to check the Linux installation to make sure they
have installed all the proper drivers for the dual core processors.
Something's very wrong.

/O
Back to top
shadowym at hotmail.com
Guest





PostPosted: Sat Feb 02, 2008 1:17 pm    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

I think CentOS 5 is better with Dual/Quad core than CentOS 4. I have no
direct technical evidence of this. Just empirical from the Google oracle.

From: Rob Hillis [mailto:rob at hillis.dyndns.org]
Sent: Saturday, February 02, 2008 5:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zaptel timer on Intel Dual Core servers

Likewise here. The company I work for sells duo core boxes (though mostly
with E1 cards) and we have no issue with timing.
Chris Bagnall wrote:
My question is if anyone else have seen this and if anyone has a
possible solution?


Nearly all of the boxes we've built over the last few months have been
either Core2 Duo or Core2 Quad based and we haven't seen any timer issues.
In most cases these are purely IP boxes (no PRI or TDM cards) with ztdummy.
We've had plenty of meetme conferences over that time and I've not noticed
any problems.

I'll run zttest on a couple of them over the weekend and see what results we
get, but certainly, there haven't been any complaints about quality during
conferences.

Regards,

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080202/675c15fe/attachment.htm
Back to top
benny+usenet at amorse...
Guest





PostPosted: Sat Feb 02, 2008 2:58 pm    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Johansson Olle E <oej at edvina.net> writes:

Quote:
Friends,

I'm having severe problems with zaptel timers on Intel Dual Core
systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM
or PRI cards - all ends up with large timer probems - zttest going
down to 50% accuracy on some systems, even to -1 on ztdummy systems
and voice quality is no more. A restart is the only way to get back
to a working system.

It's a bit difficult to guess what is wrong. You may want to look at
which kernel version you use, and the options used.

Perhaps trying maxcpus=1 on the SMP kernel would be interesting.
/Benny
Back to top
thrills3k3r at gmail.com
Guest





PostPosted: Sat Feb 02, 2008 3:26 pm    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Disabling ACPI might provide some interesting results as well. Core Duo
systems will drop to one processor. I've seen some very odd timing problems
with VMWare products on servers with ACPI turned on in the past.
On Feb 2, 2008 2:58 PM, Benny Amorsen <benny+usenet at amorsen.dk> wrote:

Quote:
Johansson Olle E <oej at edvina.net> writes:

Quote:
Friends,

I'm having severe problems with zaptel timers on Intel Dual Core
systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM
or PRI cards - all ends up with large timer probems - zttest going
down to 50% accuracy on some systems, even to -1 on ztdummy systems
and voice quality is no more. A restart is the only way to get back
to a working system.

It's a bit difficult to guess what is wrong. You may want to look at
which kernel version you use, and the options used.

Perhaps trying maxcpus=1 on the SMP kernel would be interesting.


/Benny



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080202/85b4ffac/attachment.htm
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sat Feb 02, 2008 5:15 pm    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

On Sat, Feb 02, 2008 at 09:46:42AM +0100, Johansson Olle E wrote:
Quote:
Friends,

I'm having severe problems with zaptel timers on Intel Dual Core
systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM
or PRI cards - all ends up with large timer probems - zttest going
down to 50% accuracy on some systems, even to -1 on ztdummy systems
and voice quality is no more. A restart is the only way to get back
to a working system.

A restart of asterisk? Not touhcing the kernel modules?

What CPU is it, exactly? /proc/cpuinfo would help.

What version of Zaptel? Asterisk? Kernel? distribution?

What happens if you don't run those meetme-s?

Quote:

We're only running a few meetme's with a total of 10 participants, so
the load is not excessive. Only SIP calls, nothing else (it's me,
right Smile ) ? If I hit the system with SIPP targeting an extension
only doing playback, which doesn't even use zttimer, the timer slides
away.

When exactly does a playback to a SIP channel use timing from zaptel? I
know that bad zaptel timer is known to mess sound playback anywhere. I
just don't fuly understand why.

--
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
tony at softins.clara....
Guest





PostPosted: Tue Feb 05, 2008 4:58 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Quote:
On Sat, Feb 02, 2008 at 09:46:42AM +0100, Johansson Olle E wrote:
Quote:
Friends,

I'm having severe problems with zaptel timers on Intel Dual Core
systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM
or PRI cards - all ends up with large timer probems - zttest going
down to 50% accuracy on some systems, even to -1 on ztdummy systems
and voice quality is no more. A restart is the only way to get back
to a working system.

A restart of asterisk? Not touhcing the kernel modules?

What CPU is it, exactly? /proc/cpuinfo would help.

What version of Zaptel? Asterisk? Kernel? distribution?

Olle,

Specifically, what kernel version? If you are using 2.6.9 (e.g. Centos 4),
then by default when you build ztdummy, it does NOT use USE_RTC (although
IMHO it should do). You should make the following change to ztdummy.c:

#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)
#define USE_RTC
#else
-#if 0
+#if 1
#define USE_RTC
#endif
#endif

And then recompile. This will make ztdummy use the RTC instead of kernel
jiffies.

If that's not it, then I hope you discover the cause, and would be
interested to know what it is.

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Tue Feb 05, 2008 5:09 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

On Tue, Feb 05, 2008 at 09:58:54AM +0000, Tony Mountifield wrote:
Quote:
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Quote:
On Sat, Feb 02, 2008 at 09:46:42AM +0100, Johansson Olle E wrote:
Quote:
Friends,

I'm having severe problems with zaptel timers on Intel Dual Core
systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM
or PRI cards - all ends up with large timer probems - zttest going
down to 50% accuracy on some systems, even to -1 on ztdummy systems
and voice quality is no more. A restart is the only way to get back
to a working system.

A restart of asterisk? Not touhcing the kernel modules?

What CPU is it, exactly? /proc/cpuinfo would help.

What version of Zaptel? Asterisk? Kernel? distribution?

Olle,

Specifically, what kernel version?

As I understand from an IRC chat - CentOS 5 - 2.6.18-something.

Quote:
If you are using 2.6.9 (e.g. Centos 4),
then by default when you build ztdummy, it does NOT use USE_RTC (although
IMHO it should do). You should make the following change to ztdummy.c:

#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)

On a kernel version that calls itself 2.6.9, that part is never reached.
So that point is mute.

Quote:
#define USE_RTC
#else
-#if 0
+#if 1
#define USE_RTC
#endif
#endif

--
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
tony at softins.clara....
Guest





PostPosted: Tue Feb 05, 2008 11:07 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Quote:
On Tue, Feb 05, 2008 at 09:58:54AM +0000, Tony Mountifield wrote:
Quote:
Specifically, what kernel version?

As I understand from an IRC chat - CentOS 5 - 2.6.18-something.

Hmm, ok.

Quote:
Quote:
If you are using 2.6.9 (e.g. Centos 4),
then by default when you build ztdummy, it does NOT use USE_RTC (although
IMHO it should do). You should make the following change to ztdummy.c:

#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)

On a kernel version that calls itself 2.6.9, that part is never reached.
So that point is mute.

"moot", not "mute".

But in fact, it isn't, since the #if's "then" part only goes as far as...

Quote:
Quote:
#define USE_RTC

... here, ...

Quote:
Quote:
#else

... and so we are here for kernel versions < 2.6.13

Quote:
Quote:
-#if 0
+#if 1
#define USE_RTC
#endif
#endif

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Tue Feb 05, 2008 11:29 am    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

On Tue, 5 Feb 2008, Tony Mountifield wrote:

Quote:
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

Quote:
Quote:
So that point is mute.

Quote:
"moot", not "mute".

"moot," not "mute."

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
tony at softins.clara....
Guest





PostPosted: Tue Feb 05, 2008 12:44 pm    Post subject: [asterisk-users] Zaptel timer on Intel Dual Core servers Reply with quote

In article <Pine.LNX.4.64.0802050827160.28259 at fs.sedwards.com>,
Steve Edwards <asterisk.org at sedwards.com> wrote:
Quote:
On Tue, 5 Feb 2008, Tony Mountifield wrote:

Quote:
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

Quote:
Quote:
So that point is mute.

Quote:
"moot", not "mute".

"moot," not "mute."

Now that point really *is* moot (i.e. open to debate, which is the true
meaning of moot).

I only put punctuation inside the quotes if the punctuation is part of
what was being quoted, rather than part of the quoting sentence.

See http://alt-usage-english.org/excerpts/fxvsxxxx.html

Anyway, this is way OT, so I won't comment further. Smile

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services