Re: [Freeswitch-users] FreeSWITCH Question
If your current hardware doesn't support more RAM - buy a new server. FS scales well, but it will need the memory and CPU to perform. To redesign FS to not create a new thread per channel would be a major rewrite of the entire core. Considering your requirements it sonds like Kamailio or OpenSIPS is a better alternative for you, especially since you don't want to hande media anyway. /Peter 22 aug 2012 kl. 00:39 skrev "Jason Caulfield" <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>>: It is not so much the cps but the concurrent calls. I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls. This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading. Current hardware does not support increase memory. I am striving for about 75% cpu (appox. 90 cps). Jason From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question Do you have such a large cps/concurrent volume that you're actually seeing a performance hit? -Avi On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage. I notice that mod_sofia creates threads for each call leg to maintain session context. Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads? I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread. Thanks for the help, Jason _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 !DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 !DSPAM:50340a7d32766392456629!
Hardware is cheap. Brian Foster Endigo Computer LLC Sent from a mobile device. On Aug 22, 2012 2:14 AM, "Peter Olsson" <peter.olsson@visionutveckling.se> wrote:
If your current hardware doesn't support more RAM - buy a new server. FS scales well, but it will need the memory and CPU to perform.
To redesign FS to not create a new thread per channel would be a major rewrite of the entire core.
Considering your requirements it sonds like Kamailio or OpenSIPS is a better alternative for you, especially since you don't want to hande media anyway.
/Peter
22 aug 2012 kl. 00:39 skrev "Jason Caulfield" < jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>>:
It is not so much the cps but the concurrent calls.
I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls.
This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading.
Current hardware does not support increase memory.
I am striving for about 75% cpu (appox. 90 cps).
Jason
From: freeswitch-users-bounces@lists.freeswitch.org<mailto: freeswitch-users-bounces@lists.freeswitch.org> [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question
Do you have such a large cps/concurrent volume that you're actually seeing a performance hit?
-Avi
On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield < jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
I notice that mod_sofia creates threads for each call leg to maintain session context.
Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads?
I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread.
Thanks for the help, Jason
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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
!DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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
!DSPAM:50340a7d32766392456629!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
+1 On Wed, Aug 22, 2012 at 2:12 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
If your current hardware doesn't support more RAM - buy a new server. FS scales well, but it will need the memory and CPU to perform.
To redesign FS to not create a new thread per channel would be a major rewrite of the entire core.
Considering your requirements it sonds like Kamailio or OpenSIPS is a better alternative for you, especially since you don't want to hande media anyway.
/Peter
22 aug 2012 kl. 00:39 skrev "Jason Caulfield" <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>>:
It is not so much the cps but the concurrent calls.
I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls.
This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading.
Current hardware does not support increase memory.
I am striving for about 75% cpu (appox. 90 cps).
Jason
From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question
Do you have such a large cps/concurrent volume that you're actually seeing a performance hit?
-Avi
On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
I notice that mod_sofia creates threads for each call leg to maintain session context.
Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads?
I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread.
Thanks for the help, Jason
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
!DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
!DSPAM:50340a7d32766392456629!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Kristian Kielhofner
if you paypal me $30 or so I can send you this thing that should roughly double your capacity: http://www.memorydepot.com/list.asp?CAT=PC31333&capacity=4GB On Aug 22, 2012, at 12:00 PM, Kristian Kielhofner <kris@kriskinc.com> wrote:
+1
On Wed, Aug 22, 2012 at 2:12 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
If your current hardware doesn't support more RAM - buy a new server. FS scales well, but it will need the memory and CPU to perform.
To redesign FS to not create a new thread per channel would be a major rewrite of the entire core.
Considering your requirements it sonds like Kamailio or OpenSIPS is a better alternative for you, especially since you don't want to hande media anyway.
/Peter
22 aug 2012 kl. 00:39 skrev "Jason Caulfield" <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>>:
It is not so much the cps but the concurrent calls.
I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls.
This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading.
Current hardware does not support increase memory.
I am striving for about 75% cpu (appox. 90 cps).
Jason
From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question
Do you have such a large cps/concurrent volume that you're actually seeing a performance hit?
-Avi
On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
I notice that mod_sofia creates threads for each call leg to maintain session context.
Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads?
I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread.
Thanks for the help, Jason
Suspect that won't work. He's probably running it on. MacBook air or some such ;-) On 22 Aug 2012, at 17:28, Michael Jerris <mike@jerris.com> wrote:
if you paypal me $30 or so I can send you this thing that should roughly double your capacity:
http://www.memorydepot.com/list.asp?CAT=PC31333&capacity=4GB
On Aug 22, 2012, at 12:00 PM, Kristian Kielhofner <kris@kriskinc.com> wrote:
+1
On Wed, Aug 22, 2012 at 2:12 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
If your current hardware doesn't support more RAM - buy a new server. FS scales well, but it will need the memory and CPU to perform.
To redesign FS to not create a new thread per channel would be a major rewrite of the entire core.
Considering your requirements it sonds like Kamailio or OpenSIPS is a better alternative for you, especially since you don't want to hande media anyway.
/Peter
22 aug 2012 kl. 00:39 skrev "Jason Caulfield" <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>>:
It is not so much the cps but the concurrent calls.
I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls.
This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading.
Current hardware does not support increase memory.
I am striving for about 75% cpu (appox. 90 cps).
Jason
From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question
Do you have such a large cps/concurrent volume that you're actually seeing a performance hit?
-Avi
On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
I notice that mod_sofia creates threads for each call leg to maintain session context.
Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads?
I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread.
Thanks for the help, Jason
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Just playing along with the whole "we can't get real hardware" idea: - Try a 32-bit build, this may decrease memory usage significantly. - You didn't mention how the memory is actually used (is that 85% physically mapped?). Each thread gets a 240K (I think) allocation by default. You might try reducing that, but you'll need to test it and make sure you don't start overflowing. As much as I disagree with the "ten-thousand-threads" model, FS isn't going to change it anytime soon (and hey, it's working). And, I am at a loss as to what business model has so many calls, and can't afford a $500 server. So, just buy a server and move on. -Michael ------- It is not so much the cps but the concurrent calls. I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls. This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading. Current hardware does not support increase memory. I am striving for about 75% cpu (appox. 90 cps). Jason From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question Do you have such a large cps/concurrent volume that you're actually seeing a performance hit? -Avi On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage. I notice that mod_sofia creates threads for each call leg to maintain session context. Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads? I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread. Thanks for the help, Jason _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 !DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 !DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
"And, I am at a loss as to what business model has so many calls, and can't afford a $500 server. So, just buy a server and move on." Once again, +1. On Thu, Aug 23, 2012 at 9:57 AM, Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Just playing along with the whole "we can't get real hardware" idea:
- Try a 32-bit build, this may decrease memory usage significantly. - You didn't mention how the memory is actually used (is that 85% physically mapped?). Each thread gets a 240K (I think) allocation by default. You might try reducing that, but you'll need to test it and make sure you don't start overflowing.
As much as I disagree with the "ten-thousand-threads" model, FS isn't going to change it anytime soon (and hey, it's working). And, I am at a loss as to what business model has so many calls, and can't afford a $500 server. So, just buy a server and move on.
-Michael
------- It is not so much the cps but the concurrent calls.
I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls.
This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading.
Current hardware does not support increase memory.
I am striving for about 75% cpu (appox. 90 cps).
Jason
From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question
Do you have such a large cps/concurrent volume that you're actually seeing a performance hit?
-Avi
On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield <jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
I notice that mod_sofia creates threads for each call leg to maintain session context.
Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads?
I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread.
Thanks for the help, Jason
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
!DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
!DSPAM:50340a7d32766392456629!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Kristian Kielhofner
+1 here as well. 9000 calls is quite a bit, and at 90 cps that's going to require some pretty serious DB usage. I'd be planning on database servers to offload some of the work. I also wouldn't risk 9000 calls if that server decides to fail. I know it's FreeSWITCH, but the problems aren't limited to the software. Hardware issues such as a bad HDD or a power failure are out of your control. As humans, we're the weakest link. Plan for that too. - BDF P.S.: Please use a more descriptive subject for your next thread. 99% of the threads on the mailing list are FreeSWITCH questions :) On Thu, Aug 23, 2012 at 11:02 AM, Kristian Kielhofner <kris@kriskinc.com>wrote:
"And, I am at a loss as to what business model has so many calls, and can't afford a $500 server. So, just buy a server and move on."
Once again, +1.
On Thu, Aug 23, 2012 at 9:57 AM, Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Just playing along with the whole "we can't get real hardware" idea:
- Try a 32-bit build, this may decrease memory usage significantly. - You didn't mention how the memory is actually used (is that 85% physically mapped?). Each thread gets a 240K (I think) allocation by default. You might try reducing that, but you'll need to test it and make sure you don't start overflowing.
As much as I disagree with the "ten-thousand-threads" model, FS isn't going to change it anytime soon (and hey, it's working). And, I am at a loss as to what business model has so many calls, and can't afford a $500 server. So, just buy a server and move on.
-Michael
------- It is not so much the cps but the concurrent calls.
I am looking at maintaining a 30 cps with a 5 min. avg. call length which results in a sustained 9000 concurrent calls.
This results in 85% mem. usage on a 4 GB machine, However CPU is at 25% (total) on a dual core with hyper threading.
Current hardware does not support increase memory.
I am striving for about 75% cpu (appox. 90 cps).
Jason
From: freeswitch-users-bounces@lists.freeswitch.org<mailto: freeswitch-users-bounces@lists.freeswitch.org> [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Tuesday, August 21, 2012 2:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Question
Do you have such a large cps/concurrent volume that you're actually seeing a performance hit?
-Avi
On Wed, Aug 22, 2012 at 12:35 AM, Jason Caulfield < jason.caulfield@intermetro.net<mailto:jason.caulfield@intermetro.net>> wrote: I am using FreeSWITCH in media bypass mode to decrease memory and cpu usage.
I notice that mod_sofia creates threads for each call leg to maintain session context.
Do you know of a way to configure FreeSWITCH to use a table to maintain the context when in media bypass mode to reduce the number of threads?
I am hoping that this will speed things up by reducing thread context switching and reduce memory usage by decreasing memory allocation for each thread.
Thanks for the help, Jason
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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
!DSPAM:50340a7d32766392456629! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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
!DSPAM:50340a7d32766392456629!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Kristian Kielhofner
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
participants (6)
-
Alex Lake
-
Brian Foster
-
Kristian Kielhofner
-
Michael Giagnocavo
-
Michael Jerris
-
Peter Olsson