From 93dfe2de0a8af5789016e42f054e8fd94ea663b3 Mon Sep 17 00:00:00 2001 From: sageweil Date: Fri, 9 Mar 2007 03:36:39 +0000 Subject: [PATCH] a sample git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1183 29311d96-e01e-0410-9327-a35deaab8ce9 --- trunk/ceph/jobs/example | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 trunk/ceph/jobs/example diff --git a/trunk/ceph/jobs/example b/trunk/ceph/jobs/example new file mode 100644 index 0000000000000..802a8b66e6332 --- /dev/null +++ b/trunk/ceph/jobs/example @@ -0,0 +1,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' ], + } +}; -- 2.39.5