Versions Compared

Key

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

Table of Contents
outlinetrue

Overview

  • The purpose of the document is to compare results of reindexing of instances on Orchid and Poppy releases. 

Recommendations & Jiras

Test Summary

Comparing results with PERF-430 reindexing on Poppy release is faster than on Orchid. 9h 47 min against 11h 10 min.

Incorrect behaviour for reindexing was observed during 3, 4 tests. It was unexpectedly fast (just 1 hour). Jira ticket created RANCHER-1032

After problem was fixed additional 2 tests were carried out. So reindexing results during 5, 6 tests are consistent on Poppy release and took 9 hours 46 min and 9 hours 38 min.

It was observed that after 2 hours of instance reindexing all instances are indexed and searchable from UI. The rest of time It goes with contributor.

Test Runs /Results

...

Test #

...

Test Conditions

...

Duration 

Notes

...

  • mod-search task count =8
  • open search instance scaled up to r6g.4xlarge.search

...

2. 2023_10_01 10:18 - 20:05 UTC

Reindexing on Poppy release

...

  • mod-search task count =8
  • mod-inventory-storage task count = 2
  • mod-okapi task count = 3
  • open search instance scaled up to r6g.4xlarge.search
  • without configuration of number_of_replicas and refresh_interval values of ES/OpenSearch

...

3. 2023-10-03 10:33 - 11:33 UTC

...

4. 2023-10-03 12:08 -  13:05 UTC

...

Indexing size

2 Test

Table of Contents
outlinetrue

Overview

  • The purpose of the document is to compare results of reindexing of instances on Orchid and Poppy releases. 

Recommendations & Jiras

Test Summary

Comparing results with PERF-430 reindexing on Poppy release is faster than on Orchid. 9h 47 min against 11h 10 min.

Incorrect behaviour for reindexing was observed during tests #3,4. It was unexpectedly fast (just 1 hour). Jira ticket created RANCHER-1032

After problem was fixed additional 2th tests were carried out. So reindexing results during tests #5,6 are consistent on Poppy release and took 9 hours 46 min and 9 hours 38 min.

It was observed that after 2 hours of instance reindexing all instances are indexed and searchable from UI. The rest of time It goes with ocp2_contributor_fs09000000 indexing.

Average memory usage for mod-search on Orchid - 36% against 47% on Poppy, and for mod-inventory-storage it decreased almost twice on Orchid - 50% against 26% on Poppy).

Average CPU utilization decreased significantly on Poppy (for mod-search on Orchid - 75% against 20% on Poppy, for mod-inventory-storage on Orchid - 50% against 15% on Poppy). 

Max. Indexing latency changed from 19 ms on Orchid to 60 ms on Poppy.

Test Runs /Results

Test #

Test Conditions

Duration 

Notes



Reindexing on Orchid release11 hr 10 min
  • mod-search task count =8
  • open search instance scaled up to r6g.4xlarge.search

2. 2023_10_01 10:18 - 20:05 UTC

Reindexing on Poppy release



9 hours 47 min
  • mod-search task count =8
  • mod-inventory-storage task count = 2
  • mod-okapi task count = 3
  • open search instance scaled up to r6g.4xlarge.search
  • without configuration of number_of_replicas and refresh_interval values of ES/OpenSearch

3. 2023-10-03 10:33 - 11:33 UTC

1 hour Failed

4. 2023-10-03 12:08 -  13:05 UTC

57 min Failed
5. 2023-10-09 17:41 - 03:27 UTC9 hours 46 min
6. 2023-10-10 06:05 - 15:43 UTC9 hours 38 min

Indexing size

Test #2

healthstatusindexuuidpri repdocs.countdocs.deletedstore.sizepri.store.size
greenopenocp2_authority_fs09000000XE9S-Me_StyzkP3XQqPqBA405562390233.1mb233.1mb
greenopenocp2_contributor_fs09000000N59vfY3YTsOopikzeqU5NA424629419130048414.6gb4.8gb
greenopenocp2_instance_fs09000000vCgkqlfuRYyWExbd8o0BoQ42107337292712122.9gb40.9gb
greenopenocp2_instance_subject_fs09000000l-07qruwRRKpKR2ec8Gylg424071905117629919.7gb6.5gb

Test #3 Indexing first time after a new OS cluster was created

healthstatusindexuuid
pri 
prirepdocs.countdocs.deletedstore.sizepri.store.size
greenopen.opensearch-observabilitykPAJ8TqaR06AQZFYekHeyA1200624b208b
greenopenocp2_
authority
instance_fs09000000
XE9S
61c7lHERQGab0nWBS6tU-
Me_StyzkP3XQqPqBA
w4
0
2
556239
107337290
233
124.
1mb
5gb
233
41.
1mb
3gb
greenopenocp2_instance_
contributor
subject_fs09000000
N59vfY3YTsOopikzeqU5NA
T9QYzSdMS-GFcO4skPIQiw42
4629419
0
1300484
0
14
2.
6gb
4kb
4.8gb
832b
greenopenocp2_
instance
contributor_fs09000000
vCgkqlfuRYyWExbd8o0BoQ
qPUffL5HQtWNpyScGOA6cA42
10733729
0
2712
0
122
2.
9gb
4kb
40.9gb4
832b
greenopen
ocp2_instance_subject_fs09000000l-07qruwRRKpKR2ec8Gylg
.kibana_19Q4bvyKCRpiiwcPNcLFs9g12
4071905
1
1176299
0
19
15.
7gb
5kb
6.5gb

...

5.1kb

Test #4

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopen.opensearch-observabilitykPAJ8TqaR06AQZFYekHeyA1200624b208b
greenopenocp2_instance_fs0900000061c7lHERQGab0nWBS6tUpj6TE-wz6SkeewcFbfr98yg42107337290124.5gb7gb41.3gb42gb
greenopenocp2_instance_subjectcontributor_fs09000000T9QYzSdMS-GFcO4skPIQiwlVNwo3siRVKvTGg0_YVivQ42002.4kb832b
greenopenocp2_instance_contributorsubject_fs09000000qPUffL5HQtWNpyScGOA6cALwlykCF9SrWiu4UV1Spmtw42002.4kb832b
greenopen.kibana_19Q4bvyKCRpiiwcPNcLFs9g121015.5kb5.1kb

4 Test #5

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopen.opensearch-observabilitykPAJ8TqaR06AQZFYekHeyA1200624b208b
greenopenocp2_instance_fs09000000
pj6TE-z6SkeewcFbfr98yg
RJFH1FFRTLC2f8tAZuTulg42107337290
124
123.
7gb
5gb
42gb
40.9gb
greenopenocp2_
contributor
authority_fs09000000
lVNwo3siRVKvTGg0_YVivQ
9QX5G1CkSMWTIaD-U2Re2g4
2
0
0
5562390
2
238.
4kb
6mb
832b
238.6mb
greenopenocp2_instance_subject_fs09000000
LwlykCF9SrWiu4UV1Spmtw
8VxNRdHjRYOC-fB-G6B4ow42
0
4076687
0
736676
2
18.
4kb
1gb
832b1
6gb
greenopen
.kibana_19Q4bvyKCRpiiwcPNcLFs9g
ocp2_contributor_fs090000006pmK601zR3eFwZ02PR0SCg42
1
4636652
0
708574
15
12.
5kb
6gb
5
3.
1kb
8gb

5 Test #6

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopenocp2_instance_fs09000000
RJFH1FFRTLC2f8tAZuTulg
l-8gxUPaRHu9Rb77krV2Pw42107337290
123.5gb
124gb
40
41.
9gb
2gb
greenopenocp2_authority_fs090000009QX5G1CkSMWTIaD-U2Re2g405562390238.6mb238.6mb
greenopenocp2_
instance_subject
contributor_fs09000000
8VxNRdHjRYOC
oxx-
fB-G6B4ow
7teWRieeiHmj2mZPqw42
4076687
4634992
736676
732218
18
12.
1gb
8gb
6gb
3.8gb
greenopenocp2_instance_
contributor
subject_fs09000000
6pmK601zR3eFwZ02PR0SCg
OaxNET2SRO2nG1oPeTy61w42
4636652
4076647
708574
472411
12
18.6gb
3
6.
8gb
5gb

...

Memory Usage

...

Poppy

...

Test #2

...

Memory Usage

Poppy

2 Test 

Image Removed

mod-search max. 74% during an hour, 64% - during second hour and the rest 7 hours with average 47%. 

mod-inventory-storage avr. 26%

3, 4 Tests

Image Removed

5 Test

Image Removed

mod-search max. 68% during an hour, 60% - during second hour and the rest 7 hours with average 47%. 

mod-inventory-storage avr. 26%

6 Test

Image Removed

mod-search max. 68% during an hour, 60% - during second hour and the rest 7 hours with average 45%. 

mod-inventory-storage avr. 26%

Orchid

Image Removed

mod-search avr. 36%

mod-inventory-storage avr. 50%

...

Initial spike

...

2. Poppy

...

CPU Utilization 

Poppy

2 Test

Image Removed

After 2 hour of reindexing utilization of CPU resources decreased to minimum. 1-2% for mod-inventory-storage and less than 1 % for mod-search

3, 4 Tests

Image Removed

5 Test

Image Removed

6 Test

Image Removed

...

Initial spike

...

2

...

Image Added

mod-search max. 74% during an hour, 64% - during second hour and the rest 7 hours with average 47%. 

mod-inventory-storage avr. 26%

Test #3,4

Image Added

Test #5

Image Added

mod-search max. 68% during an hour, 60% - during second hour and the rest 7 hours with average 47%. 

mod-inventory-storage avr. 26%

Test #6

Image Added

mod-search max. 68% during an hour, 60% - during second hour and the rest 7 hours with average 45%. 

mod-inventory-storage avr. 26%

Orchid

Image Added

mod-search avr. 36%

mod-inventory-storage avr. 50%


Memory consumption

Test #Module

Initial spike

avg. usage

2. Poppy

mod-search74%47%
mod-inventory-storage26%26%
5. Poppymod-search68%47%
mod-inventory-storage24%22%
6. Poppymod-search60%45%
mod-inventory-storage24%21%
Orchid

mod-search47%36%
mod-inventory-storage50%50%

CPU Utilization 

Poppy

Test #2

Image Added

After 2 hour of reindexing utilization of CPU resources decreased to minimum. 1-2% for mod-inventory-storage and less than 1 % for mod-search

Test #3,4

Image Added

Test #5

Image Added

Test #6

Image Added


CPU utilization

Test #Poppy release

Initial spike

avg. usage

2

mod-search32%20% - first 2 hours. Close to 1% after 2 hours of indexing
mod-inventory-storage49%15% - first 2 hours. Close to 1% after 2 hours of indexing

5

mod-search30%20% - first 2 hours. Close to 1% after 2 hours of indexing
mod-inventory-storage50%15% - first 2 hours. Close to 1% after 2 hours of indexing
6mod-search30%20% - first 2 hours. Close to 1% after 2 hours of indexing
mod-inventory-storage54%15% - first 2 hours. Close to 1% after 2 hours of indexing
Orchidmod-search200%75% - first 2 hours. Close to 1% after 2 hours of indexing
mod-inventory-storage
49%
100%50% - first 2 hours. Close to 1% after 2 hours of indexing

5

mod-search30%mod-inventory-storage50%6mod-search30%
mod-inventory-storage54%

Orchid

RDS CPU Utilization 

Poppy

2 Test #2

Image Modified

Utilization max. 63%, avr. 22% during a second hour, after 2 hours of indexing DB utilization decreased to the level as before test start - 6%

3Test #3,4 Tests

Image Modified

5 Test #5

Image Modified6 Test 

Test #6

Image Modified

Spikes after 8:00 can be ignored. DB queries were performed for other ticket purposes this time.

...

Open Search KPIs

Indexing rate Poppy

2 Test #2

Duration: 9 hours 47 min

3Test #3,4 Tests

5 Test #5

Image Modified

6 Test #6

Image Modified


Indexing rate Orchid

...

Duration: 11 hours 10 min

Indexing latency Poppy

2 Test #2

After 7 hours of indexing latency grew from 35 ms to 55 ms during 1 minute

...

Max: 79.2 ms

Avr.: 39.6 ms

3Test #3,4 Tests

5 Test #5

Image Modified

6 Test #6

Image Modified


Indexing latency Orchid



Appendix

Infrastructure

2-4 testsTests #2,3,4

PTF -environment ocp2

  • 8 m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1 
  • 2 instances of db.r6.xlarge database instances, one reader, and one writer 
  • MSK ptf-kakfa-3
    • 4 m5.2xlarge brokers in 2 zones
    • Apache Kafka version 2.8.0

    • EBS storage volume per broker 310 GiB

    • auto.create.topics.enable=true
    • log.retention.minutes=480
    • default.replication.factor=3

5-Tests #5,6 tests

PTF -environment ocp2

  • 10 m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1 
  • 2 instances of db.r6g.xlarge database instances, one reader, and one writer 
  • MSK ptf-kakfa-3
    • 4 m5.2xlarge brokers in 2 zones
    • Apache Kafka version 2.8.0

    • EBS storage volume per broker 300 GiB

    • auto.create.topics.enable=true
    • log.retention.minutes=480
    • default.replication.factor=3

...

Modules memory and CPU parameters: 1-4 tests tests #2,3,4

Modules

Version

Task Definition

Running Tasks 

CPU

Memory

MemoryReservation

MaxMetaspaceSize

Xmx

mod-search Poppy3.0.0-SNAPSHOT.151682048259224805121440
mod-inventory-storage Poppy26.1.0-SNAPSHOT.6851122048409636905123076
mod-search Orchid 
2.1.0-SNAPSHOT.108
384002592248010241440
mod-inventory-storage Orchid26.1.0-SNAPSHOT.644321024195222085121440

Modules memory and CPU parameters: 5-6 tests  tests #5,6

Modules

Version

Task Definition

Running Tasks 

CPU

Memory

MemoryReservation

MaxMetaspaceSize

Xmx

mod-search Poppy

3.0.0-SNAPSHOT.156

1382048259224805121440
mod-inventory-storage Poppy26.1.0-SNAPSHOT.6851122048409636905123076

...

  • Use PTF's "Bugfest" Poppy cluster, which has 10M records, to test with (2 times)
  • Configure the environment in accordance with Infrastructure parameters  to the one that FSE commonly uses
  • Reindex on the new Poppy environment, get the results for indexing time, index size
  • Compare with results of https://issuesfolio-org.folioatlassian.orgnet/browse/PERF-430