diff options
author | Liam Fallon <liam.fallon@est.tech> | 2020-04-17 12:37:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-17 12:37:49 +0000 |
commit | c9ff573b80ff08e1f3e4e6e020d8e060f47162c5 (patch) | |
tree | e0abfd9ed83e0f25c14d879687a8d7333ce1767b /docs/development/devtools/xacml-s3p.rst | |
parent | 1c7c520a656c05949e726bdb40db78e7ca657966 (diff) | |
parent | ba45dc60c7ab209b693c9cf53982e177b2fbb70e (diff) |
Merge "Update developer and s3p docs"
Diffstat (limited to 'docs/development/devtools/xacml-s3p.rst')
-rw-r--r-- | docs/development/devtools/xacml-s3p.rst | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/docs/development/devtools/xacml-s3p.rst b/docs/development/devtools/xacml-s3p.rst new file mode 100644 index 00000000..5cca4afd --- /dev/null +++ b/docs/development/devtools/xacml-s3p.rst @@ -0,0 +1,66 @@ +.. This work is licensed under a +.. Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 + +.. _xacml-s3p-label: + +.. toctree:: + :maxdepth: 2 + +Policy XACML PDP component +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Performance Test of Policy XACML PDP +++++++++++++++++++++++++++++++++++++ + +Summary +------- + +The Performance test was executed by performing requests against the Policy RESTful APIs residing on the XACML PDP installed in the windriver lab to get policy decisions for monitoring and guard policy types. This was running on a kubernetes host having the following configuration: + +- 16GB RAM +- 8 VCPU +- 160GB Disk + +The performance test runs 10 simultaneous threads calling XACML PDP RESTful APIs to get decisions for Monitoring, Guard Min Max, and Guard Frequency Limiter policy types, with at duration of 6000 seconds. The test execution lasted approximately 50 minutes resulting in the following summary: + +- 37,305 Healthcheck requests +- 33,716 Statistics requests +- 25,294 Monitoring decision requests +- 25,288 Guard Min Max decisions +- 25,286 Guard Frequency Limiter requests + +The average throughput was about 9.8 transactions per second. CPU and memory usage along with a screenshot of the JMeter Summary Report are provided in this document. + +Results +------- + +**CPU Utilization** + +Total CPU used by the PDP was measured before and after the test, using "ps -l". + +=================== ================== ================ =================== =============== ================== +**Intial CPU time** **Final CPU time** **Intial CPU %** **Intial Memory %** **Final CPU %** **Final Memory %** +=================== ================== ================ =================== =============== ================== +00:60:27 00:73:45 3.5% 4.0% 94.12.3% 4.0% +=================== ================== ================ =================== =============== ================== + +**Memory Utilization** + +.. code-block:: bash + + Number of young garbage collections used during the test: 518 + Avg. Young garbage collection time: ~11.56ms per collection + Total number of Full garbage collection: 32 + Avg. Full garbage collection time: ~315.06ms per collection + + + S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT + + 16768.0 16768.0 0.0 5461.0 134144.0 71223.6 334692.0 138734.5 50008.0 48955.8 5760.0 5434.3 4043 45.793 32 10.082 55.875 + + 16768.0 16768.0 0.0 4993.4 134144.0 66115.7 334692.0 252887.4 50264.0 49036.5 5760.0 5439.7 4561 53.686 32 10.082 63.768 + +**Jmeter Results Summary** + +.. image:: images/xacml-s3p.PNG |