Skip to content

Commit

Permalink
Modify fio job files to use ConfigMap
Browse files Browse the repository at this point in the history
Signed-off-by: jinhong.kim0 <[email protected]>
  • Loading branch information
hookak committed Aug 28, 2024
1 parent 8fd580c commit 04fb941
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 3 deletions.
218 changes: 218 additions & 0 deletions deploy/fio-cmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ spec:
mountPath: /volume1/
- name: vol2
mountPath: /volume2/
- name: fio-config-volume
mountPath: /etc/fio-config
command: ["bash", "/fio/cmp_run.sh"]
#volumeDevices:
#- name: vol1
Expand All @@ -102,4 +104,220 @@ spec:
- name: vol2
persistentVolumeClaim:
claimName: kbench-pvc-2
- name: fio-config-volume
configMap:
name: fio-config
backoffLimit: 0
---
apiVersion: v1
kind: ConfigMap
metadata:
name: fio-config
data:
bandwidth-quick.fio: |
[rand-read-bw]
readwrite=randread
include bw-include.fio
include quick-include.fio
[rand-write-bw]
readwrite=randwrite
include bw-include.fio
include quick-include.fio
[seq-read-bw]
readwrite=read
include bw-include.fio
include quick-include.fio
[seq-write-bw]
readwrite=write
include bw-include.fio
include quick-include.fio
bandwidth-random-read.fio: |
[rand-read-bw]
readwrite=randread
include bw-include.fio
include common-include.fio
bandwidth-random-write.fio: |
[rand-write-bw]
readwrite=randwrite
include bw-include.fio
include common-include.fio
bandwidth-sequential-read.fio: |
[seq-read-bw]
readwrite=read
include bw-include.fio
include common-include.fio
bandwidth-sequential-write.fio: |
[seq-write-bw]
readwrite=write
include bw-include.fio
include common-include.fio
bandwidth.fio: |
[rand-read-bw]
readwrite=randread
include bw-include.fio
include common-include.fio
[rand-write-bw]
readwrite=randwrite
include bw-include.fio
include common-include.fio
[seq-read-bw]
readwrite=read
include bw-include.fio
include common-include.fio
[seq-write-bw]
readwrite=write
include bw-include.fio
include common-include.fio
bw-include.fio: |
bs=128k
iodepth=64
common-include.fio: |
stonewall=1
randrepeat=0
verify=0
ioengine=libaio
direct=1
time_based=1
ramp_time=5s
runtime=20s
iops-include.fio: |
bs=4K
iodepth=64
iops-quick.fio: |
[rand-read-iops]
readwrite=randread
include iops-include.fio
include quick-include.fio
[rand-write-iops]
readwrite=randwrite
include iops-include.fio
include quick-include.fio
[seq-read-iops]
readwrite=read
include iops-include.fio
include quick-include.fio
[seq-write-iops]
readwrite=write
include iops-include.fio
include quick-include.fio
iops-random-read.fio: |
[rand-read-iops]
readwrite=randread
include iops-include.fio
include common-include.fio
iops-random-write.fio: |
[rand-write-iops]
readwrite=randwrite
include iops-include.fio
include common-include.fio
iops-sequential-read.fio: |
[seq-read-iops]
readwrite=read
include iops-include.fio
include common-include.fio
iops-sequential-write.fio: |
[seq-write-iops]
readwrite=write
include iops-include.fio
include common-include.fio
iops.fio: |
[rand-read-iops]
readwrite=randread
include iops-include.fio
include common-include.fio
[rand-write-iops]
readwrite=randwrite
include iops-include.fio
include common-include.fio
[seq-read-iops]
readwrite=read
include iops-include.fio
include common-include.fio
[seq-write-iops]
readwrite=write
include iops-include.fio
include common-include.fio
lat-include.fio: |
bs=4k
iodepth=1
latency-quick.fio: |
[rand-read-lat]
readwrite=randread
include lat-include.fio
include quick-include.fio
[rand-write-lat]
readwrite=randwrite
include lat-include.fio
include quick-include.fio
[seq-read-lat]
readwrite=read
include lat-include.fio
include quick-include.fio
[seq-write-lat]
readwrite=write
include lat-include.fio
include quick-include.fio
latency-random-read.fio: |
[rand-read-lat]
readwrite=randread
include lat-include.fio
include common-include.fio
latency-random-write.fio: |
[rand-write-lat]
readwrite=randwrite
include lat-include.fio
include common-include.fio
latency-sequential-read.fio: |
[seq-read-lat]
readwrite=read
include lat-include.fio
include common-include.fio
latency-sequential-write.fio: |
[seq-write-lat]
readwrite=write
include lat-include.fio
include common-include.fio
latency.fio: |
[rand-read-lat]
readwrite=randread
include lat-include.fio
include common-include.fio
[rand-write-lat]
readwrite=randwrite
include lat-include.fio
include common-include.fio
[seq-read-lat]
readwrite=read
include lat-include.fio
include common-include.fio
[seq-write-lat]
readwrite=write
include lat-include.fio
include common-include.fio
quick-include.fio: |
stonewall=1
randrepeat=0
verify=0
ioengine=libaio
direct=1
time_based=1
ramp_time=1s
runtime=5s
Loading

0 comments on commit 04fb941

Please sign in to comment.