You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: performance-testing/README.md
+37-20Lines changed: 37 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@ Performance tests have been written to simulate real life load on the MONAI Depl
6
6
- MONAI Workflow Manager (WM) and its dependencies
7
7
- MONAI Informatics Gateway (IG) and its dependencies
8
8
- Docker
9
-
- Orthanc
10
-
- Dummy models (to be included as part of WM development)
9
+
- Dummy models
11
10
- ELK Stack
12
11
- Prometheus and Grafana
13
12
- Test data (CT, MR, US, RF)
@@ -23,10 +22,8 @@ Performance tests have been written to simulate real life load on the MONAI Depl
23
22
- k6 Scripts
24
23
- dicom_benchmark.js - Sends MR study store requests with a 2 minute sleep between each iteration.
25
24
- dicom_peak_avg.js - Sends CT, MR, US and RF study store requests based on the configuration
26
-
- Orthanc
27
-
- is an open-source lightweight DICOM server.
28
-
- Will perform C-STORE requests to MIG.
29
-
- 2 modalities set up (MONAI, NOTMONAI) which will send C-STORE with an AET which will either trigger or workflow or wont depending on the Clinical Workflows set up.
25
+
- dotnet-performance-app
26
+
- A lightweight .net 6 app which is used for sending C-STORE requests using fo-dicom
30
27
- ELK Stack
31
28
- A log aggregator (i.e ELK) will be used for capturing all logs so that investigation of run time metrics can be achieved.
32
29
- Grafana and Prometheus
@@ -40,7 +37,7 @@ Performance tests have been written to simulate real life load on the MONAI Depl
k6 run -e CONFIG=config/benchmarkConfig.json -e URL={url} -e DICOM_MODALITY={modality} dicom/dicom_benchmark.js --insecure-skip-tls-verify
161
173
```
162
174
175
+
> **url** is to be replaced by dotnet-performance-app url
176
+
> **modality** is to be replaced by either CT, RF, US or MR
177
+
163
178
#### Investigating Metrics ####
164
179
##### MONAI Informatics Gateway #####
165
180
- Informatics gateway will output logs detailing the time when an association was made and when a WorkflowRequest was sent. This can be seen by | grep "Payload took" which will give a hh:mm:ss between the 2 events.
@@ -189,7 +204,7 @@ Average and Peak load times are displayed as below. These tests are most valuabl
189
204
#### Set Up ####
190
205
- Deploy MIG and MWM to an environment including all its dependencies.
191
206
- Set up MIG with AET and Destinations scripts found [here](TBD)
192
-
-Seed Orthanc with Test Data from [here](TBD)
207
+
-Run dotnet-performance-app
193
208
- Set up Orthanc with 2 Remote Modalities, configuration can be found [here](https://book.orthanc-server.com/users/configuration.html#configuration)
194
209
- MONAI - This will be send C-STORE requests to MIG with an AET "MONAI"
195
210
- NOTMONAI - This will be send C-STORE requests to MIG with an AET "NOTMONAI"
@@ -203,8 +218,10 @@ Average and Peak load times are displayed as below. These tests are most valuabl
203
218
cd k6
204
219
```
205
220
```bash
206
-
k6 run -e CONFIG=config/{config}.json ORTHANC_URL={url} ORTHANC_USER={user} ORTHANC_PASS={pass} dicom/dicom_peak_avg.js --insecure-skip-tls-verify
221
+
k6 run -e CONFIG=config/{config}.json URL={url} dicom/dicom_peak_avg.js --insecure-skip-tls-verify
207
222
```
223
+
> **url** is to be replaced by dotnet-performance-app url
224
+
> **config** is to be replaced by either avgConfig.json or peakConfig.json
0 commit comments