Skip to content

Commit dab6e18

Browse files
author
Matt Pryor
committed
Add support for repetitions to benchmarkset
1 parent 41335b8 commit dab6e18

26 files changed

+150
-79
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,12 @@ spec:
8585
kind: IPerf
8686
spec:
8787
duration: 30
88+
# The number of repetitions to run for each permutation
89+
# Defaults to 1 if not given
90+
repetitions: 1
8891
# Defines the permutations for the set
8992
# Each permutation is merged into the spec of the template
93+
# If not given, a single permutation consisting of the given template is used
9094
permutations:
9195
# Permutations are calculated as a cross-product of the specified names and values
9296
product:
@@ -138,6 +142,10 @@ metadata:
138142
spec:
139143
# The MPI transport to use - one of TCP, RDMA
140144
transport: TCP
145+
# Controls the maximum message length
146+
# Selected lengths, in bytes, will be 0, 1, 2, 4, 8, 16, ..., 2^maxlog
147+
# Defaults to 22 if not given, meaning the maximum message size will be 4MB
148+
maxlog: 22
141149
```
142150

143151
### OpenFOAM

examples/accelerated/iperf-set.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ spec:
1414
limits:
1515
mellanox.com/mlnxnet: 1
1616
duration: 30
17+
repetitions: 5
1718
permutations:
1819
product:
1920
streams: [1, 2, 4, 8, 16, 32, 64, 80, 128]

examples/accelerated/mpi-pingpong-set.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ spec:
1313
resources:
1414
limits:
1515
mellanox.com/mlnxnet: 1
16+
maxlog: 25
17+
repetitions: 5
1618
permutations:
1719
product:
1820
transport: [TCP, RDMA]

examples/accelerated/rdma-bw-set.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ spec:
1717
iterations: 25
1818
extraArgs:
1919
- --tclass=96
20+
repetitions: 5
2021
permutations:
2122
product:
2223
mode: [read, write]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: perftest.stackhpc.com/v1alpha1
2+
kind: BenchmarkSet
3+
metadata:
4+
name: rdma-latency-accelerated
5+
spec:
6+
template:
7+
apiVersion: perftest.stackhpc.com/v1alpha1
8+
kind: RDMALatency
9+
spec:
10+
imagePullPolicy: Always
11+
hostNetwork: false
12+
networkName: mlnx-net
13+
resources:
14+
limits:
15+
mellanox.com/mlnxnet: 1
16+
iterations: 1000
17+
extraArgs:
18+
- --tclass=96
19+
repetitions: 5
20+
permutations:
21+
product:
22+
mode: [read, write]

examples/accelerated/rdma-lat.yaml

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

examples/cni/iperf-set.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ spec:
99
spec:
1010
imagePullPolicy: Always
1111
hostNetwork: false
12-
mtu: 9000
12+
# mtu: 9000
1313
duration: 30
14+
repetitions: 5
1415
permutations:
1516
product:
1617
streams: [1, 2, 4, 8, 16, 32, 64, 128]

examples/cni/mpi-pingpong-set.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: perftest.stackhpc.com/v1alpha1
2+
kind: BenchmarkSet
3+
metadata:
4+
name: mpi-pingpong-cni
5+
spec:
6+
template:
7+
apiVersion: perftest.stackhpc.com/v1alpha1
8+
kind: MPIPingPong
9+
spec:
10+
imagePullPolicy: Always
11+
hostNetwork: false
12+
# mtu: 9000
13+
transport: TCP
14+
maxlog: 25
15+
repetitions: 5

examples/cni/mpi-pingpong.yaml

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

examples/cni/openfoam-set.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
spec:
1010
imagePullPolicy: Always
1111
hostNetwork: false
12-
mtu: 9000
12+
# mtu: 9000
1313
transport: TCP
1414
problemSize: S
1515
numProcs: 48

0 commit comments

Comments
 (0)