summary refs log tree commit diff
path: root/configs/aurora/fio.aurora
blob: c91095ee32f5e711bbce0febbc5696ebee25e39e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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',
    }
  )
]