You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Setup

Environment:

OS: Zorin OS 16.2

RAM: 32 GB

CPU: Intel® Core™ i7-10610U CPU @ 1.80GHz × 8

Data: 

Included in ZIP file (at bottom)

  1. All data under 1 anchors
    1. Under /openroadm-devices we have list of 10,000 openroadm-device[..]
  2. tree-size per 'device' fragments 86 fragments
  3. KB per devices: 333 KB


Single-large object request

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

1,0000.0450.0230.022

2,0000.0540.0350.018
5,0000.1440.1170.027
10,0000.2900.2600.030
2) https://gerrit.onap.org/r/c/cps/+/133511/21,0000.0540.0530.001

2,0000.1000.1000.000
5,0000.2290.2290.000
10,0000.2130.2120.000
1,0000.0200.0160.004

2,0000.0300.0260.003
5,0000.1130.1080.005
10,0000.1000.0960.003


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

1 object containing all node as descendants

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

All queries ran 10-reames

PatchDevicesE2E duration (s)Fragment Query duration (s)Service duration (s)Object Size (KB)Object Size #FragmentsGraph

1) Baseline

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

1,00011.80.031*11.74033386,000

2,00028.50.04928.401666172,000
5,00087.00.15886.8141,664,985430,000
10,000201.00.445201.0083,329,970860,000

2)

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

1,0000.50.2230.321332,99786,000

2,0001.00.4170.558665,994172,000
5,0002.51.0871.4391664985430,000
10,0007.0 ??? Was this wrong ?!2.9284.0493329970860,000
1,0003.01.2621.69133299786,000

2,0005.52.3173.173665994172,000
5,00011.05.4335.5911664985430,000
10,00025.411.69813.6613329970860,000

*Only initial Hibernate query

** 


Observations:

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']

PatchThreadsE2E duration (s)Fragment 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:

Observations:


Data sheets:

performanceTest.zip

  • No labels