Versions Compared

Key

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

...

Read data operation resource for multiple cm-handles

Capabilities

...

#

...

Parameter

...

Expectation

...

Notes

...

  • Async response available on client topic
  • No delay in DMI Plugin (tested/measured using stub DMI Plugin)

...

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

250
250
250

#

Environment/Workload

Description

1Tested Teed on 

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

2Shell script, postman request and generated txt file with 20,000 cm handle ids
View file
nameheightname
View file
heightname
View file
height
3Number of CPS Instance

1

4Number Modules per Cm Handle

10

5Total number of cm handles

20,000

6Batch-size

200 cm handles per request

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

#

Description

Tool

Response to client topic

Timestamp

1offset explorer1st cm handle response2023-07-20
Expectation

Result

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

14:07:50

.4562offset explorerlast cm handle response2023-07-20

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

14:08:03

.672

Total time taken to publish 20,000 cm handle
response
responses to client topic
13 seconds 216 milliseconds (13,216 ms)
< 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
handle response / sec
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