List Info

Thread: IAX2 very CPU hungry




IAX2 very CPU hungry
user name
2006-11-22 11:00:27
Hi!

Just changed the protocol when P4-3Ghz (1.2.12.1) box have 
been dying receiving 60-IAX2 with 100% load of asterisk 
process, and changed the protocol to SIP - Load decreased 
to under 50%! So seems implementation of IAX2 far no so 
good as SIP implementation. Any hope to get IAX2  better in 
1.4?
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
IAX2 very CPU hungry
user name
2006-11-22 11:34:23
Hi,
it really is a lot better in 1.4. 

Best regards,
Loic Didelot.

On Wed, 2006-11-22 at 16:00 +0500, Anton wrote:
> Hi!
> 
> Just changed the protocol when P4-3Ghz (1.2.12.1) box
have 
> been dying receiving 60-IAX2 with 100% load of asterisk

> process, and changed the protocol to SIP - Load
decreased 
> to under 50%! So seems implementation of IAX2 far no so

> good as SIP implementation. Any hope to get IAX2 
better in 
> 1.4?
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
Loic DIDELOT (CTO)
voipGATE S.A.
Tel: +352 20 200 223
Fax: +352 20 200 923
E-mail: ldidelotvoipgate.com
Web: http://www.voipgate.com

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
IAX2 very CPU hungry
user name
2006-11-22 20:13:46
Anton wrote:
> Hi!
>
> Just changed the protocol when P4-3Ghz (1.2.12.1) box
have 
> been dying receiving 60-IAX2 with 100% load of asterisk

> process, and changed the protocol to SIP - Load
decreased 
> to under 50%! 
Do you have turned on hyperthreading?
Codec is alaw or some compression?
> So seems implementation of IAX2 far no so 
> good as SIP implementation. Any hope to get IAX2 
better in 
> 1.4?
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>   


-- 
Martin Vít
LAM plus s.r.o.
http://www.vasesit.cz/
mobil: 605 267 610

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
IAX2 very CPU hungry
user name
2006-11-24 03:24:59
On 23 November 2006 01:13, Martin Vít wrote:
> Anton wrote:
> > Hi!
> >
> > Just changed the protocol when P4-3Ghz (1.2.12.1)
box
> > have been dying receiving 60-IAX2 with 100% load
of
> > asterisk process, and changed the protocol to SIP
-
> > Load decreased to under 50%!
>
> Do you have turned on hyperthreading?
> Codec is alaw or some compression?

That true for PC both with with HT or P4-D (though P4D has 
better performance.) No compression, ULAW. In any case SIP 
eats MUCH less CPU than IAX2

>
> > So seems implementation of IAX2 far no so
> > good as SIP implementation. Any hope to get IAX2 
> > better in 1.4?
> > _______________________________________________
> > --Bandwidth and Colocation provided by
Easynews.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >   
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
IAX2 very CPU hungry
user name
2006-11-24 16:55:56
Another thing to consider is do you have sip re-invites
turned on.  This
would keep sip calls from coming back to the Asterisk server
by letting the
RTP Streams go directly from phone to phone.  Not sure if
IAX2 has this
functionality, as I don't use IAX2 due to I'm only
supporting Cisco and
Linksys IP Phones.  Something to think about.

Mark


-----Original Message-----
From: asterisk-dev-bounceslists.digium.com
[mailto:asterisk-dev-bounceslists.digium.com] On Behalf
Of Anton
Sent: Thursday, November 23, 2006 10:25 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] IAX2 very CPU hungry

On 23 November 2006 01:13, Martin Vít wrote:
> Anton wrote:
> > Hi!
> >
> > Just changed the protocol when P4-3Ghz (1.2.12.1)
box
> > have been dying receiving 60-IAX2 with 100% load
of
> > asterisk process, and changed the protocol to SIP
-
> > Load decreased to under 50%!
>
> Do you have turned on hyperthreading?
> Codec is alaw or some compression?

That true for PC both with with HT or P4-D (though P4D has 
better performance.) No compression, ULAW. In any case SIP 
eats MUCH less CPU than IAX2

>
> > So seems implementation of IAX2 far no so
> > good as SIP implementation. Any hope to get IAX2 
> > better in 1.4?
> > _______________________________________________
> > --Bandwidth and Colocation provided by
Easynews.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >   
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
IAX2 very CPU hungry
user name
2006-11-25 18:22:44
On 11/22/06, Loic DIDELOT <ldidelotvoipgate.com> wrote:
> it really is a lot better in 1.4.

One of the things that Asterisk 1.4 added was a
multi-threaded IAX
implementation (thanks Mark!).  From the little bit of
testing on it
that I've done, it's made a huge improvement on how well IAX
works
under load.  Check out the "iaxthreadcount"
setting in iax.conf.

-Jared
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )