This is very interesting!

 

Giovanni, do you mean that FS reads once the target of the “hold_music” variable?

 

Or specifically “local_stream://moh” as an argument to local_stream?


I’ll update the wiki with this useful info.

 

Thanks.

 

 

---

John Boteler

BnC Group U.S.A.

 

 

 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Giovanni Maruzzelli
Sent: Wednesday, 14 October, 2020 08:11
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] FS on a VM only uses one cpu?

 

On Wed, Oct 14, 2020 at 11:35 AM David Villasmil <david.villasmil.work@gmail.com> wrote:

Thanks for replying. I’m not using mod_callcenter at all. I’m simply playing back a file. I wonder if this is cpu bounding. I guess I can test this by doing echo instead.

 

 

to eliminate cpu load from reading/decoding file, use moh (read just one time, then broadcast samples to all calls, no cpu, I believe less than echo in case of many concurrent calls)

 

-giovanni

 

I also added another profile, since I read on a thread it might help (also read that’s not true), but that’s not it. All of my metal boxes work just fine at ~3000 channels, so I’m thinking it’s related somehow to the underlying VM.

 

Thanks again.

 

On Wed, 14 Oct 2020 at 07:29, Shaun Stokes <shaun@sysconfig.cloud> wrote:









 



Hi David,

 




 



We also use FS on a RAM Disk, it works great with 100's of concurrent calls on all the databases except for the call centre module which quickly becomes CPU bound.

 




 



Were you using the call centre module in your test? If so, I'd suggest moving it to an external RDBMS such as PGSQL (could be

running on the same VM).

 




 



FS is multi-threaded but there are certain processes which FS creates a dedicated child process for (one thread) such as SQLite (one process per database). If you can find out which FS process is using 100% CPU on one thread then you should be able to identify

the bottleneck.

 




 

 




 



Thanks,

 



Shaun

 

 


 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of David Villasmil <david.villasmil.work@gmail.com>


Sent: 14 October 2020 00:14


To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>


Subject: Re: [Freeswitch-users] FS on a VM only uses one cpu?

 

 

 

 

BTW sqlite is on a ram disk.


 

 

 

Regards,

 

 



David Villasmil

 

phone: +34669448337

 

 

 




 




 

On Tue, Oct 13, 2020 at 11:13 PM David Villasmil <david.villasmil.work@gmail.com> wrote:

 

 

 

Hello all,

 

 

 

I compiled 1.10 on a debian-buster VM, and from htop it looks it's only utilizing one CPU.


Anyone seen this?

 

 

 

 

 

 

 



I'm just running test calls, fs receives and playback a wav file. This is at 700 channels.

 

 

 

 

 

Regards,

 

 



David Villasmil

 

phone: +34669448337

 

 

 

 

 

 

 

 

 

 

 





_________________________________________________________________________



The FreeSWITCH project is sponsored by SignalWire https://signalwire.com

Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.

Build your next product on our scalable cloud platform.



Join our online community to chat in real time https://signalwire.community



Professional FreeSWITCH Services

sales@freeswitch.com

https://freeswitch.com



Official FreeSWITCH Sites

https://freeswitch.com/oss

https://freeswitch.org/confluence

https://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

https://freeswitch.com

--

Regards,

 

David Villasmil

phone: +34669448337

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com


 

--

Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18