Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Read data operation resource for multiple cm-handles

Capabilities


#ParameterExpectationNotes
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
 Click here to expand...
  1. CPS and NCMP

requests:
    cpu: 2000m
    memory: 2Gi
limits:
    memory: 3Gi
    cpu: 3000m

2. Postgres

requests:
    cpu: 4000m
    memory: 1Gi
 limits:
    memory: 3Gi
    cpu: 6000m


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

1Teed 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
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
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

Description

Expectation

Result

Concurrency (paralel 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



  • No labels