[Freeswitch-dev] Question about threading model, Does it restrict the concurrent capability of FS?

Michael Jerris mike at jerris.com
Mon Nov 2 07:34:09 PST 2009


freeswitch should set its own stack if you don't have it set, it will  
also tell you if it should be reset when you start.  The limits you  
state are all theoretical, depends on other limitations other than ram.

Mike

On Nov 2, 2009, at 9:53 AM, Lei Tang wrote:

> Hi Michael and Brian, Thanks for your answers.
> Brian, Did you mean set the thread stack size to 240KB? Is it enough  
> for FS?  If thread stack size is 240kB, so FS can create about 4000  
> threads and handle 2000  concurrent call?
>
> 2009/11/2 Brian West <brian at freeswitch.org>
> Step 1.  TRY IT.
>
> We never recommend running on a 32bit system EVER.  Even our spec  
> sheet says 64bit is recommended.   You should get more than 500 on a  
> 32bit machine if it sets the stack size properly to 240 per thread.
>
> /b
>
>
> On Nov 2, 2009, at 3:14 AM, Lei Tang wrote:
>
>> Hi All, As I known FS usually use two thread to handle one call,  
>> one  for inbound and one for outbound.  In 32bits system, a  
>> process's memory is limited to 2GB,  So I think a FS process can  
>> create  up to 500 threads, and  handle 250 call in the same time.  
>> Is it right? How if FS run in 64bits system?
>>
>> Best Regards!
>> -- 
>> Lei.Tang
>> lei.tlfly at gmail.com
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
> -- 
> Lei.Tang
> lei.tlfly at gmail.com
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091102/651ba580/attachment.html 


More information about the FreeSWITCH-dev mailing list