Skip to end of banner
Go to start of banner

mod-search: Test Reindexing of Instances (Poppy)

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 11 Next »

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



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

2 Test

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

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

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopen.opensearch-observabilitykPAJ8TqaR06AQZFYekHeyA1200624b208b
greenopenocp2_instance_fs0900000061c7lHERQGab0nWBS6tU-w42107337290124.5gb41.3gb
greenopenocp2_instance_subject_fs09000000T9QYzSdMS-GFcO4skPIQiw42002.4kb832b
greenopenocp2_contributor_fs09000000qPUffL5HQtWNpyScGOA6cA42002.4kb832b
greenopen.kibana_19Q4bvyKCRpiiwcPNcLFs9g121015.5kb5.1kb

4 Test

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopen.opensearch-observabilitykPAJ8TqaR06AQZFYekHeyA1200624b208b
greenopenocp2_instance_fs09000000pj6TE-z6SkeewcFbfr98yg42107337290124.7gb42gb
greenopenocp2_contributor_fs09000000lVNwo3siRVKvTGg0_YVivQ42002.4kb832b
greenopenocp2_instance_subject_fs09000000LwlykCF9SrWiu4UV1Spmtw42002.4kb832b
greenopen.kibana_19Q4bvyKCRpiiwcPNcLFs9g121015.5kb5.1kb

5 Test

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopenocp2_instance_fs09000000RJFH1FFRTLC2f8tAZuTulg42107337290123.5gb40.9gb
greenopenocp2_authority_fs090000009QX5G1CkSMWTIaD-U2Re2g405562390238.6mb238.6mb
greenopenocp2_instance_subject_fs090000008VxNRdHjRYOC-fB-G6B4ow42407668773667618.1gb6gb
greenopenocp2_contributor_fs090000006pmK601zR3eFwZ02PR0SCg42463665270857412.6gb3.8gb

6 Test

healthstatusindexuuidprirepdocs.countdocs.deletedstore.sizepri.store.size
greenopenocp2_instance_fs09000000l-8gxUPaRHu9Rb77krV2Pw42107337290124gb41.2gb
greenopenocp2_authority_fs090000009QX5G1CkSMWTIaD-U2Re2g405562390238.6mb238.6mb
greenopenocp2_contributor_fs09000000oxx-7teWRieeiHmj2mZPqw42463499273221812.8gb3.8gb
greenopenocp2_instance_subject_fs09000000OaxNET2SRO2nG1oPeTy61w42407664747241118.6gb6.5gb

Memory Usage

Poppy

2 Test 

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

5 Test

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

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

mod-search avr. 36%

mod-inventory-storage avr. 50%


TestModule

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

2 Test

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

5 Test

6 Test


TestPoppy release

Initial spike

avg. usage

2

mod-search32%Close to 1% after 2 hours of indexing
mod-inventory-storage49%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

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%

3, 4 Tests

5 Test

6 Test 

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

Orchid

Open Search KPIs

Indexing rate Poppy

2 Test

Duration: 9 hours 47 min

3, 4 Tests

5 Test

6 Test


Indexing rate Orchid

Duration: 11 hours 10 min

Indexing latency Poppy

2 Test

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

Max: 79.2 ms

Avr.: 39.6 ms

3, 4 Tests

5 Test

6 Test


Indexing latency Orchid



Appendix

Infrastructure

2-4 tests

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

Number of instances

ocp2 -10M 

Kafka partitioning


OrchidPoppy

inventory.item

5050

inventory.instance

5050

inventory.holdings-record

5050

inventory.bound-with

5050

inventory.authorit

5050

search.instance-contributor

5050



Modules memory and CPU parameters: 1-4 tests

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

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

Methodology/Approach

  • Use PTF's "Bugfest" Poppy cluster, which has 10M records, to test with (2 times)
  • Configure the environment 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://issues.folio.org/browse/PERF-430


  • No labels