I am facing a problem and I would have some confirmations from professional of Linux and Asterisk.
I am using RHEL5 (2.6.18-8.el5 #1) and Asterisk 1.4.13 as an IPtoIP interconnect server.
This Asterisk receives about 250 simultaned calls (500 channels) and we have had the surprise to see that the operating system (or the Asterisk) is using only one CPU…
The problem is that we would like to dediate some servers for this usage and that we did order dual quad core processors on each server to increase the traffic and … if the Asterisk only uses 1 core … that’s annoying !
So we would like to know :
- Is the RTP flow only managed by one core ?
- Is it a problem due to the RHEL5 ?
- Is it a problem due to the Asterisk ?
- Is there a solution ? or a way to do else ?
Thank you very much.
As you can see below, mpstat from first and second core when the server is receiving 100 calls (200 channels) :
[root@-~]# mpstat -P 0 Linux 2.6.18-8.el5 () 11/13/2007 %nice %sys %iowait %irq %soft %steal %idle intr/s 0.00 2.68 0.00 0.19 0.92 0.00 95.11 478.68 [root@-~]# mpstat -P 1 Linux 2.6.18-8.el5 () 11/13/2007 %nice %sys %iowait %irq %soft %steal %idle intr/s 0.00 0.01 0.00 0.03 0.00 0.00 99.95 10.08
You can see that the intr/s and the %idle on the second CPU show it is unused for the Asterisk.