Versions Compared

Key

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

Table of Contents

De-Register CM Handles (Removed CM Handles)

Read data operation resource for multiple cm-handles

Capabilities

#

Parameter

Expectation

Notes

1Response Time 1 Batch request<2 seconds (average)
  • Async response available on client topic
  • No delay in DMI Plugin (tested/measured using stub DMI Plugin)
2Batch-size200 cm handlesNo hardcoded limit
3Response payload size~2 KB per cm handlesPerformance test for capability should be tested with this average response size
4Maximum registered #cm handles 20,000This will effect the internal query time
5Supported # DMI PLugins10This might effect processing times
6Test Environment


7Concurrent request1212 clients requests toward 1 NCMP simultaneously
8Request Frequency100 request/minShould not affect performance, does not need to be tested

Test

...

Configurations

#

Environment/Workload

Description

1Tested on 

laptop :
Processor :          Intel© Core™ i7-8750H CPU @ 2.20GHz × 6
Installed RAM :   32.0 GB
Edition :               Linux Mint 21.1

2
Docker-compose 

Docker-compose file: https://gerrit.onap.org/r/gitweb?p=cps.git;a=blob_plain;f=docker-compose/docker-compose.yml;hb=aa29f24b0da9b9d2c86a0c528357a17ff3d7a871

Shell script, postman request and generated txt file with 20,000 cm handle ids

View file
namegenerated-handles.txt
height250
View file
nametest-async-readresourcedataforcmhandles.sh
height250
View file
nameCPS-1515 - Data operational performance test.postman_collection.json
height250

3
3cURL

De-Register CM Handles cURL Expand source

4
Number of CPS Instance

1

5
4Number Modules per Cm Handle

10

5Total number of cm handles

20,000

6Commit
ID (before improvement)
ID 

9830d1aec56da5cec195f6d15c318b58f642c9b7

9c56b30 Fetch CM handles by collection of xpaths

7Commit ID
(improvement 1)373cdf2 Skip deleting list xpaths that are list elements
linkhttps://gerrit.onap.org/r/gitweb?p=cps.git;a=commit;h=9830d1aec56da5cec195f6d15c318b58f642c9b7


#

Component

Configuration Parameters

Value

1CPSnotifactions:enabled

true

2CPSconfig.additional.notification.data-updated.filters.dataspaces.enabled-dataspaces
"NON-EXISTING-DATASPACE"
3NCMPmodules-sync-watchdog:async-executor:parallelism-level

10

Summary of test results

Tests were performed after all CM handles are in the READY state.

...

Deregistration Performance-230227.ods

Delete performance scenario on Nordix : (Commit id : 7421c69

...

deleteDurationInMillis (ms)

...

#

Tool

Response to client topic

Timestamp

1offset explorer1st cm handle response

2023-07-20 14:07:50.456

2offset explorerlast cm handle response
2023-07-20 14:08:03.672
Total time taken to publish 20,000 cm handle response to client topic

13 seconds 216 milliseconds (13,216 ms)

Pace of cm handle response to client topic1,514 cm handle response / sec

Delete performance scenario on Nordix : (Commit id : 230b111

...

deleteDurationInMillis (ms)

...

Instrumentation sample #1

...

Instrumentation sample #2

...