summaryrefslogtreecommitdiff
path: root/src/jobs/example
blob: 802a8b66e6332cb396c914945a54b5f5b0731e8d (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/perl
# hi there
{
	# startup
	'n' => 30,         # number of mpi nodes
	'sleep' => 3,      # seconds to sleep between runs (so you have time to control-c out)
	'nummds' => 1,   
	'numosd' => 6,
	'numclient' => 100,
	
	'until' => 100,     # --syn until $n  ... synthetic client will stop itself after this many seconds.
	'kill_after' => 300, # seconds before everything commits suicide (in case something hangs)

	# stuff i want to vary
	# here's a simple example:

	# do --syn writefile command
	'writefile' => 1,    
	# and very the write size
	'writefile_size' => [ # vary 
#						  2048*1024,
						  1024*1024,
						  512*1024,
						  256*1024,
						  128*1024,
						  64*1024,
						  48*1024,
						  32*1024,
						  28*1024,
						  24*1024,
						  16*1024,
						  12*1024,
						  8*1024,
						  4096,
#						  256,
#						  16,
#						  1
						  ],
	'writefile_mb' => 1000,    # each client shoudl write 1GB (or more likely, keep going until time runs out)
	
	'file_layout_num_rep'=> [1,2],  # also vary the replication level

	# pass some other random things to newsyn
	'custom' => '--',

	# for final summation (script/sum.pl)
	# specify time period to look at the results
	'start' => 30,    # skip first 30 seconds, so that caches are full etc.
	'end' => 90,      # go for 60 seconds 

	# what should i parse/plot?
	'comb' => {
		'x' => 'writefile_size',
		'vars' => [ 'osd.c_wrb', 'osd.r_wrb' ], 
	}
};