diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2020-10-29 17:11:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-29 17:11:36 +0000 |
commit | 966262b4f89d27ec54c1c974afbc7b01ba259882 (patch) | |
tree | 3ba626258916d3685dc990b6970232b3d5f5bf8e /docs | |
parent | 66d5b7381125866107dc57ddb53baa0d10e1393e (diff) | |
parent | 86dae8cdfa10cdeb0bf99fc5d104039b826f510d (diff) |
Merge "update s3p drools-pdp doc"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/devtools/drools-s3p.rst | 157 | ||||
-rw-r--r-- | docs/development/devtools/images/ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e.png | bin | 19884 -> 67774 bytes | |||
-rw-r--r-- | docs/development/devtools/images/ControlLoop-vCPE-Fail.png | bin | 21369 -> 67512 bytes | |||
-rw-r--r-- | docs/development/devtools/images/ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3.png | bin | 22806 -> 69667 bytes | |||
-rw-r--r-- | docs/development/devtools/images/ControlLoop-vDNS-Fail.png | bin | 20800 -> 66615 bytes | |||
-rw-r--r-- | docs/development/devtools/images/ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a.png | bin | 20423 -> 72763 bytes |
6 files changed, 11 insertions, 146 deletions
diff --git a/docs/development/devtools/drools-s3p.rst b/docs/development/devtools/drools-s3p.rst index 58c522f6..18bd4898 100644 --- a/docs/development/devtools/drools-s3p.rst +++ b/docs/development/devtools/drools-s3p.rst @@ -10,7 +10,7 @@ Policy Drools PDP component ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Both the Performance and the Stability tests were executed against a default ONAP installation in the PFPP tenant, from an independent VM running the jmeter tool to inject the load. +Both the Performance and the Stability tests were executed against a default ONAP installation in the policy-k8s tenant in the windriver lab, from an independent VM running the jmeter tool to inject the load. General Setup ************* @@ -51,82 +51,6 @@ PDP-D Setup The kubernetes charts were modified previous to the installation with the changes below. -The oom/kubernetes/policy/charts/drools/resources/configmaps/base.conf was -modified as follows: - -.. code-block:: bash - - --- a/kubernetes/policy/charts/drools/resources/configmaps/base.conf - +++ b/kubernetes/policy/charts/drools/resources/configmaps/base.conf - @@ -85,27 +85,27 @@ DMAAP_SERVERS=message-router - - # AAI - - -AAI_HOST=aai.{{.Release.Namespace}} - -AAI_PORT=8443 - +AAI_HOST=localhost - +AAI_PORT=6666 - AAI_CONTEXT_URI= - - # MSO - - -SO_HOST=so.{{.Release.Namespace}} - -SO_PORT=8080 - -SO_CONTEXT_URI=onap/so/infra/ - -SO_URL=https://so.{{.Release.Namespace}}:8080/onap/so/infra - +SO_HOST=localhost - +SO_PORT=6667 - +SO_CONTEXT_URI= - +SO_URL=https://localhost:6667/ - - # VFC - - -VFC_HOST= - -VFC_PORT= - +VFC_HOST=localhost - +VFC_PORT=6668 - VFC_CONTEXT_URI=api/nslcm/v1/ - - # SDNC - - -SDNC_HOST=sdnc.{{.Release.Namespace}} - -SDNC_PORT=8282 - +SDNC_HOST=localhost - +SDNC_PORT=6670 - SDNC_CONTEXT_URI=restconf/operations/ - -The AAI actor had to be modified to disable https to talk to the AAI simulator. - -.. code-block:: bash - - ~/oom/kubernetes/policy/charts/drools/resources/configmaps/AAI-http-client.properties - - http.client.services=AAI - - http.client.services.AAI.managed=true - http.client.services.AAI.https=false - http.client.services.AAI.host=${envd:AAI_HOST} - http.client.services.AAI.port=${envd:AAI_PORT} - http.client.services.AAI.userName=${envd:AAI_USERNAME} - http.client.services.AAI.password=${envd:AAI_PASSWORD} - http.client.services.AAI.contextUriPath=${envd:AAI_CONTEXT_URI} - -The SO actor had to be modified similarly. - -.. code-block:: bash - - oom/kubernetes/policy/charts/drools/resources/configmaps/SO-http-client.properties: - - http.client.services=SO - - http.client.services.SO.managed=true - http.client.services.SO.https=false - http.client.services.SO.host=${envd:SO_HOST} - http.client.services.SO.port=${envd:SO_PORT} - http.client.services.SO.userName=${envd:SO_USERNAME} - http.client.services.SO.password=${envd:SO_PASSWORD} - http.client.services.SO.contextUriPath=${envd:SO_CONTEXT_URI} - The feature-controlloop-utils was started by adding the following script: .. code-block:: bash @@ -136,7 +60,6 @@ The feature-controlloop-utils was started by adding the following script: #!/bin/bash bash -c "features enable controlloop-utils" - Stability Test of Policy PDP-D ****************************** @@ -145,40 +68,17 @@ The 72 hour stability test happened in parallel with the stability run of the AP Worker Node performance ======================= -The VM named onap-k8s-07 was monitored for the duration of the two parallel -stability runs. The table below show the usage ranges: +The VM named onap-k8s-09 was monitored for the duration of the 72 hours +stability run. The table below show the usage ranges: .. code-block:: bash - NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% - onap-k8s-07 <=1374m <=20% <=10643Mi <=66% + NAME CPU(cores) CPU% + onap-k8s-09 <=1214m <=20% PDP-D performance ================= -The PDP-D uses a small configuration: - -.. code-block:: bash - - small: - limits: - cpu: 1 - memory: 4Gi - requests: - cpu: 100m - memory: 1Gi - -In practicality, this corresponded to an allocated 3.75G heap for the JVM based. - -The PDP-D was monitored during the run and stayed below the following ranges: - -.. code-block:: bash - - NAME CPU(cores) MEMORY(bytes) - dev-drools-0 <=142m 684Mi - -Garbage collection was monitored without detecting any significant degradation. - The test set focused on the following use cases: - vCPE @@ -204,7 +104,7 @@ The command executed was .. code-block:: bash - jmeter -n -t /home/ubuntu/jhh/s3p.jmx > /dev/null 2>&1 + ./jmeter -n -t /home/ubuntu/drools-applications/testsuites/stability/src/main/resources/frankfurt/s3p.jmx -l /home/ubuntu/jmeter_result/jmeter.jtl -e -o /home/ubuntu/jmeter_result > /dev/null 2>&1 The results were computed by taking the ellapsed time from the audit.log (this log reports all end to end transactions, marking the start, end, and @@ -222,13 +122,7 @@ ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e: .. code-block:: bash - count 155246.000000 - mean 269.894226 - std 64.556282 - min 133.000000 - 50% 276.000000 - max 1125.000000 - + Max: 4323 ms, Min: 143 ms, Average: 380 ms [samples taken for average: 260628] .. image:: images/ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e.png @@ -240,14 +134,7 @@ ControlLoop-vCPE-Fail: .. code-block:: bash - ControlLoop-vCPE-Fail : - count 149621.000000 - mean 280.483522 - std 67.226550 - min 134.000000 - 50% 279.000000 - max 5394.000000 - + Max: 3723 ms, Min: 148 ms, Average: 671 ms [samples taken for average: 87888] .. image:: images/ControlLoop-vCPE-Fail.png @@ -258,13 +145,7 @@ ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3: .. code-block:: bash - count 293000.000000 - mean 21.961792 - std 7.921396 - min 15.000000 - 50% 20.000000 - max 672.000000 - + Max: 6437 ms, Min: 19 ms, Average: 165 ms [samples taken for average: 59259] .. image:: images/ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3.png @@ -275,13 +156,7 @@ ControlLoop-vDNS-Fail: .. code-block:: bash - count 59357.000000 - mean 3010.261267 - std 76.599948 - min 0.000000 - 50% 3010.000000 - max 3602.000000 - + Max: 1176 ms, Min: 4 ms, Average: 5 ms [samples taken for average: 340810] .. image:: images/ControlLoop-vDNS-Fail.png @@ -292,16 +167,6 @@ ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a: .. code-block:: bash - count 175401.000000 - mean 184.581251 - std 35.619075 - min 136.000000 - 50% 181.000000 - max 3972.000000 - + Max: 4016 ms, Min: 177 ms, Average: 644 ms [samples taken for average: 36460] .. image:: images/ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a.png - - - - diff --git a/docs/development/devtools/images/ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e.png b/docs/development/devtools/images/ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e.png Binary files differindex 5502fe90..5708502f 100644 --- a/docs/development/devtools/images/ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e.png +++ b/docs/development/devtools/images/ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e.png diff --git a/docs/development/devtools/images/ControlLoop-vCPE-Fail.png b/docs/development/devtools/images/ControlLoop-vCPE-Fail.png Binary files differindex 27601d9c..8c87ddfe 100644 --- a/docs/development/devtools/images/ControlLoop-vCPE-Fail.png +++ b/docs/development/devtools/images/ControlLoop-vCPE-Fail.png diff --git a/docs/development/devtools/images/ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3.png b/docs/development/devtools/images/ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3.png Binary files differindex d4b9e050..763efe76 100644 --- a/docs/development/devtools/images/ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3.png +++ b/docs/development/devtools/images/ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3.png diff --git a/docs/development/devtools/images/ControlLoop-vDNS-Fail.png b/docs/development/devtools/images/ControlLoop-vDNS-Fail.png Binary files differindex 643afea8..bd7302c5 100644 --- a/docs/development/devtools/images/ControlLoop-vDNS-Fail.png +++ b/docs/development/devtools/images/ControlLoop-vDNS-Fail.png diff --git a/docs/development/devtools/images/ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a.png b/docs/development/devtools/images/ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a.png Binary files differindex 23a543d2..5ba85fb4 100644 --- a/docs/development/devtools/images/ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a.png +++ b/docs/development/devtools/images/ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a.png |