Above images shows the current resource consumption of my server. The server is running Asterisk 18.2.0 with FastAGI and MySQL (all in the same server). Currently 100 calls runnig (200 Channels). Only g729 and g723 codecs are allowed (in pass-thru mode). But it consumes more than 30% CPU.
I need to handle about 600 concurrent calls (without codec translation) in this server. Where is the problem ? Why it consuming too much CPU ?
Also, I don’t need to run more than 160 concurrent calls per VM. Only I need to run 600 calls with multiple VMs (e.g. 4 VMs, 150 concurrent calls each).
But it is consuming a lot in a single VM. 100 calls → 35% CPU (7.9GHz out of 22.8GHz).
How can I handle 600 concurrent calls with 22.8GHz (6 x 3.8GHz) server with g729 pass-thru mode ?