Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] mod_conference performance


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
siniypin at gmail.com
Guest





PostPosted: Wed Sep 16, 2009 3:35 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

Hi guys!

I've tested FreeSWITCH conference module performance trying to figure out maximum number of simultaneous calls my FS box can serve. It took all 100% of CPU with only 50 calls (in average depending on conference rate) and "leaking stream handle" messages started appearing.

The environment I was testing in:
OS - Windows Server 2007 SP1 64 Bit
CPU - Dual-core AMD Opteron 1216 HE 2.4 GHz
RAM - 2 GB
FreeSwitch version 1.0.4 (14460)

I've written a test program that used to originate calls once in 5 seconds from the other box. These calls were routed to particular conference room I was testing. I had a number of rooms with different rate (8000-32000) and interval (20,30) settings and with perpetual-sound turned on steraming music continiously. I've switched off all unnecessary modules, but left logging on in order to trace what was happening later. Client test softphone used respective speex codec according to conference room rate.

This is a dialplan I used:
<extension name="test_conference">
        <condition field="destination_number" expression="^(800020)$" break="on-true">
            <action application="conference" data="$1@default20"/>
        </condition>
        <condition field="destination_number" expression="^(800030)$" break="on-true">
            <action application="conference" data="$1@default30"/>
        </condition>
        <condition field="destination_number" expression="^(1600020)$" break="on-true">
            <action application="conference" data="$1@wideband20"/>
        </condition>
        <condition field="destination_number" expression="^(1600030)$" break="on-true">
            <action application="conference" data="$1@wideband30"/>
        </condition>
        <condition field="destination_number" expression="^(3200020)$" break="on-true">
            <action application="conference" data="$1@ultrawideband20"/>
        </condition>
        <condition field="destination_number" expression="^(3200030)$" break="on-true">
            <action application="conference" data="$1@ultrawideband30"/>
        </condition>
    </extension>

My questions are:
Do you know any way I can increase my FS conference capacity? What do I have to tune in FS or in my box?

Best regards, Robert.
Back to top
jmesquita at freeswitc...
Guest





PostPosted: Wed Sep 16, 2009 5:05 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

I would be really interested to replay your test on Linux. Would you be willing to provide me all the details and relevant files so I can reproduce the test with a Linux box here?

If yes, contact me offlist and we can work together on this.

Regards,

jmesquita

On Wed, Sep 16, 2009 at 2:56 PM, Роберт Тверитнер <siniypin@gmail.com (siniypin@gmail.com)> wrote:
Quote:
Hi guys!

I've tested FreeSWITCH conference module performance trying to figure out maximum number of simultaneous calls my FS box can serve. It took all 100% of CPU with only 50 calls (in average depending on conference rate) and "leaking stream handle" messages started appearing.

The environment I was testing in:
OS - Windows Server 2007 SP1 64 Bit
CPU - Dual-core AMD Opteron 1216 HE 2.4 GHz
RAM - 2 GB
FreeSwitch version 1.0.4 (14460)

I've written a test program that used to originate calls once in 5 seconds from the other box. These calls were routed to particular conference room I was testing. I had a number of rooms with different rate (8000-32000) and interval (20,30) settings and with perpetual-sound turned on steraming music continiously. I've switched off all unnecessary modules, but left logging on in order to trace what was happening later. Client test softphone used respective speex codec according to conference room rate.

This is a dialplan I used:
<extension name="test_conference">
        <condition field="destination_number" expression="^(800020)$" break="on-true">
            <action application="conference" data="$1@default20"/>
        </condition>
        <condition field="destination_number" expression="^(800030)$" break="on-true">
            <action application="conference" data="$1@default30"/>
        </condition>
        <condition field="destination_number" expression="^(1600020)$" break="on-true">
            <action application="conference" data="$1@wideband20"/>
        </condition>
        <condition field="destination_number" expression="^(1600030)$" break="on-true">
            <action application="conference" data="$1@wideband30"/>
        </condition>
        <condition field="destination_number" expression="^(3200020)$" break="on-true">
            <action application="conference" data="$1@ultrawideband20"/>
        </condition>
        <condition field="destination_number" expression="^(3200030)$" break="on-true">
            <action application="conference" data="$1@ultrawideband30"/>
        </condition>
    </extension>

My questions are:
Do you know any way I can increase my FS conference capacity? What do I have to tune in FS or in my box?

Best regards, Robert.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Sep 16, 2009 5:09 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

I would be very interested in this also.

/b

On Sep 16, 2009, at 4:52 PM, João Mesquita wrote:

Quote:
I would be really interested to replay your test on Linux. Would you
be willing to provide me all the details and relevant files so I can
reproduce the test with a Linux box here?

If yes, contact me offlist and we can work together on this.

Regards,

jmesquita


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
jaybinks at gmail.com
Guest





PostPosted: Wed Sep 16, 2009 5:17 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

A few thing stuck out to me ...
Mainly 50 calls and transcoding speex.

Try it again with g711 and see how you go.

Also not sure windows 7 is going to perform as good as other options,
could be wrong though .

Jay


On 17/09/2009, at 3:56, Роберт Тверитнер
<siniypin@gmail.com> wrote:

Quote:
Hi guys!

I've tested FreeSWITCH conference module performance trying to
figure out maximum number of simultaneous calls my FS box can serve.
It took all 100% of CPU with only 50 calls (in average depending on
conference rate) and "leaking stream handle" messages started
appearing.

The environment I was testing in:
OS - Windows Server 2007 SP1 64 Bit
CPU - Dual-core AMD Opteron 1216 HE 2.4 GHz
RAM - 2 GB
FreeSwitch version 1.0.4 (14460)

I've written a test program that used to originate calls once in 5
seconds from the other box. These calls were routed to particular
conference room I was testing. I had a number of rooms with
different rate (8000-32000) and interval (20,30) settings and with
perpetual-sound turned on steraming music continiously. I've
switched off all unnecessary modules, but left logging on in order
to trace what was happening later. Client test softphone used
respective speex codec according to conference room rate.

This is a dialplan I used:
<extension name="test_conference">
<condition field="destination_number" expression="^
(800020)$" break="on-true">
<action application="conference" data="$1@default20"/>
</condition>
<condition field="destination_number" expression="^
(800030)$" break="on-true">
<action application="conference" data="$1@default30"/>
</condition>
<condition field="destination_number" expression="^
(1600020)$" break="on-true">
<action application="conference" data="$1@wideband20"/>
</condition>
<condition field="destination_number" expression="^
(1600030)$" break="on-true">
<action application="conference" data="$1@wideband30"/>
</condition>
<condition field="destination_number" expression="^
(3200020)$" break="on-true">
<action application="conference"
data="$1@ultrawideband20"/>
</condition>
<condition field="destination_number" expression="^
(3200030)$" break="on-true">
<action application="conference"
data="$1@ultrawideband30"/>
</condition>
</extension>

My questions are:
Do you know any way I can increase my FS conference capacity? What
do I have to tune in FS or in my box?

Best regards, Robert.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Sep 16, 2009 5:43 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

Yah speex is a cpu hog (while you can tune it to use less)! Granted
it uses less bandwidth but on the server side it doesn't scale very
well.

/b
On Sep 16, 2009, at 5:11 PM, Jay Binks wrote:

Quote:
A few thing stuck out to me ...
Mainly 50 calls and transcoding speex.

Try it again with g711 and see how you go.

Also not sure windows 7 is going to perform as good as other options,
could be wrong though .

Jay


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
siniypin at gmail.com
Guest





PostPosted: Thu Sep 17, 2009 2:05 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

Okay, I've performed some additional tests and this is what I've found:

codec
            max calls
speex (8kHz)  50
iLBC(8kHz)     50
PCMU(8kHz)  260(approx*)
GSM(8kHz)    150(approx*)
speex(16kHz) 50
G722(16kHz)  90(approx*)

* - couldn't trace till the total load of CPU 'cause RDP was timedout due to channel load. Calculated by trend.

Still I think Linux tests are necessary.

Cheers, Robert.
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 17, 2009 3:08 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

also was this 260 people in a single conference or multiple smaller conferences?

/b

On Sep 17, 2009, at 1:58 PM, RobertT wrote:
Quote:
Okay, I've performed some additional tests and this is what I've found:

codec
max calls
speex (8kHz) 50
iLBC(8kHz) 50
PCMU(8kHz) 260(approx*)
GSM(8kHz) 150(approx*)
speex(16kHz) 50
G722(16kHz) 90(approx*)

* - couldn't trace till the total load of CPU 'cause RDP was timedout due to channel load. Calculated by trend.

Still I think Linux tests are necessary.

Cheers, Robert.
Back to top
kadantsev.d at gmail.com
Guest





PostPosted: Thu Sep 17, 2009 3:08 pm    Post subject: [Freeswitch-users] mod_conference performance Reply with quote

Hi Brian,

Robert has left to Germany. He will be again online on next Monday.

--
Best regards,
Dmitry Kadantsev




On Thu, Sep 17, 2009 at 9:53 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
also was this 260 people in a single conference or multiple smaller conferences?

/b


On Sep 17, 2009, at 1:58 PM, RobertT wrote:

Quote:
Okay, I've performed some additional tests and this is what I've found:

codec
            max calls
speex (8kHz)  50
iLBC(8kHz)     50
PCMU(8kHz)  260(approx*)
GSM(8kHz)    150(approx*)
speex(16kHz) 50
G722(16kHz)  90(approx*)

* - couldn't trace till the total load of CPU 'cause RDP was timedout due to channel load. Calculated by trend.

Still I think Linux tests are necessary.

Cheers, Robert.







_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH 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