Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • De-Register CM Handles (Removed CM Handles)

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 (after improvement)7421c69 Use native query to delete data nodes

...

#

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

...

Performance of CM Handle Deregistration.xlsx

Instrumentation sample

  • Register, read and de-register 1,000 CM Handles
  • Docker environment on Laptop


NameMaxCountSum (sec)Avg (sec)
CPS Custom Instrumentation
cps_utils_yangparser_nodedata_with_parent_parse       0.121          3,000       1.128       0.000
cps_ncmp_lcm_events_publish       0.131          4,000       1.061       0.000
cps_ncmp_cmhandle_state_update_batch       5.886                15     33.485       2.232
cps_ncmp_inventory_persistence_schemaset_delete       0.130          1,000     13.132       0.013
cps_data_service_datanode_batch_delete       0.060          1,000       1.525       0.002
cps_ncmp_inventory_controller_update     49.925                  2     62.482     31.241
cps_data_service_list_delete       0.172          1,000     25.226       0.025
cps_data_service_datanode_get       0.558          4,057   283.310       0.070
cps_data_service_list_element_batch_save       0.000                15     11.980       0.799
cps_data_service_datanode_descendants_batch_updat       5.776                15     19.923       1.328
cps_ncmp_inventory_persistence_datanode_get       0.230                  2       0.242       0.121
Hibernation Auto Generated Instrumentation