diff options
author | Franck Cuny <fcuny@twitter.com> | 2018-11-23 09:27:06 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2018-11-23 09:27:06 -0800 |
commit | 4492c5cfbe0e99666afed6780b674beaa670d1a1 (patch) | |
tree | 0b60557a2640f364ddeef4cbca9d72b2358e618b /playgrounds/aurora/fio.aurora | |
parent | [tmux] Small change to binding + fix terminal (diff) | |
download | emacs.d-4492c5cfbe0e99666afed6780b674beaa670d1a1.tar.gz |
[bash] Let's try to use emacs tty
Diffstat (limited to '')
-rw-r--r-- | playgrounds/aurora/fio.aurora | 45 |
1 files changed, 45 insertions, 0 deletions
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', + } + ) +] |