Skip to content

Commit

Permalink
perftest.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Smelov committed Jun 11, 2024
1 parent 191c1df commit d2f07e4
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 12 deletions.
Binary file modified perftest/cassandra_disk_usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed perftest/estore_cpu.png
Binary file not shown.
Binary file added perftest/estore_heap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perftest/estore_persist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed perftest/estore_ram.png
Binary file not shown.
Binary file added perftest/estore_res.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 64 additions & 12 deletions perftest/perftest.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,77 @@

## th2 components configuration (perftest cluster)

scheme configuration:
https://gitlab.exactpro.com/vivarium/th2/th2-internal-instances/th2-perf-schemas/-/commit/0b8dc314356aaa12816f0165408137ac24584781

### woodpecker
+ **Docker image**: ghcr.io/th2-net/th2-woodpecker-template:2.0.0-TH2-5204-estore-perf-9406747565-897a638
+ **Data format**: protobuf

### estore
+ **Docker image**: ghcr.io/th2-net/th2-estore:5.7.0-external-executor-9384699236-c134f80
+ **Cradle compression type**: LZ4
+ **Store to tables**: test_events
```yaml
apiVersion: th2.exactpro.com/v2
kind: Th2Estore
metadata:
name: estore
spec:
imageName: ghcr.io/th2-net/th2-estore
imageVersion: 5.7.0-dev
cradleManager:
prepareStorage: false
timeout: 5000
pageSize: 1000
composingServiceThreads: 4
counterPersistenceInterval: 15000
maxUncompressedTestEventSize: 0
maxUncompressedMessageBatchSize: 0
storeIndividualMessageSessions: false
compressionType: LZ4
bookRefreshIntervalMillis: 60000
customConfig:
maxTaskCount : 128
maxTaskDataSize : 536870912
maxRetryCount : 3
mqRouter:
prefetchCount: 1000
extendedSettings:
envVariables:
JAVA_TOOL_OPTIONS: >
-XX:+ExitOnOutOfMemoryError
-XX:+UseContainerSupport
-Dlog4j2.shutdownHookEnabled=false
-XX:MaxRAMPercentage=84.2
-XX:MaxMetaspaceSize=70M
-XX:CompressedClassSpaceSize=10M
-XX:ReservedCodeCacheSize=40M
-XX:MaxDirectMemorySize=50M
-Ddatastax-java-driver.advanced.connection.init-query-timeout="5000 milliseconds"
-Ddatastax-java-driver.basic.request.timeout="3 seconds"
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.rmi.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.local.only=false
-Djava.rmi.server.hostname=127.0.0.1
resources:
limits:
cpu: 2500m
memory: 2000Mi
requests:
cpu: 1000m
memory: 100Mi
```
## Test parameters
| woodpeckers (n) | batch size (events) | event size (KB) | load duration (min) | page duration (days) |
|-----------------|---------------------|-----------------|---------------------|----------------------|
| 2 | 700 | 1.37 | 30 | 1 |
| 2 | 700 | 1.37 | 40 | 1 |
| component | rate (event/sec) | rate (MB/sec) | Total data size (GB) | Total events (n) |
|------------|------------------|---------------|----------------------|------------------|
| woodpecker | 50,000 | 66.9 | 117.6 | 90,000,000 |
| total x2 | 100,000 | 133.8 | 235.2 | 180,000,000 |
| woodpecker | 50,000 | 67 | 157.0 | 90,000,000 |
| total x2 | 100,000 | 134 | 314.1 | 180,000,000 |
## th2-estore metrics
![th2-estore metrics](estore_persist.png)
Expand All @@ -67,13 +120,12 @@
| | RabbitMQ | th2-estore | Cassandra |
|-------------|----------|------------|-----------|
| CPU (cores) | 0.6 | 2.0 | |
| RAM | 495 MB | 1.95 GB | 3.8 GB |
| CPU (cores) | 0.6 | 2.3 | |
| RAM | 433 MB | 1.93 GB | 3.8 GB |
## Computation resources th2-estore metrics
![th2-estore CPU](estore_cpu.png)
![th2-estore RAM](estore_ram.png)
![th2-estore resources](estore_res.png)
![th2-estore heap usage](estore_heap.png)
## Computation resources RabbitMQ metrics
![RabbitMQ CPU](rabbitmq_cpu.png)
![RabbitMQ RAM](rabbitmq_ram.png)
![RabbitMQ resources](rabbitmq_res.png)
Binary file added perftest/rabbitmq_res.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d2f07e4

Please sign in to comment.