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

Shaun Stokes shaun at sysconfig.cloud
Wed Oct 14 06:10:32 UTC 2020


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.

Similar issue here: https://lists.freeswitch.org/pipermail/freeswitch-users/2012-October/088895.html

Thanks,
Shaun
________________________________
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of David Villasmil <david.villasmil.work at gmail.com>
Sent: 14 October 2020 00:14
To: FreeSWITCH Users Help <freeswitch-users at 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
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337


On Tue, Oct 13, 2020 at 11:13 PM David Villasmil <david.villasmil.work at gmail.com<mailto:david.villasmil.work at 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?

[Screenshot 2020-10-13 at 23.11.13.png]

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

Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201014/33c1fee9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2020-10-13 at 23.11.13.png
Type: image/png
Size: 15935 bytes
Desc: Screenshot 2020-10-13 at 23.11.13.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201014/33c1fee9/attachment-0001.png>


More information about the FreeSWITCH-users mailing list