Versions Compared

Key

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

...

Query: cps/api/v1/dataspaces/openroadm/anchors/owb-msa221-anchor/node?xpath=/openroadm-devices/openroadm-device[@device-id='C201-7-13A-5A1']

Durations are average of 100 measurements

 (1 object out of many)

PatchDevicesE2E duration (s)Fragment Query duration (s)Service OverheadGraph

1) Baseline

https://gerrit.onap.org/r/c/cps/+/133482

10001,0000.0450.0230.022

Image Added

2,00020000.0540.0350.018
50005,0000.1440.1170.027
1000010,0000.2900.2600.030
2) https://gerrit.onap.org/r/c/cps/+/133511/210001,0000.0540.0530.001

Image Added

20002,0000.1000.1000.000
50005,0000.2290.2290.000
1000010,0000.2130.2120.000


Merged  

1,00010000.0200.0160.004

Image Added

20002,0000.0300.0260.003
50005,0000.1130.1080.005
1000010,0000.1000.0960.003

Graphs:

ttps://gerrit.onap.org/r/c/cps/+/133482:

Image Removed

https://gerrit.onap.org/r/c/cps/+/133511/2:

Image Removed

https://gerrit.onap.org/r/c/cps/+/133511/12:

Image Removed

Conclusions:


Observations (patch 3) 

  1. Is 'findByAnchorAndCspPath' being used (shouldn't?!)
  2. Query time increases until list-size reached 6,000 elements and then levels off

Whole data tree as one request

...

Query: cps/api/v1/dataspaces/openroadm/anchors/owb-msa221-anchor/node?xpath=/openroadm-device

All queries ran 10-reames

PatchNodesDevicesTotal E2E duration (s)Fragment Query duration (s)Service duration (s)Object Size (KB)Object Size #Fragments
https://gerrit.onap.org/r/c/cps/+/1334821,00011.80.031*11.740332,99733386,006000
2,00028.50.04928.401665,994666172,006000
5,00087.00.15886.8141,664,98543430,0006000
10,000201.00.445201.0083,329,970860,006
https://gerrit.onap.org/r/c/cps/+/133511/2**1,0000.50.2230.321332,99786,006
2,0001.00.4170.558665,994172,006
5,0002.51.0871.4391664985430,006
10,0007.0 ??? Was this wrong ?!2.9284.0493329970860,006
https://gerrit.onap.org/r/c/cps/+/133511/121,0003.01.2621.69133299786,006
2,0005.52.3173.173665994172,006
5,00011.05.4335.5911664985430,006
10,00025.411.69813.6613329970860,006

*Only initial Hibernate query

** 

Graphs:

ttps://gerrit.onap.org/r/c/cps/+/133482:

...

https://gerrit.onap.org/r/c/cps/+/133511/12:

Conclusions:

Get nodes parallel

Query: cps/api/v1/dataspaces/openroadm/anchors/owb-msa221-anchor/node?xpath=/openroadm-devices/openroadm-device[@device-id='C201-7-13A-5A1']

PatchThreads ?Total duration (s)Query duration (s)
https://gerrit.onap.org/r/c/cps/+/133511/1210.0820.238
20.0910.099
30.1230.127
50.1800.180
100.2880.283
200.4990.487
501.0070.982
1002.3442.271
2007.5676.225
50017.13413.833
100015.30611.866

Graph:

Conclusions:


Data sheets:

View file
nameCpsPerformance.xlsx
height250
View file
nameperformanceTest.zip
height250