Skip to content

Commit

Permalink
feat(fio): update container to include script and example fio script
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Aug 9, 2024
1 parent 16552d6 commit c6ec912
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Containerfile-numa
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ RUN [ "$(arch)" == "ppc64le" ] \
&& dnf install -y powerpc-utils \
|| echo "Not running on ppc64le, skip linking powerpc-utils dependency"
ADD scripts/report-hugepages.sh /
ADD scripts/report-numa.sh /
ADD scripts/report-numa.sh /
ADD scripts/run-fio.sh /
2 changes: 1 addition & 1 deletion manifests/fio/03-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
- name: host-sys
mountPath: /sys
- name: host-dev
mountPath: /dev
mountPath: /sys-dev
serviceAccount: ocp4-workload-sa
serviceAccountName: ocp4-workload-sa
securityContext:
Expand Down
9 changes: 7 additions & 2 deletions scripts/run-fio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ ioengine=libaio
direct=1
numjobs=1
iodepth=32
group_reporting=1[nvme0]
filename=/dev/nvme0n1
group_reporting=1
[vd]
filename=/dev/vda
EOF

fio /tmp/perf.fio

0 comments on commit c6ec912

Please sign in to comment.