PTF-Performance testing of Light weight token.
Overview
PTF plan to test performance for the upcoming feaute- Light weight token(LWT), which will be included in CSP1.
The goal is to compare the performance of the Sunflower Eureka CSP1 with Light weight token enabled and disabled.
For the evaluation we will run:
CICO (Check-In / Check-Out) tests: 8, 30, and 75 users;
Data Import tests (Create and Update) with 5K, 10K, 25K, 50K, and 100K records to validate sidecar performance under different data volumes.
Summary
All tests finished successfully without significant errors and module/sidecars crashes.
Data-import
For Create operations Sidecars 3.0.10-nb demonstrates consistent ~20–30 % improvement for 5k-100k records set
For Update operations, 3.0.10-nb has higher update durations (≈ 20–40 % slower) for 10k-100k records set.
Check-In and Check-Out. Average response times for both Check-In and Check-Out increased sharply.
As the number of virtual users grew from 8 to 75, average response times increased from 35% to 17 timesSidecars resource utiization
a) CPU utilization graph demonstrates a correlation between the increase in workload (load) and the CPU resource consumption across the containers. No anomalies detected;
b) Memory utilization graph illustrates stable memory usage across the containers throughout the entire testing period, no memory leaks.The stability of Sidecar version 3.0.10-nb has been verified through CICO (Check-In / Check-Out) Longevity Test.
The test, which simulated a high-load environment by running a 30-user longevity scenario for 10 hours, was completed without any issues. The system showed stability throughout the entire test , with no crashes, performance degradation.
Test Runs
CICO (Check-In / Check-Out)
Test # | vUsers | Ramp-up, sec | Duration, sec |
|---|---|---|---|
1 | 8 | 80 | 2700 |
2 | 20 | 200 | 2700 |
3 | 30 | 300 | 2700 |
4 | 75 | 750 | 2700 |
Data Import
Test # | Size | Profile |
|---|---|---|
1 | 5K | PTF-Create-2 |
2 | 10K | PTF-Create-2 |
3 | 25K | PTF-Create-2 |
4 | 50K | PTF-Create-2 |
5 | 100K | PTF-Create-2 |
6 | 5K | PTF-UpdateSuccess-6 |
7 | 10K | PTF-UpdateSuccess-6 |
8 | 25K | PTF-UpdateSuccess-6 |
9 | 50K | PTF-UpdateSuccess-6 |
10 | 100K | PTF-UpdateSuccess-6 |
Results/Comparisons
CICO comparison
-LWT - light weight token disabled
+LWT - light weight token enabled
Test parameters | Response Times, milliseconds | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 vUsers | 30 vUsers | 75 vUsers | ||||||||||
Additional condition | -LWT | +LWT | -LWT | +LWT | -LWT | +LWT | -LWT | +LWT | -LWT | +LWT | -LWT | +LWT |
Metrics | Average | 90th pct. | Average | 90th pct. | Average | 90th pct. | ||||||
Check-Out Controller | 1125 | 1161 | 1334 | 1494 | 1066 | 1090 | 1325 | 1397 | 1668 | 1932 | 2540 | 2801 |
Check-In Controller | 447 | 450 | 692 | 708 | 381 | 398 | 502 | 515 | 572 | 676 | 839 | 980 |
Data Import Comparison
This set of test were performed to check sidecars durability during high load and compare durations of data import.
Test # | Data-import test | Profile | Duration Sunflower CSP1 -LWT
| Duration Sunflower CSP1 +LWT | Duration Sunflower CSP1 +LWT | Status |
|---|---|---|---|---|---|---|
1.1 | 5k MARC BIB Create | PTF - Create 2 | 3 min 42 s | 4 min 07 s | 3 min 3 s | Completed |
1.2 | 10k MARC BIB Create | PTF - Create 2 | 7 min 08 s | 7 min 16 s | 5 min 32 s | Completed |
1.3 | 25k MARC BIB Create | PTF - Create 2 | 16 min 29 s | 17 min 30 s | 12 min 25 s | Completed |
1.4 | 50k MARC BIB Create | PTF - Create 2 | 36 min 4 s | 35 min 54 s | 26 min 20 s | Completed |
1.5 | 100k MARC BIB Create | PTF - Create 2 | 1 hr 11 min | 1 hr 14 min | 54 min 8 s | Completed |
2.1 | 5k MARC BIB Update | PTF - Updates Success - 6 | 2 min 31 s | 3 min 41 s | 2 min 44 s | Completed |
2.2 | 10k MARC BIB Update | PTF - Updates Success - 6 | 4 min 11 | 4 min 58 | 5 min 33 s | Completed |
2.3 | 25k MARC BIB Update | PTF - Updates Success - 6 | 9 min 49 s | 12 min 33 s | 12 min 51 s | Completed |
2.4 | 50k MARC BIB Update | PTF - Updates Success - 6 | 19 min 27 s | 24 min 16 | 25 min 32 s | Completed |
2.5 | 100k MARC BIB Update | PTF - Updates Success - 6 | 40 min 30 s | 53 min 11 s | 54 min 41 s | Completed |
Resource Utilization
CPU Utilization graph
Test name | -LWT | +LWT |
|---|---|---|
CICO |
| |
Data import Create 5k - 10k - 25k- 50k - 100k |
|
|
Data import Update 5k - 10k - 25k- 50k - 100k |
|
|
Memory utilization
Test name | -LWT | +LWT |
|---|---|---|
CICO |
|
|
Data import Create 5k - 10k - 25k- 50k - 100k |
|
|
Data import Update 5k - 10k - 25k- 50k - 100k |
|
|
Database CPU utilization
Test name | -LWT | +LWT |
|---|---|---|
CICO |
|
|
Data import Create 5k - 10k - 25k- 50k - 100k | ||
Data import Update 5k - 10k - 25k- 50k - 100k |
Data-import Update with LWT and without
Database Connections
Test name | -LWT | +LWT |
|---|---|---|
CICO |
|
|
Data import Create 5k - 10k - 25k- 50k - 100k |
|
|
Data import Update 5k - 10k - 25k- 50k - 100k |
|
|
RDS Performace metrics
Test name | -LWT | +LWT |
|---|---|---|
CICO |
|
|
| ||
Data import Create 5k - 10k - 25k- 50k - 100k |
|
|
Data import Update 5k - 10k - 25k- 50k - 100k |
|
|
Appendix
Infrastructure
PTF -environment secp1 |
|---|
|