Data Import with file splitting feature + Check-ins Check-outs (Poppy)

Overview

This document contains the results of testing Check-in/Check-out and Data Import with file splitting feature for MARC Bibliographic records in the Poppy release.

Ticket:  PERF-756 - Getting issue details... STATUS


Summary

  • There is significant improvement in data import performance in Poppy using the file splitting feature compared to Orchid (40% for DI Create, 25% for DI Update). However, there is a small degradation (up to 5%) compared to Poppy without the file splitting feature when running with CICO. CO response times are almost identical to Poppy without the file splitting feature. The CI response time is 20% slower with and without Data Import.
  • Average CPU utilization did not exceed 150% for all the modules. The highest consumption was observed from mod-inventory. It was growing from 110% up to 250% at the end of the test (So as memory grows too, we can suspect the issue MODINV-944 - Getting issue details... STATUS . It is fixed in version 20.1.9 but this test was run on version 20.1.7 of mod-inventory). Spikes of mod-data-import were observed in Data Import jobs with 50k files up to 130%. for jobs and a 250% spike for 100k. For Data Import jobs CPU utilization didn't exceed 110% for all other modules
  • Memory utilization increase is a result of previous modules restarting (everyday cluster shutdown process). Memory consumption before tests for mod-search was 45% and for mod-inventory - 55%. During the test with 100k files mod-search memory utilization increases to 90% and mod-inventory up to 100%.
  • Average DB CPU usage during data import is about 95% which is consistent with the performance observed during the same tests in Orchid.
  • The average connection count during data import is approximately 600 connections for Create jobs, which is twice as high as when the file splitting feature is disabled. For Update jobs, the connection count is 560.

Test Runs 

Test #

Scenario

Load level
1DI MARC Bib Create5K, 10K, 25K, 50K, 100K consequentially (with 5 min pause)
CICO 8 users
2DI MARC Bib Update5K, 10K, 25K, 50K, 100K consequentially (with 5 min pause)
CICO 8 users

Test Results

Data import

Total time for all Data Export jobs - 1 hour 16 minutes 47 seconds.


Profile


MARC File


DI Duration

Poppy with file splitting feature (hh:mm:ss)

Check In, Check Out
Response time (8 users)

Poppy

CI Average, secCO Average, sec



DI MARC Bib Create (PTF - Create 2)

5K.mrc00:02:47

1.111

1.432
10K.mrc00:05:261.2611.556
25K.mrc00:14:311.4411.532
50K.mrc00:24:131.4321.478
100K.mrc00:49:351.3581.621



DI MARC Bib Update (PTF - Updates Success - 1)

5K.mrc00:03:390.8701.201
10K.mrc00:06:460.8851.216
25K.mrc00:17:040.9491.266
50K.mrc00:34:231.0831.264
100K.mrc01:14:301.0241.383

Check-in/Check-out without DI


Scenario


Load level


Request

Response time, sec
Poppy with file splitting feature
95 percaverage
Circulation Check-in/Check-out (without Data Import)8 usersCheck-in0.7240.610
Check-out0.9990.872

Comparison

CICO with DI comparison

ProfileMARC FileDI DurationDeviation, %Check In, Check Out Response time (8 users)Check In, Check Out Response time (8 users)Delta, %

without CI/COwith CI/COPoppy with file splitting featureOrchidPoppyPoppy with file splitting featurePoppy/Poppy with file splitting featurePoppy/Poppy with file splitting feature
Orchid*PoppyPoppy with file splitting featureOrchid*PoppyPoppy with file splitting feature compared DI without CICO and with CICODi with CICO compared to without splitting featureCI Average secCO Average secCI Average secCO Average secCI Average secCO Average secCICO
DI MARC Bib Create (PTF - Create 2)5K.mrc00:04:3000:02:3900:02:2600:05:0100:02:5300:02:47+ 00:00:21 - 00:00:060.9611.4420.9011.375

1.111

1.43218.90%3.98%
10K.mrc00:09:2500:05:0000:04:5600:09:0600:04:3200:05:26+ 00:00:30+ 00:00:461.0581.6240.9021.471.2611.55628.47%5.53%
25K.mrc00:22:1600:11:1500:12:1400:24:2800:11:1400:14:31+ 00:02:16