Versions Compared

Key

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

The Platform Maturity requirements for Beijing Casablanca are on this page:
Platform Maturity Requirements (aka Carrier Grade)Casablanca Release Requirements

The ambition for the ONPA ONAP Policy Framework is to reach level 1 2 in performance in BeijingCasablanca, see

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyPOLICY-
392
888
.


For Performance Level 1, we have had to define and measure our performance metrics:
Level 1: baseline performance criteria identified and measured  (such as response time, transaction/message rate, latency, footprint, etc. to be defined on per component

Measurements were taken in the Beijing release for the Single-Threaded case.  Additional measurements are to be taken in the Casablanca release, for the Multi-Threaded case (i.e., multiple threads, each generating their own ONSET events).

Depending on the results, for I don't think we have to state what the metrics should be, it looks like we just define the metrics and measure them. For Level 2, an improvement plan must be created and implemented.

Although there should be measurements for design time and deployment time performance, here we continue to focus on the run time performance metrics for policy execution in the PDPs, the most critical run time metrics for Policy. We propose to measure these metrics in a simulated environment and in a full ONAP deployment.

Measurements for the "Single Threaded" case are were made in Beijing using the Stability test, which uses timers to determine when to inject responses via REST.  It also uses the REST API to look for "FINAL" states, thus it is limited to two threads.  On the other hand, the measurements for the "Multi Threaded" case are made using the Performance test, which uses DMaaP notifications to determine when to inject responses via REST.  It also uses DMaaP notifications to look for "FINAL" states, thus it is only limited by how many simultaneous consumers and connections are supported by DMaaP.

No.MetricDescription
1Single Threaded Response TimeMeasure the execution time for onset and abatement in each use case with only a single policy executing
2Single Threaded CPU UsageCPU Usage for each use case when executing alone
3Single Threaded Memory UsageMemory Usage for each use case when executing alone
4Maximum Simultaneous ExecutionsMeasure the maximum number of simultaneous policy executions that can be achieved whilst maintaining system stability and resource utilization
5Multi Threaded Response TimeMeasure the execution time for onset and abatement in each use case when multiple threads are injecting ONSET events simultaneously
6Multi Threaded CPU UsageCPU Usage for each use case when multiple threads are injecting ONSET events simultaneously
7Multi Threaded Memory UsageMemory Usage for each use case when executing in case when multiple threads are injecting ONSET events simultaneously
8Installation FootprintThe requirements of the ONAP Policy Framework installation in terms of VM resources including the amount of disk space required for the database and for logs.



Based on the results of the tests, performance of the PDP-D is satisfactory.  Should the load increase to the point where performance becomes an issue, then additional PDP-D's can be added; this is already supported and does not require any code changes.  As a result, PDP-D satisfies both level 2 and level 3 performance requirements.  Additional testing must be done to determine level 0-3 conformance for the other policy components (e.g., PDP-X).