~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/jobs/example

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-07-16 09:56:24 UTC
  • mfrom: (0.3.11)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120716095624-azr2w4hbhei1rxmx
Tags: upstream-0.48
ImportĀ upstreamĀ versionĀ 0.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
};