Table of Contents |
---|
De-Register CM Handles (Removed CM Handles)
Test Configurations
# | Environment/Workload | Description |
---|---|---|
1 | Tested on | laptop : |
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 |
3 | cURL | De-Register CM Handles cURL |
4 | Number of CPS Instance | 1 |
5 | Number Modules per Cm Handle | 10 |
6 | Commit ID (before improvement) | |
7 | Commit ID (improvement 1) | 7421c69 Use native query to delete data nodes |
8 | Commit ID (improvement 2) | a0aa860 CmHandle batch deletion |
...
# | Component | Configuration Parameters | Value |
---|---|---|---|
1 | CPS | notifactions:enabled | true |
2 | CPS | config.additional.notification.data-updated.filters.dataspaces.enabled-dataspaces | "NON-EXISTING-DATASPACE" |
3 | NCMP | modules-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 | 9c56b30 | 7421c69 | 9c56b30 | a0aa860 | ||
1 | 500 | 500 | 2m 9s | 12 s | 6 s | 3.86 | 43 | 87 |
2 | 1,000 | 1,000 | 8m 3s | 34 s | 12 s | 2.07 | 30 | 85 |
3 | 2,000 | 2,000 | 32m 8s | 105s | 32 s | 1.04 | 19 | 62 |
4 | 3,000 | 3,000 | - | 3m 41s | 1m 4s | - | 14 | 47 |
5 | 4,000 | 4,000 | - | 8m 53s | 1m 33s | - | 8 | 43 |
6 | 5,000 | 5,000 | - | 11m 23s | 2m 19s | - | 7 | 36 |
7 | 1,000 | 500 | 5m 58s | 19.6 s | 6.4 s | 1.40 | 26 | 78 |
8 | 1,500 | 500 | 9m 46s | 27.2 s | 7.8 s | 0.85 | 18 | 65 |
9 | 2,000 | 500 | 12m 5s | 37.8 s | 9.6 s | 0.69 | 13 | 52 |
10 | 2,500 | 500 | - | 42.3 s | 9.7 s | - | 12 | 51 |
11 | 2,000 | 1,000 | 23m 33s | 70.0 s | 17.0 s | 0.71 | 14 | 59 |
Test Results before any improvement (Commit Id: 9c56b30)
...