Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The performance test runs 10 simultaneous threads injecting ONSET messages.  In each thread, each of the different types of ONSETs is injected and processed in a serial fashion, first vCPE is injected and its associated APPC requests are answered, then vFirewall is injected, and so on.  Each thread repeats this process 1000 times.  APPC response messages were injected in the test plan wherever needed.

Average processing time was calculated using the last 10000 records from audit.log for each use case, as well as the matching transaction time extracted from the network.log, using the below script:

The 72 hour stability test was executed on a VM running the policy docker containers in an openstack cloud instance. The test execution resulted in ~135 million getDecision requests. Of those 99.74% returned the expected response, while the remaining 0.26% unexpectedly returned response code 401 "Unauthorised". CPU and memory usage can be seen in below graphs:

Result

Time taken by Drools PDP

Code Block
Elapsed time for vCPE :
  matched 8870 samples, average 18 ms
  unmatched 1130 samples, average 339 ms

Elapsed time for vFirewall :
  matched 8871 samples, average 55 ms
  unmatched 1129 samples, average 177 ms

Elapsed time for vDNS :
  matched 8869 samples, average 9 ms
  unmatched 1131 samples, average 16 ms

Elapsed time for VOLTE :
  matched 8868 samples, average 9 ms
  unmatched 1132 samples, average 15 ms

Note: the “unmatched samples” are requests for which no corresponding network time could be identified by the reporting tool.  Hence those numbers represent the total elapsed time, with nothing subtracted out.calling Policy Engine RESTful APIs to create and push policies to the PDP-X for Guard, Guard Min Max, and Config Base policy types, each thread repeats this process 10 times.  Once the first thread group is complete, the performance test runs 10 simultaneous threads calling Policy Engine RESTful APIs to get decisions for Guard and Guard Min/Max policies on the PDP-X, each thread repeats this process 1000 times.

The test execution resulted in 20000 getDecision PERMIT requests resulting in 99.87% returning the expected response and 20000 getDecision DENY requests resulting in 99.79% returning the expected response with throughput averaging about 2.3 transactions per second. CPU and memory usage are provided below with JMeter results.

Result


CPU Utilization

Total CPU used by the PDP was measured before and after the test, using "ps -l".

...