Versions Compared

Key

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

Table of Contents

De-Register CM Handles (Removed CM Handles)

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

2Docker-compose 

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

3cURL

De-Register CM Handles cURL Expand source

4Number of CPS Instance

1

5Number Modules per Cm Handle

10

6Commit ID (before improvement)

9c56b30 Fetch CM handles by collection of xpaths

7Commit ID (improvement 1)7421c69 Use native query to delete data nodes
8Commit ID (improvement 2)a0aa860 CmHandle batch deletion

...

#

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

Note: the tests to de-register CM handles did not wait for all CM handles to be in the READY state, so improved test results should be considered as relative increases.

Total CM Handles 

Total Time

CM handles/sec

#

Before

Deleted 

9c56b307421c69

a0aa860

9c56b30

7421c69

a0aa860
15005002m 9s12 s6 s3.864387
21,0001,0008m 3s34 s12 s2.073085
32,0002,00032m 8s105s32 s1.041962
43,0003,000-3m 41s1m 4s-1447
54,0004,000-8m 53s1m 33s-843
65,0005,000-11m 23s2m 19s-736
71,0005005m 58s19.6 s6.4 s1.402678
81,5005009m 46s27.2 s7.8 s0.851865
92,00050012m 5s37.8 s9.6 s0.691352
102,500500-42.3 s9.7 s-1251
112,0001,00023m 33s70.0 s17.0 s0.711459

Test Results before any improvement (Commit Id: 9c56b30)

...