summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authormkidd <michael.kidd@est.tech>2021-03-30 16:43:55 +0100
committerJim Hahn <jrh3@att.com>2021-03-31 18:54:00 +0000
commitacf23380041fef8de4e6bcda0045d35a6307ebe2 (patch)
tree4a74ca12f0c6f83e1ca3153a448ddb7ff245d870 /docs
parent5ad69c59cc28b623cb84d93b00ce966b779b4606 (diff)
Results of Xacml Performance tests
Added changes to documentation to reflect results of performance tests for the S3P tests for Xacml-pdp. Updated values to reflect test results Issue-ID: POLICY-3111 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: If8350480f96fbeac5b8c3d0bd7ef60bd97402a94 Signed-off-by: mkidd <michael.kidd@est.tech> (cherry picked from commit da3bfe2d4189c92d09b7bb051ef7e039a0384d1e)
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
=======