Versions Compared

Key

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

References:

...

https://gerrit.onap.org/r/c/cps/+/129829/5//COMMIT_MSG


Test EnvironmentAPI Commit idTotal number of registered cm handlesTotal time taken Actual time (Cm-hadnles)/sec)Estimated time (Cm-hadnles/ms)Comments
Ericsson Testing cluster (with Model adapter that is implementation of dmi-plugin)ModuleSyncWatchdog (Cm Handle moves ADVISED->READY)1410509e33142c0c79ff0e111c63abc47f5936d3145869,98,400 ms ~ 0.2 cm handle / 1000 ms20 cm handle / 1000 ms
Cm handle Registration 22,78,125 ms~ 0.64  cm handle / 1000 ms30 cm handle / 1000 ms







ModuleSyncWatchdog (Cm Handle moves ADVISED->READY)c3596fe3a85381668598c75a1ffee4bf973a851814586,00,000 ms~ 2.43  cm handle / 1000 ms20 cm handle / 1000 ms
Cm handle Registration 70,000 ms~ 20.82 cm handle / 1000 ms30 cm handle / 1000 ms







ModuleSyncWatchdog (Cm Handle moves ADVISED->READY)6e97bc6ee9f1cb2722aafc42325918e98da5cff214585,40,000 ms~ 2.7 cm handle / 1000 ms20 cm handle / 1000 ms
Cm handle Registration 88,000 ms~16.57 cm handle / 1000 ms30 cm handle / 1000 ms







ModuleSyncWatchdog (Cm Handle moves ADVISED->READY)e482e74e2dab8455d0642829005c03212936b73d (with modules-sync-watchdog.async-executor.parallelism-level:10 )1458


Unable to capture performance result as Module adapter is not able to  handle concurrent requests(Csaba is working on fix)
Cm handle Registration 



Local Development Machine with CSIT docker deployment (with dmi-plugin that is  implemented by CPS team) 






ModuleSyncWatchdog (Cm Handle moves ADVISED->READY)e482e74e2dab8455d0642829005c03212936b73d (with modules-sync-watchdog.async-executor.parallelism-level:10 )14582,40,000 ms~ 6.075 cm handle / 1000 ms20 cm handle / 1000 ms
Cm handle Registration 30,000 ms~ 48.6 cm handle / 1000 ms30 cm handle / 1000 ms

Configurations: 


#ConfigurationDescription
1Number of CPS Instance

1

2Total number of threads to send each batch (Register cm handle)4
3Batch size

100

4To register 1458 cm handlesUsed to send 15 batchs (100 cm handles in each batch)

...

#Data Sync
Enabled ?
1
data-sync:
    cache:
        enabled: 

false


Scenario 1: If there is no cm handle into Advised state

...

Scenario 2: If we started registering 1458 with configuration mentioned above :


#Operations
Average Time elapsed (in ~ ms)
1To save cm handle state with id Batch #.Iteration #Time elapsed (in ~ ms)
1.1293 
1.284
2.114
2.28
Average Time elapsed per cm handle (in ~ ms)53
2To synchronize, create schema set and anchor with id Batch #.Iteration #Time elapsed (in ~ ms)
1.138393 
1.2599
2.1237 
2.2122
Average Time elapsed per cm handle (in ~ ms)0.483 
3Delete schema set If exists with idBatch #.Iteration #Time elapsed (in ~ ms)
1.117
1.22
2.12
2.22
Average Time elapsed per cm handle (in ~ ms)11.5
4Get cm handle state with idBatch #.Iteration #Time elapsed (in ~ ms)
1.183
1.27
2.110
2.212
Average Time elapsed per cm handle (in ~ ms)56 
5 To get yang modelsBatch #Batch SizeTime elapsed (in ~ ms)Time elapsed per cm handle (in ~ ms)
160163107105.00
28573733743.56
Average Time elapsed per iteration (in ~ ms)74.28
6To shuffle cm handlesBatch #Batch SizeTime elapsed (in ~ ms)
16010
28570
Average Time elapsed per iteration (in ~ ms)0
7
Get / fetch cm handles by state ADVISED
Batch #Batch SizeTime elapsed (in ~ ms)Time elapsed per cm handle (in ~ ms)
1601

19404

32.28
285734854.06
Average Time elapsed per iteration (in ~ ms)18.17


#Operation
Time
1
Registration of 1458 cm handles started

 04:41:00

21st ADVISED cm handle with B031D6DDF9AA4CA484727B7A497AB27D2022-07-15T04:40:49.307+0000
31458th ADVISED cm handle with BFAB827B9CC652EE60DD2545D55EF0CA2022-07-15T04:41:58.018+0000
41st READY cm handle with 47C5F63DFF44436A6C56AC684B5E48C72022-07-15T04:40:49.307+0000
51458th READY cm handle with BFAB827B9CC652EE60DD2545D55EF0CA2022-07-15T04:41:58.018+0000

Average time to make all 1458 cm handles from ADVICED to READY state is: ~ 10 minutes

...