Re: [OpenSBC] poor performance of opensbc
Brought to you by:
joegenbaclor
From: Joegen B. <joe...@gm...> - 2009-03-23 11:01:15
|
Hi Andrzej, I guess you have simply seen the limit of the OpenSIPStack real-time parser. I won't be surprised that Kamailo will have significantly higher CPS because it is doing lazy parsing. Meaning parse only the header significant to the current task. Since OpenSIPStack is a multi-purpose stack both catering to proxy and UA functionality I decided that real-time parsing (parse every headers as we get them) would be more desirable. Perhaps that was a wrong choice but it is something we have to work with. I will be dedicating 1.1.6 to significantly improve speed of the stack. Perhaps you have suggestions how to improve performance, I am all ears. Joegen -------------------------------------------------- From: "Andrzej 'The Undefined'Dopierała" <und...@ar...> Sent: Monday, March 23, 2009 6:01 PM To: "Joegen Baclor" <jb...@so...>; <ope...@li...> Subject: Re: [OpenSBC] poor performance of opensbc > On Thu, Mar 19, 2009 at 06:10:16PM +0800, Joegen Baclor wrote: >> What you are seeing is the experimental pike mechanism which limits >> registrations to 5 CPS to augment a potential DoS attack. This is the >> reason why CPU is at normal level. I have recently disabled this in CVS. >> Can you try CVS head if you still encounter this problem? > cvs version works with circa 20 registers per second. When i do about 30 > registrations per seconds - retransmisions starts and opensbc has near > 100% cpu usage. It's real limit of opensbc? "real" platform based on > kamailio + radius + postgres works with near 500 registers per second ;) > >> -------------------------------------------------- >> From: "Andrzej 'The Undefined'Dopierała" <und...@ar...> >> Sent: Wednesday, March 18, 2009 5:08 PM >> To: <ope...@li...> >> Subject: [OpenSBC] poor performance of opensbc >> >> > Hi >> > I have sip platform based on kamailio. It has performance near 500 >> > "REGISTER"s per second. >> > >> > I would like to put it behind opensbc to hide internal platform >> > structure. I use configuration like: >> > >> > [Internal-DNS-Mapping] >> > Internal-DNS-Map Array Size=1 >> > Internal-DNS-Map 1=[sip:sip.my.domain] sip:real-sip-server:5060 >> > >> > and opensbc is listed on port >> > >> > Interface-Address 1=my-real-ip:6060 >> > >> > It works, but... performance is very poor. When on "kamailio" platform >> > it's near 500 registers per seconds, when opensbc is on front of it- it >> > has only 3 registers per second. Systems aren't overloaded - circa 5% >> > cpu usage. >> > >> > -- >> > Andrzej 'The Undefined' Dopierała >> > Linux && Unix && Network administrator >> > PLD Linux Developer HomePage: http://andrzej.dopierala.name/ >> > JID: und...@pi... e-mail: an...@do... >> > >> > ------------------------------------------------------------------------------ >> > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> > powering Web 2.0 with engaging, cross-platform capabilities. Quickly >> > and >> > easily build your RIAs with Flex Builder, the Eclipse(TM)based >> > development >> > software that enables intelligent coding and step-through debugging. >> > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> > _______________________________________________ >> > Opensipstack-osbcdevel mailing list >> > Ope...@li... >> > https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel >> >> >> >> > >> > No virus found in this incoming message. >> > Checked by AVG - www.avg.com >> > Version: 8.0.238 / Virus Database: 270.11.19/2011 - Release Date: >> > 03/19/09 >> > 07:05:00 >> > >> >> ------------------------------------------------------------------------------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Opensipstack-osbcdevel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel >> > > -- > Andrzej 'The Undefined' Dopierała > Linux && Unix && Network administrator > PLD Linux Developer HomePage: http://andrzej.dopierala.name/ > JID: und...@pi... e-mail: an...@do... > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.238 / Virus Database: 270.11.24/2017 - Release Date: 03/22/09 > 17:51:00 > |