This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
kemi:performance-tests:5.2.x [2018/11/28 14:08] miconda |
kemi:performance-tests:5.2.x [2018/12/06 09:27] miconda [Results] |
||
---|---|---|---|
Line 1412: | Line 1412: | ||
max: 2442 | max: 2442 | ||
avg: 69.5343 | avg: 69.5343 | ||
+ | |||
+ | $ awk -f kamailio-exec-report.awk / | ||
+ | cnt: 60846 | ||
+ | sum: 4432028 | ||
+ | min: 22 | ||
+ | max: 2628 | ||
+ | avg: 72.8401 | ||
+ | |||
+ | $ awk -f kamailio-exec-report.awk / | ||
+ | cnt: 61031 | ||
+ | sum: 4353501 | ||
+ | min: 23 | ||
+ | max: 3005 | ||
+ | avg: 71.3326 | ||
+ | |||
+ | $ awk -f kamailio-exec-report.awk / | ||
+ | cnt: 60785 | ||
+ | sum: 4400362 | ||
+ | min: 20 | ||
+ | max: 2093 | ||
+ | avg: 72.3922 | ||
+ | |||
+ | $ awk -f kamailio-exec-report.awk / | ||
+ | cnt: 60836 | ||
+ | sum: 4427855 | ||
+ | min: 23 | ||
+ | max: 3441 | ||
+ | avg: 72.7835 | ||
+ | |||
+ | $ awk -f kamailio-exec-report.awk / | ||
+ | cnt: 60813 | ||
+ | sum: 4591943 | ||
+ | min: 20 | ||
+ | max: 1751 | ||
+ | avg: 75.5092 | ||
+ | |||
</ | </ | ||
Line 1420: | Line 1456: | ||
Testing was done on the same system, running first the test with native configuration file and immediately after, the one for Lua scripting. | Testing was done on the same system, running first the test with native configuration file and immediately after, the one for Lua scripting. | ||
- | It was observed that the execution of native scripting routing blocks and Lua scripting functions takes more or less same time. Sometimes is native scripting slightly faster, other times is Lua scripting slightly faster. | + | It was observed that the execution of native scripting routing blocks and Lua scripting functions takes more or less same time. Sometimes is native scripting slightly faster, other times is Lua scripting slightly faster. The average (for both native and Lua scripts) is in the range of 60 to 80 microseconds ( 1 / 1 000 000 of a second) for processing the registration request. The minimum reflects more what it takes for the first REGISTER request without authorization header, which is quickly challenged with 401 response. The maximum reflect the processing of the REGISTER request with valid authorization header, which does a query to database to fetch the password as well as store/ |
- | There are variable number of retranmissions, being the reason for having cnt higher than 60000, a matter of sipp being able to match the response with the request at this high pace of stress testing (4 000 registrations per second, with a limit of 10 000 transactions at the same time, stopping after 20 000 sent messages). Note that each registration is challenged for authentication, | + | There are variable number of retransmissions, being the reason for having cnt higher than 60000, a matter of sipp being able to match the response with the request at this high pace of stress testing (4 000 registrations per second, with a limit of 10 000 transactions at the same time, stopping after 20 000 sent messages). Note that each registration is challenged for authentication, |
Comparing with the state of KEMI exports for version 5.1.x, in the v5.2.x were introduced some functions to be the equivalent of some conditions done with core keywords. | Comparing with the state of KEMI exports for version 5.1.x, in the v5.2.x were introduced some functions to be the equivalent of some conditions done with core keywords. | ||
Line 1439: | Line 1475: | ||
The plan is to run the tests for Python as well as re-run Lua tests using LuaJIT interpreter instead of the standard Lua (support for LuaJIT was also added for v5.2.x). | The plan is to run the tests for Python as well as re-run Lua tests using LuaJIT interpreter instead of the standard Lua (support for LuaJIT was also added for v5.2.x). | ||
+ | |||
+ | |||