@@ -48,14 +48,14 @@ specified template and extra parameters.
48
48
49
49
``` shell
50
50
coder exp scaletest create-workspaces \
51
- --retry 5 \
52
- --count" ${SCALETEST_PARAM_NUM_WORKSPACES} " \
53
- --template" ${SCALETEST_PARAM_TEMPLATE} " \
54
- --concurrency" ${SCALETEST_PARAM_CREATE_CONCURRENCY} " \
55
- --timeout 5h \
56
- --job-timeout 5h \
57
- --no-cleanup \
58
- --output json:" ${SCALETEST_RESULTS_DIR} /create-workspaces.json"
51
+ --retry 5 \
52
+ --count" ${SCALETEST_PARAM_NUM_WORKSPACES} " \
53
+ --template" ${SCALETEST_PARAM_TEMPLATE} " \
54
+ --concurrency" ${SCALETEST_PARAM_CREATE_CONCURRENCY} " \
55
+ --timeout 5h \
56
+ --job-timeout 5h \
57
+ --no-cleanup \
58
+ --output json:" ${SCALETEST_RESULTS_DIR} /create-workspaces.json"
59
59
60
60
# Run `coder exp scaletest create-workspaces --help` for all usage
61
61
```
@@ -79,14 +79,14 @@ Terminal against those workspaces.
79
79
``` shell
80
80
# Produce load at about 1000MB/s (25MB/40ms).
81
81
coder exp scaletest workspace-traffic \
82
- --template" ${SCALETEST_PARAM_GREEDY_AGENT_TEMPLATE} " \
83
- --bytes-per-tick$(( 1024 * 1024 * 25 )) \
84
- --tick-interval 40ms \
85
- --timeout" $(( delay)) s" \
86
- --job-timeout" $(( delay)) s" \
87
- --scaletest-prometheus-address 0.0.0.0:21113 \
88
- --target-workspaces" 0:100" \
89
- --trace=false \
82
+ --template" ${SCALETEST_PARAM_GREEDY_AGENT_TEMPLATE} " \
83
+ --bytes-per-tick$(( 1024 * 1024 * 25 )) \
84
+ --tick-interval 40ms \
85
+ --timeout" $(( delay)) s" \
86
+ --job-timeout" $(( delay)) s" \
87
+ --scaletest-prometheus-address 0.0.0.0:21113 \
88
+ --target-workspaces" 0:100" \
89
+ --trace=false \
90
90
--output json:" ${SCALETEST_RESULTS_DIR} /traffic-${type} -greedy-agent.json"
91
91
```
92
92
@@ -114,8 +114,8 @@ wish to clean up all workspaces, you can run the following command:
114
114
115
115
``` shell
116
116
coder exp scaletest cleanup \
117
- --cleanup-job-timeout 2h \
118
- --cleanup-timeout 15min
117
+ --cleanup-job-timeout 2h \
118
+ --cleanup-timeout 15min
119
119
```
120
120
121
121
This will delete all workspaces and users with the prefix` scaletest- ` .