aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-03-31 18:53:48 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-31 18:53:48 +0000
commitbada304e4efb9939332711d4250cd6c673b37de7 (patch)
tree998393fb3f21118cd1b8f404d1d3d4ecaee3cb16 /docs
parent47f98758e7b197db1e153a06f847959668a716b6 (diff)
parentda3bfe2d4189c92d09b7bb051ef7e039a0384d1e (diff)
Merge "Results of Xacml Performance tests"
Diffstat (limited to 'docs')
-rw-r--r--docs/development/devtools/xacml-s3p.rst69
1 files changed, 64 insertions, 5 deletions
diff --git a/docs/development/devtools/xacml-s3p.rst b/docs/development/devtools/xacml-s3p.rst
index 2ebbf484..1411f90b 100644
--- a/docs/development/devtools/xacml-s3p.rst
+++ b/docs/development/devtools/xacml-s3p.rst
@@ -7,9 +7,72 @@
.. toctree::
:maxdepth: 2
-Policy XACML PDP component
##########################
+Performance Test of Policy XACML PDP
+************************************
+
+The Performance test was executed by performing requests
+against the Policy RESTful APIs residing on the XACML PDP installed on a Cloud based Virtual Machine.
+
+VM Configuration:
+- 16GB RAM
+- 8 VCPU
+- 1TB Disk
+
+ONAP was deployed using a K8s Configuration on a separate VM.
+
+Summary
+=======
+
+The Performance test was executed, and the result analyzed, via:
+
+.. code-block:: bash
+
+ jmeter -Jduration=1200 -Jusers=10 \
+ -Jxacml_ip=$ip -Jpap_ip=$ip -Japi_ip=$ip \
+ -Jxacml_port=31104 -Jpap_port=32425 -Japi_port=30709 \
+ -n -t perf.jmx -l testresults.jtl
+
+Note: the ports listed above correspond to port 6969 of the respective components.
+
+The performance test, perf.jmx, runs the following, all in parallel:
+
+- Healthcheck, 10 simultaneous threads
+- Statistics, 10 simultaneous threads
+- Decisions, 10 simultaneous threads, each running the following in sequence:
+
+ - Monitoring Decision
+ - Monitoring Decision, abbreviated
+ - Naming Decision
+ - Optimization Decision
+ - Default Guard Decision (always "Permit")
+ - Frequency Limiter Guard Decision
+ - Min/Max Guard Decision
+
+When the script starts up, it uses policy-api to create, and policy-pap to deploy,
+the policies that are needed by the test. It assumes that the "naming" policy has
+already been created and deployed. Once the test completes, it undeploys and deletes
+the policies that it previously created.
+
+Results
+=======
+
+The test was run for 20 minutes at a time, for different numbers of users (i.e.,
+threads), with the following results:
+
+.. csv-table::
+ :header: "Number of Users", "Throughput (requests/second)", "Average Latency (ms)"
+
+ 10, 8929, 3.10
+ 20, 10827, 5.05
+ 40, 11800, 9.35
+ 80, 11750, 18.62
+
+
+Stability Test of Policy XACML PDP
+************************************
+
The stability test was executed by performing requests
against the Policy RESTful APIs residing on the XACML PDP installed in the windriver
lab. This was running on a kubernetes pod having the following configuration:
@@ -21,10 +84,6 @@ lab. This was running on a kubernetes pod having the following configuration:
The test was run via jmeter, which was installed on a separate VM so-as not
to impact the performance of the XACML-PDP being tested.
-
-Stability Test of Policy XACML PDP
-************************************
-
Summary
=======