...
- Updating data leaves has linear time complexity.
- Raw performance is about 3000 fragments per second.
- This is very fast compared to updating whole data nodes. I recommend that NCMP use this API for updating CM-handle state.
Deleting data nodes
In this scenario, 300 Open ROADM device nodes are already defined. A number of these data nodes will be deleted using CpsDataService::deleteDataNodes. The types of nodes will be varied, for example, deleting container nodes, list elements, or whole lists.
...
This should narrow the performance gap in this case.
Cps Path Queries
TODO
NCMP Performance
CM-handle registration
TODO Comparison of Kohn, London, Montreal (current) up to 40,000 CM handles
CM-handle deregistration
...
Release | Date | CmHandles | 100 | 500 | 1000 | 2000 | 5000 | 10000 | 20000 | 40000 |
---|---|---|---|---|---|---|---|---|---|---|
Kohn | Oct 2022 | Time (seconds) | 8 | 16 | 17 | 33 | 58 | 152 | ERROR | not tested |
London | May 2023 | Time (seconds) | 6 | 7 | 12 | 22 | 62 | 122 | 613 | 1955 |
current | Aug 2023 | Time (seconds) | 6 | 7 | 10 | 16 | 31 | 57 | 71 | 108 |
CM-handle registration is multi-threaded, so performance may appear to scale better than linear, until the CPU cores are maxed out.
As can be seen below, CPU usage never reached 100% during the tests, indicating performance is still bottle-necked.
CM-handle deregistration
Release | Date | CmHandles | 100 | 500 | 1000 | 2000 | 5000 | 10000 | 20000 | 40000 |
---|---|---|---|---|---|---|---|---|---|---|
Kohn | Oct 2022 | Time (seconds) | 7 | 116 | 395 | 1465 | 9523 | not tested | not tested | not tested |
London | May 2023 | Time (seconds) | 0.6 | 1.7 | 3.2 | 5.0 | 16.8 | 37.2 | 85.3 | ERROR |
current | Aug 2023 | Time (seconds) | 0.6 | 1.4 | 2.8 | 3.9 | 14.2 | 23.0 | 65.2 | 142.3 |
Current release has exactly linear performance for CM-handle de-registration (on a single thread):
Removed | Time (sec) | CM-handles/sec |
---|---|---|
500 | 1.53 | 327 |
1000 | 2.65 | 377 |
5000 | 13.26 | 377 |
10000 | 25.93 | 385 |
20000 | 56.15 | 356 |