diff options
Diffstat (limited to 'configs/aurora/fio.aurora')
-rw-r--r-- | configs/aurora/fio.aurora | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/configs/aurora/fio.aurora b/configs/aurora/fio.aurora new file mode 100644 index 0000000..c91095e --- /dev/null +++ b/configs/aurora/fio.aurora @@ -0,0 +1,32 @@ +downloadFIO = Process( + name='download-fio', + cmdline='curl -o fio.rpm https://svn.twitter.biz/rpms/fio.x86_64/RPMS/x86_64/fio-1.50-2.twitter.x86_64.rpm' +) + +extractFIO = Process( + name='extract-fio', + cmdline='rpm2cpio fio.rpm | cpio -idmv' +) + +runFIO = Process( + name='run-fio', + cmdline='./usr/bin/fio --name=writefile --size=8G --filesize=8G --filename=./fiotestfsync --bs=4k --nrfiles=1 --fsync=1 --randrepeat=0 --rw=write --refill_buffers --end_fsync=1 --iodepth=200 --ioengine=libaio --runtime=240', +) + +jobs = [ + Service( + cluster='smf1-test', + environment='devel', + role='fcuny', + name='fio', + task=Task( + processes=[downloadFIO, extractFIO, runFIO], + resources=Resources(cpu=10, ram=4096 * MB, disk=10 * GB), + constraints=order(downloadFIO, extractFIO, runFIO) + ), + instances=4, + constraints={ + 'base_platform': 'f4ww', + } + ) +] |