]> git.proxmox.com Git - ceph.git/blob - ceph/src/jobs/example
802a8b66e6332cb396c914945a54b5f5b0731e8d
[ceph.git] / ceph / src / jobs / example
1 #!/usr/bin/perl
2 # hi there
3 {
4 # startup
5 'n' => 30, # number of mpi nodes
6 'sleep' => 3, # seconds to sleep between runs (so you have time to control-c out)
7 'nummds' => 1,
8 'numosd' => 6,
9 'numclient' => 100,
10
11 'until' => 100, # --syn until $n ... synthetic client will stop itself after this many seconds.
12 'kill_after' => 300, # seconds before everything commits suicide (in case something hangs)
13
14 # stuff i want to vary
15 # here's a simple example:
16
17 # do --syn writefile command
18 'writefile' => 1,
19 # and very the write size
20 'writefile_size' => [ # vary
21 # 2048*1024,
22 1024*1024,
23 512*1024,
24 256*1024,
25 128*1024,
26 64*1024,
27 48*1024,
28 32*1024,
29 28*1024,
30 24*1024,
31 16*1024,
32 12*1024,
33 8*1024,
34 4096,
35 # 256,
36 # 16,
37 # 1
38 ],
39 'writefile_mb' => 1000, # each client shoudl write 1GB (or more likely, keep going until time runs out)
40
41 'file_layout_num_rep'=> [1,2], # also vary the replication level
42
43 # pass some other random things to newsyn
44 'custom' => '--',
45
46 # for final summation (script/sum.pl)
47 # specify time period to look at the results
48 'start' => 30, # skip first 30 seconds, so that caches are full etc.
49 'end' => 90, # go for 60 seconds
50
51 # what should i parse/plot?
52 'comb' => {
53 'x' => 'writefile_size',
54 'vars' => [ 'osd.c_wrb', 'osd.r_wrb' ],
55 }
56 };