Use Centos7.4 System to Perform Asterisk Performance Comparison on N2930 and N4120
1.Testing Platform
CPU | Main frequency | Burst | Cores | RAM | Hard Disk | Operating System | Asterisk Version |
N4120 | 1.10GHz | 2.6 | 4C4T | 8G | MSATA 32G | Centos7.4 | 13.15.0 |
N2930 | 1.83GHz | 2.16 | 4C4T | 8G | MSATA 32G | Centos7.4 | 13.15.0 |
Related instructions:
1、Equipment matching:Intel N4120 motherboard docking test machine through sip relay
2、Test Data:Test different encodings, the maximum number of concurrent sip calls when the voice is normal
3、Call rate:Each call is 1min, internal calls are delayed for 10s, and the maximum number of initiating and stopping calls per second is set to 30
4、Asteirsk uses source code to compile, g723, g729 encoding modules use core2-sse4 64-bit so files
5、Modified the modules.conf file during the test, using chan_sip instead of pjsip
Call flow:
sip relay
ssip –→Server A ( N4120) ————————>Server B(playback demo-instruct)
2.Test method
Prepare a test server B with Asterisk, SSIP initiates a call to the A (N4120) motherboard, Transfer to Server B via SIP relay for playback. Before each test, make the cpu work at full speed.
3.Test results
Equipment | N2930 | N4120 |
Linux | Centos 7.4 64-bit | Centos 7.4 64-bit |
Asterisk | 13.15.0 | 13.15.0 |
sip | chan_sip | chan_sip |
Ulaw Concurrency | 590 | 850 |
Performance(CPU Idle) | 2.7% | 3.3% |
G723 Concurrency | 190 | 280 |
Performance(CPU Idle) | 1.3% | 4.1% |
G729 Concurrency | 180 | 270 |
Performance(CPU Idle) | 0.7% | 3.6% |