]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
add the sample file
authoranwleung <anwleung@29311d96-e01e-0410-9327-a35deaab8ce9>
Fri, 9 Mar 2007 18:12:16 +0000 (18:12 +0000)
committeranwleung <anwleung@29311d96-e01e-0410-9327-a35deaab8ce9>
Fri, 9 Mar 2007 18:12:16 +0000 (18:12 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1187 29311d96-e01e-0410-9327-a35deaab8ce9

branches/aleung/security1/ceph/jobs/sample.pl [new file with mode: 0644]

diff --git a/branches/aleung/security1/ceph/jobs/sample.pl b/branches/aleung/security1/ceph/jobs/sample.pl
new file mode 100644 (file)
index 0000000..0b1aa55
--- /dev/null
@@ -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' ], 
+       }
+};