@@ -41,11 +41,11 @@ After setting up the alias `alias my-stressng='./stress-ng-helpers.sh'`:
41
41
| Command | Description | Example |
42
42
| ---------| -------------| ---------|
43
43
| ` my-stressng cpu [workers] [duration] ` | CPU stress | ` my-stressng cpu 4 120s ` |
44
- | ` my-stressng memory [workers] [duration] ` | Memory pressure | ` my-stressng memory 2 60s ` |
44
+ | ` my-stressng memory [workers] [duration] ` | STREAM memory bandwidth | ` my-stressng memory 2 60s ` |
45
45
| ` my-stressng vm [workers] [size] [duration] ` | Virtual memory stress | ` my-stressng vm 2 1G 60s ` |
46
46
| ` my-stressng pagefault [workers] [duration] ` | Page fault stress | ` my-stressng pagefault 1 30s ` |
47
47
| ` my-stressng io [workers] [duration] ` | I/O stress | ` my-stressng io 2 60s ` |
48
- | ` my-stressng network [workers] [duration] ` | Network stress | ` my-stressng network 1 45s ` |
48
+ | ` my-stressng network [workers] [duration] ` | UDP network stress | ` my-stressng network 1 45s ` |
49
49
50
50
### Special Commands
51
51
@@ -100,13 +100,13 @@ my-stressng cpu 4 120s
100
100
kubectl run cpu-stress --image=yourusername/stress-ng --restart=Never -- --cpu 4 --timeout 120s
101
101
```
102
102
103
- ** Memory pressure - heap expansion **
103
+ ** Memory pressure - STREAM memory bandwidth **
104
104
``` bash
105
105
# Helper shorthand:
106
106
my-stressng memory 2 60s
107
107
108
108
# Equivalent kubectl command:
109
- kubectl run mem-stress --image=yourusername/stress-ng --restart=Never -- --brk 2 --timeout 60s
109
+ kubectl run mem-stress --image=yourusername/stress-ng --restart=Never -- --stream 2 --timeout 60s
110
110
```
111
111
112
112
** VM stress - 2 workers with 1GB each**
@@ -136,13 +136,13 @@ my-stressng io 2 60s
136
136
kubectl run io-stress --image=yourusername/stress-ng --restart=Never -- --io 2 --timeout 60s
137
137
```
138
138
139
- ** Network stress**
139
+ ** Network stress - UDP **
140
140
``` bash
141
141
# Helper shorthand:
142
142
my-stressng network 2 60s
143
143
144
144
# Equivalent kubectl command:
145
- kubectl run network-stress --image=yourusername/stress-ng --restart=Never -- --sock 2 --timeout 60s
145
+ kubectl run network-stress --image=yourusername/stress-ng --restart=Never -- --udp 2 --timeout 60s
146
146
```
147
147
148
148
### Advanced Examples
@@ -154,7 +154,7 @@ my-stressng noisy 0 # 0 = infinite duration
154
154
155
155
# Equivalent kubectl command:
156
156
kubectl run noisy-neighbor --image=yourusername/stress-ng --restart=Never -- \
157
- --cpu 2 --vm 1 --vm-bytes 1G --brk 1 --io 2 --sock 1 --timeout 0
157
+ --cpu 2 --vm 1 --vm-bytes 1G --stream 1 --io 2 --udp 1 --timeout 0
158
158
```
159
159
160
160
@@ -192,7 +192,7 @@ my-stressng nodes
192
192
my-stressng cleanup
193
193
194
194
# Equivalent kubectl commands:
195
- kubectl delete pod cpu-stress mem-stress vm-stress page-fault io-stress network -stress noisy-neighbor heavy-load limited-stress node-stress
195
+ kubectl delete pod cpu-stress mem-stress vm-stress page-fault io-stress udp -stress noisy-neighbor heavy-load limited-stress node-stress
196
196
```
197
197
198
198
## 📊 Monitoring Impact
@@ -219,10 +219,10 @@ watch kubectl get pods -o wide
219
219
- ` --cpu N ` - Number of CPU workers (0 = all CPUs)
220
220
- ` --vm N ` - Number of VM workers
221
221
- ` --vm-bytes SIZE ` - Memory per VM worker (256M, 512M, 1G, 2G)
222
- - ` --brk N ` - Memory pressure via heap expansion
222
+ - ` --stream N ` - STREAM memory bandwidth workers
223
223
- ` --fault N ` - Page fault workers
224
224
- ` --io N ` - I/O workers
225
- - ` --sock N ` - Socket workers
225
+ - ` --udp N ` - UDP network workers
226
226
- ` --timeout TIME ` - Duration (60s, 5m, 1h, 0 = infinite)
227
227
228
228
### Memory Sizes
0 commit comments