...
DE_instances T1(500-1K-2k). (MARC BIB) on Mobius environment with Data Export tests for 500, 1k, 2k. with Default instances export profile.
DE_instances T2(Max). (MARC BIB) on Mobius environment with Data Export tests for a maximal number of instances on each member tenant(The exact number of instances is in the section “Errors / Additional information”). with Default instances export profile.
DE_holdings T3(500-1K-2k).Holdings on Mobius environment with Data Export tests for 500, 1k, 2k. with Default holdings export profile.
DE_holdings T4(Max). Holdings on Mobius environment with Data Export tests for a maximal number of instances on each member tenant(The exact number of instances is in the section “Errors / Additional information”) with Default holdings export profile.
DE_authority T5(500-1K-2k). Authority on Mobius environment with Data Export tests for 500, 1k, 2k. with Default authority export profile.
...
DE_holdings T3(500-1K-2k) For 2000 records Holdings data export duration increased from 32 seconds for the first tenant to about 420 sec for the 22nd tenant, then the processing time was approximately from 420 to 470 sec for tenants 23 - 61.
DE_instances T2(Max) and DE_holdings T4(Max)
Recommendations & Jiras
Restart the tests DE_instances T2(Max) and DE_holdings T4(Max) with different POOL_SIZE, and BATCH_SIZE parameters to check Data-export duration improvement. [MDEXP-688] Make configurable params for Data-Export(POOL_SIZE, BATCH_SIZE) - FOLIO Jira (atlassian.net)
Restart Data-Import(Authority) test on mcpt to check how Kafka topics affect performance(found in the scope of data-preparation) [MODELINKS-213] Data-import process creating incorrect topics in Kafka - FOLIO Jira (atlassian.net)
...
DE_authority T5(500-1K-2k). The table below contains durations for Data-export for jobs with “Default authority export profile” on 61 tenants with 1 set of data(all of the instances on each tenant).
Transaction name | DE 500, sec | DE 1K, sec | DE 2K, sec |
DE_Exporting AuthorityTransaction cs00000001_0001 | 6796 | 7119 | 11516 |
DE_Exporting AuthorityTransaction cs00000001_0002 | 5962 | 5779 | 16226 |
DE_Exporting AuthorityTransaction cs00000001_0003 | 5836 | 6311 | 21968 |
DE_Exporting AuthorityTransaction cs00000001_0004 | 5865 | 5750 | 26586 |
DE_Exporting AuthorityTransaction cs00000001_0005 | 5886 | 5745 | 28384 |
DE_Exporting AuthorityTransaction cs00000001_0006 | 5877 | 5753 | 28288 |
DE_Exporting AuthorityTransaction cs00000001_0007 | 5884 | 5737 | 33628 |
DE_Exporting AuthorityTransaction cs00000001_0008 | 5868 | 5730 | 39163 |
DE_Exporting AuthorityTransaction cs00000001_0009 | 5902 | 5751 | 44187 |
DE_Exporting AuthorityTransaction cs00000001_0010 | 5956 | 5869 | 44396 |
DE_Exporting AuthorityTransaction cs00000001_0011 | 5893 | 5787 | 49254 |
DE_Exporting AuthorityTransaction cs00000001_0012 | 5902 | 5858 | 55799 |
DE_Exporting AuthorityTransaction cs00000001_0013 | 5881 | 5756 | 54919 |
DE_Exporting AuthorityTransaction cs00000001_0014 | 5891 | 5739 | 61341 |
DE_Exporting AuthorityTransaction cs00000001_0015 | 5866 | 5755 | 66577 |
DE_Exporting AuthorityTransaction cs00000001_0016 | 5902 | 5732 | 66923 |
DE_Exporting AuthorityTransaction cs00000001_0017 | 5863 | 5928 | 70759 |
DE_Exporting AuthorityTransaction cs00000001_0018 | 5854 | 6484 | 77038 |
DE_Exporting AuthorityTransaction cs00000001_0019 | 5876 | 6102 | 83432 |
DE_Exporting AuthorityTransaction cs00000001_0020 | 5868 | 6468 | 82352 |
DE_Exporting AuthorityTransaction cs00000001_0021 | 5879 | 6918 | 90676 |
DE_Exporting AuthorityTransaction cs00000001_0022 | 5857 | 6046 | 94664 |
DE_Exporting AuthorityTransaction cs00000001_0023 | 5943 | 6604 | 85713 |
DE_Exporting AuthorityTransaction cs00000001_0024 | 5860 | 6171 | 105028 |
DE_Exporting AuthorityTransaction cs00000001_0025 | 5899 | 6299 | 105846 |
DE_Exporting AuthorityTransaction cs00000001_0026 | 5868 | 6131 | 115376 |
DE_Exporting AuthorityTransaction cs00000001_0027 | 5874 | 5944 | 111442 |
DE_Exporting AuthorityTransaction cs00000001_0028 | 5879 | 6011 | 117511 |
DE_Exporting AuthorityTransaction cs00000001_0029 | 5878 | 5792 | 127511 |
DE_Exporting AuthorityTransaction cs00000001_0030 | 5863 | 5840 | 128740 |
DE_Exporting AuthorityTransaction cs00000001_0031 | 5879 | 5820 | 128969 |
DE_Exporting AuthorityTransaction cs00000001_0032 | 5866 | 6501 | 132437 |
DE_Exporting AuthorityTransaction cs00000001_0033 | 5867 | 11505 | 138441 |
DE_Exporting AuthorityTransaction cs00000001_0034 | 5859 | 11731 | 144630 |
DE_Exporting AuthorityTransaction cs00000001_0035 | 5877 | 7080 | 144332 |
DE_Exporting AuthorityTransaction cs00000001_0036 | 5849 | 10923 | 145234 |
DE_Exporting AuthorityTransaction cs00000001_0037 | 5897 | 6041 | 151330 |
DE_Exporting AuthorityTransaction cs00000001_0038 | 5894 | 6145 | 150469 |
DE_Exporting AuthorityTransaction cs00000001_0039 | 5877 | 5739 | 155768 |
DE_Exporting AuthorityTransaction cs00000001_0040 | 5904 | 5744 | 156220 |
DE_Exporting AuthorityTransaction cs00000001_0041 | 5874 | 6202 | 156766 |
DE_Exporting AuthorityTransaction cs00000001_0042 | 5879 | 5816 | 157841 |
DE_Exporting AuthorityTransaction cs00000001_0043 | 6608 | 5880 | 158721 |
DE_Exporting AuthorityTransaction cs00000001_0044 | 5866 | 5771 | 156396 |
DE_Exporting AuthorityTransaction cs00000001_0045 | 5892 | 5854 | 157477 |
DE_Exporting AuthorityTransaction cs00000001_0046 | 5876 | 5738 | 152934 |
DE_Exporting AuthorityTransaction cs00000001_0047 | 5902 | 5750 | 153392 |
DE_Exporting AuthorityTransaction cs00000001_0048 | 5838 | 5745 | 149484 |
DE_Exporting AuthorityTransaction cs00000001_0049 | 5872 | 5860 | 149659 |
DE_Exporting AuthorityTransaction cs00000001_0050 | 5852 | 5795 | 149111 |
DE_Exporting AuthorityTransaction cs00000001_0051 | 5866 | 6178 | 143901 |
DE_Exporting AuthorityTransaction cs00000001_0052 | 5916 | 5882 | 144713 |
DE_Exporting AuthorityTransaction cs00000001_0053 | 5858 | 5747 | 139844 |
DE_Exporting AuthorityTransaction cs00000001_0054 | 5840 | 6032 | 135910 |
DE_Exporting AuthorityTransaction cs00000001_0055 | 5917 | 5903 | 136991 |
DE_Exporting AuthorityTransaction cs00000001_0056 | 5893 | 6455 | 132152 |
DE_Exporting AuthorityTransaction cs00000001_0057 | 5843 | 5769 | 126592 |
DE_Exporting AuthorityTransaction cs00000001_0058 | 5864 | 5814 | 125191 |
DE_Exporting AuthorityTransaction cs00000001_0059 | 5860 | 6123 | 120351 |
DE_Exporting AuthorityTransaction cs00000001_0060 | 5840 | 5844 | 118520 |
DE_Exporting AuthorityTransaction cs00000001_0061 | 5840 | 5890 | 114587 |
Service CPU Utilization
DE_instances T1(500-1K-2k). Service CPU usage during the test was quite low, only the mod-data-export-b okapi-b mod-permissions-b services had a slight increase up to 13%.
...
Service CPU usage during the test was less than 20%, and small spikes were on mod-data-export with CPU usage 35% at the beginning of the text.
...
DE_authority T5(500-1K-2k).
Service CPU usage during the test was stable and correlated with the number of exported records. Mod-consortia service increases CPU usage for a few seconds from 20 to 30%.
...
Memory Utilization
DE_instances T1(500-1K-2k). During testing, the memory usage does not increase
...
DE_holdings T4(Max). During testing, the memory usage(MU) does not increase. Only mod-inventory change MU from 20 to 27 and mod-data-export from 40 to 90%
...
...
DE_authority T5(500-1K-2k). During testing, the memory usage does not increase
...
DB CPU Utilization
DE_instances T1(500-1K-2k). Except for the database spikes that started at 18:15 and repeated every 30 minutes. CPU usage before tets was about 2.5%, during all Data Export of 500, 1000, and 2000 instances, CPU usage increased up to 4%;
...
DE_holdings T4(Max). CPU usage before tets was about 2.5%, during all Data Export holdings, CPU usage increased up to 5.3%;
...
DE_authority T5(500-1K-2k). During 3 tests CPU varied within 4-5%.
...
DB Connections
DE_instances T1(500-1K-2k). Maximal number of DB connections was 1190 for 500 DE; 1270 for 1000DE and 1340 for 2000 DE.
...
DE_holdings T4(Max). The number of DB connections at the beginning of the test was about 1500 and evenly decreased to 850 at the end of the test
...
DE_authority T5(500-1K-2k). During 3 tests NUmber of DB connections varied from 700 to 1100
...
DB Load
DE_instances T1(500-1K-2k).
...
DE_holdings T3(500-1K-2k).
...
DE_holdings T4(Max).
...
DE_authority T5(500-1K-2k).
...
SQL queries
DE_instances T1(500-1K-2k).
...
DE_holdings T3(500-1K-2k).
...
DE_holdings T4(Max).
...
DE_authority T5(500-1K-2k).
...
Errors / Additional information
...
Methodology/Approach
Infrastructure
PTF -environment mcpt
10 m6i11 m6g.2xlarge EC2 instances located in US East (N. Virginia)us-east-1
2 database instances1 database instance, writer/readerNameMemory GIBvCPUsmax
Name Memory GIBv CPUsmax_connections
db.r6g.xlarge
32 GiB4 vCPUs27314xlarge 128 GiB; 16 vCPUMSK tenant
4 2 m5.2xlarge brokers in 2 1 zones
Apache Kafka version 2.8.0
EBS storage volume per broker 300 GiB
auto.create.topics.enable=truelog.retention.minutes=480default.replication.factor=3
Table The table contains modules, memory, and CPU parameters
Module | Task Def. Revision | Module Version | Task Count | Mem Hard Limit | Mem Soft limit | CPU units | Xmx | MetaspaceSize | MaxMetaspaceSize | R/W split enabled |
mcpt-pvt | ||||||||||
mod-consortia | 11 | 2 | 2048 | 1802 | 128 | 768 | 88 | 128 | FALSE | |
mod-organizations | 6 | 2 | 1024 | 896 | 128 | 700 | 88 | 128 | FALSE | |
mod-data-import | 7 | 1 | 2048 | 1844 | 256 | 1292 | 384 | 512 | FALSE | |
mod-search | 12 | 2 | 2592 | 2480 | 2048 | 1440 | 512 | 1024 | FALSE | |
mod-configuration | 6 | 2 | 1024 | 896 | 128 | 768 | 88 | 128 | FALSE | |
mod-permissions | 14 | 2 | 1684 | 1544 | 512 | 1024 | 384 | 512 | FALSE | |
mod-entities-links | 10 | 2 | 2592 | 2480 | 400 | 1440 | 0 | 1024 | FALSE | |
mod-inventory-storage | 10 | 2 | 4096 | 3690 | 2048 | 3076 | 384 | 512 | FALSE | |
mod-data-export-worker | 9 | 2 | 3072 | 2800 | 1024 | 2048 | 384 | 512 | FALSE | |
mod-source-record-storage | 10 | 2 | 5600 | 5000 | 2048 | 3500 | 384 | 512 | FALSE | |
mod-inventory | 10 | 2 | 2880 | 2592 | 1024 | 1814 | 384 | 512 | FALSE | |
mod-di-converter-storage | 9 | 2 | 1024 | 896 | 128 | 768 | 88 | 128 | FALSE | |
mod-users | 11 | 2 | 1024 | 896 | 128 | 768 | 88 | 128 | FALSE | |
mod-source-record-manager | 10 | 2 | 5600 | 5000 | 2048 | 3500 | 384 | 512 | FALSE | |
mod-quick-marc | 10 | 1 | 2288 | 2176 | 128 | 1664 | 384 | 512 | FALSE | |
nginx-okapi | 2 | 2 | 1024 | 896 | 512 | 0 | 0 | 0 | FALSE | |
okapi-b | 1 | 3 | 1684 | 1440 | 1024 | 922 | 384 | 512 | FALSE | |
mod-data-export | 10 | 1 | 1024 | 896 | 1024 | 768 | 88 | 128 | FALSE |