From 4492c5cfbe0e99666afed6780b674beaa670d1a1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 23 Nov 2018 09:27:06 -0800 Subject: [bash] Let's try to use emacs tty --- playgrounds/aurora/fio.aurora | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 playgrounds/aurora/fio.aurora (limited to 'playgrounds/aurora/fio.aurora') diff --git a/playgrounds/aurora/fio.aurora b/playgrounds/aurora/fio.aurora new file mode 100644 index 0000000..b26debf --- /dev/null +++ b/playgrounds/aurora/fio.aurora @@ -0,0 +1,45 @@ +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' +) + +installBenchs = Packer.install( + 'fio-bench', + role = 'fcuny', + version = 'latest' +) + +mvFIO = Process( + name='move-fio', + cmdline='mv fio/* . && rm -rf fio', +) + +extractFIO = Process( + name='extract-fio', + cmdline='rpm2cpio fio.rpm | cpio -idmv' +) + +runFIO = Process( + name='run-fio', + cmdline='./runner.sh', +) + +jobs = [ + Job( + cluster='smf1', + role='fcuny', + environment='devel', + name='fio', + task=Task( + processes=[downloadFIO, extractFIO, runFIO, installBenchs, mvFIO], + resources=Resources(cpu=4, ram=4096 * MB, disk=10 * GB), + constraints=order(installBenchs, mvFIO, downloadFIO, extractFIO, runFIO) + ), + instances=3, + constraints={ + 'base_platform': 'f4ww', + 'dedicated': '*/manhattan', + 'host': 'limit:1', + } + ) +] -- cgit 1.4.1