summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-11-26 10:37:17 -0800
committerJosh Durgin <josh.durgin@inktank.com>2012-11-26 10:37:43 -0800
commit365ba0600bdaf28b9b71e7c6d5113cd531f95891 (patch)
tree4bbee7a99d3ad2d3afdd0284c57f175abdcba6e5
parent30669d6d8700de27cfeb496d70b4213f10baf4b9 (diff)
downloadceph-365ba0600bdaf28b9b71e7c6d5113cd531f95891.tar.gz
qa: add script to run objectcacher tests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
-rwxr-xr-xqa/workunits/osdc/stress_objectcacher.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/qa/workunits/osdc/stress_objectcacher.sh b/qa/workunits/osdc/stress_objectcacher.sh
new file mode 100755
index 00000000000..03a5c952e01
--- /dev/null
+++ b/qa/workunits/osdc/stress_objectcacher.sh
@@ -0,0 +1,26 @@
+#!/bin/sh -ex
+
+for i in $(seq 1 10)
+do
+ for DELAY in 0 1000
+ do
+ for OPS in 1000 10000
+ do
+ for OBJECTS in 10 50 100
+ do
+ for READS in 0.90 0.50 0.10
+ do
+ for OP_SIZE in 4096 131072 1048576
+ do
+ for MAX_DIRTY in 0 25165824
+ do
+ test_objectcacher_stress --ops $OPS --percent-read $READS --delay-ns $DELAY --objects $OBJECTS --max-op-size $OP_SIZE --client-oc-max-dirty $MAX_DIRTY > /dev/null 2>&1
+ done
+ done
+ done
+ done
+ done
+ done
+done
+
+echo OK