Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bhbmaster/e0db4763ec292595a87be37d05863253 to your computer and use it in GitHub Desktop.
Save bhbmaster/e0db4763ec292595a87be37d05863253 to your computer and use it in GitHub Desktop.
Nvidia Test IODEPTHs FIO
#!/bin/bash
RUNTIME=60
HOST=$(hostname)
OUT="$(hostname)-${RUNTIME}s" # filename prefix
echo "(1) 5 compute nodes running at the same time"
fio --bs 4k --rw randwrite --numjobs 10 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=1 --output-format=json | jq -c . &> $OUT-j1-w-5cn-io1.json
echo "(2) 5 compute nodes running at the same time"
fio --bs 4k --rw randwrite --numjobs 10 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=4 --output-format=json | jq -c . &> $OUT-j2-w-5cn-io4.json
echo "(3) 5 compute nodes running at the same time"
fio --bs 4k --rw randwrite --numjobs 10 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=8 --output-format=json | jq -c . &> $OUT-j3-w-5cn-io8.json
echo "(4) 5 compute nodes running at the same time"
fio --bs 4k --rw randread --numjobs 10 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=1 --output-format=json | jq -c . &> $OUT-j4-r-5cn-io1.json
echo "(5) 5 compute nodes running at the same time"
fio --bs 4k --rw randread --numjobs 10 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=8 --output-format=json | jq -c . &> $OUT-j5-r-5cn-io8.json
echo "(6) 5 compute nodes running at the same time"
fio --bs 4k --rw randread --numjobs 10 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=16 --output-format=json | jq -c . &> $OUT-j6-r-5cn-io16.json
echo "(7) 10 compute nodes running at the same time"
fio --bs 4k --rw randwrite --numjobs 5 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=1 --output-format=json | jq -c . &> $OUT-j7-w-10cn-io1.json
echo "(8) 10 compute nodes running at the same time"
fio --bs 4k --rw randwrite --numjobs 5 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=4 --output-format=json | jq -c . &> $OUT-j8-w-10cn-io4.json
echo "(9) 10 compute nodes running at the same time"
fio --bs 4k --rw randwrite --numjobs 5 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=8 --output-format=json | jq -c . &> $OUT-j9-w-10cn-io8.json
echo "(10) 10 compute nodes running at the same time"
fio --bs 4k --rw randread --numjobs 5 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=1 --output-format=json | jq -c . &> $OUT-j10-r-10cn-io1.json
echo "(11) 10 compute nodes running at the same time"
fio --bs 4k --rw randread --numjobs 5 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=8 --output-format=json | jq -c . &> $OUT-j11-r-10cn-io8.json
echo "(12) 10 compute nodes running at the same time"
fio --bs 4k --rw randread --numjobs 5 --size 1G --directory /dvs/fio --group_reporting --name fio-${HOST} --direct 1 --runtime ${RUNTIME} --time_based --ioengine libaio --iodepth=16 --output-format=json | jq -c . &> $OUT-j12-r-10cn-io16.json
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment