Versions Compared

Key

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

Table of Contents

...

Read data operation resource for multiple cm-handles

Capabilities

Excerpt Include
CPS-1515: Spike: Support Multiple CM-Handles for NCMP Get Operation (Data operations)
CPS-1515: Spike: Support Multiple CM-Handles for NCMP Get Operation (Data operations)
nopaneltrue

Test Configurations

#

Environment/Workload

Description

1
Tested 3cURL

De-Register CM Handles cURL Expand source

4
Teed 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
3
Number of CPS Instance

1

5
4Number Modules per Cm Handle

10

5Total number of cm handles

20,000

6
Commit ID (before improvement)

9c56b30 Fetch CM handles by collection of xpaths

7Commit ID (improvement 1)373cdf2 Skip deleting list xpaths that are list elements
Batch-size

200 cm handles per request

7Response payload size~2 KB per cm handles
8Concurrent request12
9Number of DMI PLugins1
10Commit ID 9830d1aec56da5cec195f6d15c318b58f642c9b7
11Commit ID 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)

...

Description

Expectation

Result

Concurrency (parallel thread requests)1212
Test Start (received first kafka response message)N/A

14:07:50

Test End (received last message)< 14:10:10

14:08:03

Total time taken to publish 20,000 cm handle responses to client topic< 200 sec

13.2 sec

Average Time per batch (of 200 cm handles)< 2 sec0.132 sec
Pace of cm handle response to client topic ()100 cm handles/ sec1,514 cm handles/ sec

Notes

  1. Above test has been executed with just (stubbed) 1 DMI Plugin. 
  2. More DMI Plugin should make it even faster
  3. As per usual NCMP performance is measured without delays in the Plugin Layer

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

...

deleteDurationInMillis (ms)

...

Instrumentation sample #1

...

Instrumentation sample #2

...