Skip to content

Commit c54d7fd

Browse files
Merge pull request #54 from dell/release/v5.5.0
Release 5.5.0
2 parents bafb13b + 243729e commit c54d7fd

8 files changed

Lines changed: 36 additions & 283 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.4.3
1+
5.5.0

engine/README.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ docker run --rm ghcr.io/dell/storage-performance-tool:latest \
155155
# Run with your custom scenario
156156
docker run --rm \
157157
-v $(pwd):/workspace \
158-
-v $(pwd)/logs:/home/spt/log \
158+
-v $(pwd)/logs:/opt/spt/log \
159159
ghcr.io/dell/storage-performance-tool:latest \
160160
--run-scenario=/workspace/my-scenario.js
161161

@@ -166,24 +166,43 @@ make docker-scenarios
166166
make docker-scenario SCENARIO=example-scenario.js
167167
```
168168

169+
#### Docker Image Layout
170+
171+
The SPT Docker image uses `/opt/spt` as its working directory:
172+
173+
```
174+
/opt/spt/
175+
├── spt.jar # Main application JAR
176+
├── ext/ # Extension JARs (storage drivers, load patterns)
177+
├── scenarios/ # Built-in example scenarios
178+
├── entrypoint.sh # Container entrypoint
179+
└── log/ # Log output (created at runtime)
180+
```
181+
169182
#### Docker Volumes
170183

171184
The SPT Docker image supports several volume mount points:
172185

173-
- `/home/spt/log` - Log files output directory
186+
- `/opt/spt/log` - Log files output directory
174187
- `/workspace` - Custom scenarios and data files
175-
- `/data` - Input/output data files
176188

177-
Example with all volumes:
189+
Example with volumes:
178190
```bash
179191
docker run --rm \
180192
-v $(pwd)/scenarios:/workspace \
181-
-v $(pwd)/logs:/home/spt/log \
182-
-v $(pwd)/data:/data \
193+
-v $(pwd)/logs:/opt/spt/log \
183194
ghcr.io/dell/storage-performance-tool:latest \
184195
--run-scenario=/workspace/my-test.js
185196
```
186197

198+
#### Environment Variables
199+
200+
| Variable | Default | Description |
201+
|----------|---------|-------------|
202+
| `SPT_HOME` | (ephemeral temp dir) | Override the engine's app-home directory. Set this to a persistent path if you need to preserve extracted config/resources across runs. |
203+
| `SPT_JAVA_OPTS` | `-Xshare:off -XX:UseAVX=2` | Additional JVM options appended to the default JAVA_OPTS. |
204+
| `JAVA_OPTS` | (see entrypoint.sh) | Full JVM options override. Default includes ZGC, 4GB heap, NUMA, and NFS compatibility flags. |
205+
187206
#### Docker Compose
188207

189208
A `docker-compose.yml` example is provided in the `bundle/` directory that includes:

engine/bundle/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
- --item-data-size=1MB
2727
- --load-op-limit-count=1000
2828
volumes:
29-
- ./logs:/home/spt/log
29+
- ./logs:/opt/spt/log
3030

3131
# Spt with custom scenario from local filesystem
3232
spt-custom:
@@ -39,7 +39,7 @@ services:
3939
- --storage-auth-secret=${SPT_S3_SECRET_KEY:-your-secret-key}
4040
volumes:
4141
- ./scenarios:/workspace:ro # Mount local scenarios directory as read-only
42-
- ./logs:/home/spt/log
42+
- ./logs:/opt/spt/log
4343
- ./data:/data # For input/output files
4444

4545
# Spt with weighted load scenario
@@ -52,7 +52,7 @@ services:
5252
- --storage-auth-uid=${SPT_S3_ACCESS_KEY:-your-access-key}
5353
- --storage-auth-secret=${SPT_S3_SECRET_KEY:-your-secret-key}
5454
volumes:
55-
- ./logs:/home/spt/log
55+
- ./logs:/opt/spt/log
5656
- ./data:/data
5757
environment:
5858
- JAVA_OPTS=-Xmx4g -XX:+UseG1GC
@@ -67,7 +67,7 @@ services:
6767
- --item-data-size=1MB
6868
- --load-op-limit-count=1000
6969
volumes:
70-
- ./logs:/home/spt/log
70+
- ./logs:/opt/spt/log
7171
- ./data:/data
7272

7373
# Usage examples:

engine/config/defaults.yaml

Lines changed: 0 additions & 267 deletions
This file was deleted.

engine/core/spt-base/doc/design/installer/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ required/supplementary files are already installed and their content is the same
2121

2222
### Stages
2323

24-
0. Installer loads the default configuration from the resources to determine the version. The version is used to
25-
determine the Spt home path (a temporary directory used for extracted resources).
24+
0. Installer loads the default configuration from the resources to determine the version (used for the startup
25+
banner). The Spt home path is resolved independently: if the `SPT_HOME` environment variable is set it is used;
26+
otherwise a temporary directory is created and automatically removed on JVM shutdown.
2627

2728
1. Installer copies the required and supplementary files into the Spt home. These files are default configuration,
2829
custom content files, scenarios and extensions.

engine/core/spt-base/doc/usage/input/configuration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ reference.
7878
| run-port | Integer > 0 | 9999 | Port for REST API
7979
| server-metrics-expose_fleet | Boolean | true | Controls whether the entry node exposes the `/metrics/cluster/json` endpoint (and the legacy `/metrics/fleet/json` alias).
8080
| run-scenario | Path | null | The default file scenario to run, null means invoking the default.js scenario bundled into the distribution
81-
| run-version | String | 4.2.15 | The Spt version
81+
| run-version | String | (current) | The Spt version (set automatically from defaults.yaml)
8282
| run-id | long | 0 | The run identifier (see Runs API). If not specified, it takes the value of timestam
8383
| storage-auth-file | Path | null | The path to a credentials list file, containing the lines of comma-separated item path, user id and secret key
8484
| storage-auth-uid | String | null | The authentication identifier

engine/core/spt-base/src/main/resources/config/defaults.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ run:
115115
node: false
116116
port: 9999
117117
scenario: null
118-
version: 5.4.3
118+
version: 5.5.0
119119

120120
log:
121121
level: info

0 commit comments

Comments
 (0)