[OpenSER-Users] Mediaproxy performance

Mike O'Connor mike at pineview.net
Mon Jul 30 08:54:47 CEST 2007


Hi Klaus

I've not actually tested Mediaproxy my self on SMP, but I have found
this with other applications and Python.

Mike

Klaus Darilion wrote:
> 
> 
> Mike O'Connor wrote:
>> Hi Tung
>>
>> As you know Mediaproxy is written in Python, Python does not really
>> support proper threading as it still has a global lock on the data
>> dictionary.
>>
>> This means that a SMP machine really does not help in fact because of
>> the CPU switching it will probable perform to a lower level.
> 
> Does this really cause a performance drop from 420 to 50 sessions?
> 
> regards
> klaus
> 
>>
>> I would switch your machines make your test machine your production and
>> then buy a second machine of the same spec and use the SRV record load
>> balancing to give you both higher performance and redundancy.
>>
>> All in all your better off having 3 or 4 machine than one machine in the
>> long term any :)
>>
>> Cheers
>> Mike
>>
>>
>>
>> Tung Tran wrote:
>>> Hi all,
>>>  
>>> I've tested the performance of mediaproxy as below:
>>>  
>>> 1/ PC1: Single P4, 2.4Ghz , 1GB memory, it can handle 420 sessions
>>> using rtpgenerator with g729. (testing server)
>>> 2/ PC2: Dual-xeon 3Ghz, 2GB memory, but it just can handle about 50
>>> sessions when I use rtpgenerator with g729. (production server)
>>>  
>>> Should anybody can help me to customize my production server to handle
>>> more sessions.
>>>  
>>> Thanks and regards
>>>  
>>> Tung.
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>   
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list