FreeSwitch notes, ancient and/or small CPU's etc.

195 views
Skip to first unread message

vn...@yandex.com

unread,
Jul 14, 2017, 11:48:52 PM7/14/17
to BigBlueButton-Setup
This is a follow up to Chad's response.  Putting this in its own thread for easier searchability..

Chad's response to my Doc's thread

Here is my local MarkDown notes regarding FreeSwitch:
Things may have improved due to newer cpu features, like AVX, freeswitch updates, new compilers etc..

============

# FreeSwitch Notes


Many examples of LOW END rasberry pi etc here    [HERE](https://txlab.wordpress.com/tag/freeswitch/)

Q: What would you say is more important to a FreeSwitch/FusionPBX box?
RAM or CPU?  I'm sort of guessing RAM since fusionpbx uses memcache, etc so much.. Thoughts/Feedback?
A: Actually, no, its CPU, in nearly every case I have found you run out of CPU power before RAM.

##[AMD T40e apu2c4](http://pcengines.ch/newshop.php?c=4)   costs $136 with 4gb ram.
CPU: AMD G series T40E, 1 GHz dual Bobcat core with 64 bit support, 32K data + 32K instruction + 512K L2 cache per core
handled 57 legs with good quality sound  while transcoding G.711alaw back and forth to G.722

Here’s an example of a bidirectional load test:
```
# listening machine: listen  on tcp port 8000, send traffic, and use 4 threads.
# the program will exit in 1 hour.``

'tcpkali -l 8000  --listen-mode=active -m X -T 1h -w 4'

# connecting machine: send traffic using 4 threads and 10 simultaneous sessions for 1 minute
'tcpkali 192.168.1.109:8000 -m Y -c 10 -T1m -w 4'

# The above test between directly connected PC Engines APU2 boards has shown 1Gbps of traffic, and the average CPU load was about   50%.''
```

vn...@yandex.com

unread,
Jul 14, 2017, 11:54:39 PM7/14/17
to BigBlueButton-Setup
And more  testing-freeswitch-performance-on-scaleway-c1

The C1

BareMetal ARMv7 SSD Cloud Server
4 Dedicated ARMv7 Cores
2GB Memory
50GB SSD Disk
1 Flexible public IPv4
200Mbit/s Unmetered bandwidth

€2.99


The conclusion:

Testing FreeSWITCH performance on Scaleway C1

The dedicated ARM hosting servers at Scaleway appear to be a decent platform for a mid-sized PBX.

In short, the platform displays the following results in performance tests:

  • OPUS<->PCMA transcoding: 16 simultaneous calls with  at about 95% total CPU load and no noticeable distortions.
  • SILK<->PCMA transcoding: 72 simultaneous calls were going without distortions, with average total CPU load at 63%. Higher number of calls resulted in noticeable distortions.
  • G722<->PCMA transcoding: 96 simultaneous calls without distortions, at 76% CPU load, and noticeable distortions for higher numbers.
 

vn...@yandex.com

unread,
Jul 14, 2017, 11:56:41 PM7/14/17
to BigBlueButton-Setup
FreeSWITCH performance test on PC Engines APU

This test is analogous to the one I described for Intel Atom CPU.This time it’s the new APU board from PC Engines, the maker of famous ALIX and WRAP boards. APU is a fanless appliance board, with a dual-core 1GHz AMD G series CPU. The overall performance is comparable to that of Intel Atom.

In these tests, FreeSWITCH was forwarding the call to itself on request by pressing *1. Each such forwarding resulted in creating four new channels in G722 and G711, thus resulting in transcoding to G711 and back. For example, if “show channels” shows 5 channels, it’s equivalent to 2 simultaneous calls with transcoding.

Test result: 57 channels were running completely fine, 65 channels had slight distortions, and with 85 channels the speech was still recognizable, but with significant distortions. With Speex instead of G722, distortions were quite annoying at 25 channels. Thus, the APU platform can easily be used as a small-to-medium business PBX for  20-30 simultaneous calls if there’s not too much transcoding.

Test details follow..

vn...@yandex.com

unread,
Jul 14, 2017, 11:59:15 PM7/14/17
to BigBlueButton-Setup
On a roll here..


There are multiple low-power, fanless  appliances on the market, and most of them are powered by Intel Atom processors. I needed an estimation how well an Atom would perform for a FreeSWITCH PBX application.

In this test, I use two Acer Aspire One notebooks with different processors:

  • atom01Atom N2600 (2 cores, 4 virtual CPUs, 512KB cache and 600MHz per virtual CPU, 12768.02 BogoMIPS)
  • atom02Atom N570 (2 cores, 4 virtual CPUs, 512KB cache and 1000MHz per virtual CPU, 13302.08 BogoMIPS)

Both notebooks are running 32-bit Debian 7 Wheezy (Kernel version 3.2.0-4-686-pae), and FreeSWITCH version 1.2.13 from pre-built Debian packages.

vn...@yandex.com

unread,
Jul 15, 2017, 12:03:19 AM7/15/17
to BigBlueButton-Setup
<Obi Wan voice>  (waves hand..)  "These are not the performance killers you are looking for."


vn...@yandex.com

unread,
Jul 16, 2017, 11:24:04 AM7/16/17
to BigBlueButton-Setup


On Saturday, July 15, 2017 at 11:03:19 AM UTC+7, vn...@yandex.com wrote:
<Obi Wan voice>  (waves hand..)  "These are not the performance killers you are looking for."



</Obi Wan voice>.

OOPS..  Forgot to close the XML!  ;)  
Reply all
Reply to author
Forward
0 new messages