[Freeswitch-users] mod_conference performance

Роберт Тверитнер siniypin at gmail.com
Wed Sep 16 10:56:48 PDT 2009


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 at default20"/>
        </condition>
        <condition field="destination_number" expression="^(800030)$"
break="on-true">
            <action application="conference" data="$1 at default30"/>
        </condition>
        <condition field="destination_number" expression="^(1600020)$"
break="on-true">
            <action application="conference" data="$1 at wideband20"/>
        </condition>
        <condition field="destination_number" expression="^(1600030)$"
break="on-true">
            <action application="conference" data="$1 at wideband30"/>
        </condition>
        <condition field="destination_number" expression="^(3200020)$"
break="on-true">
            <action application="conference" data="$1 at ultrawideband20"/>
        </condition>
        <condition field="destination_number" expression="^(3200030)$"
break="on-true">
            <action application="conference" data="$1 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090916/549ebc2d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list