ceph/qa/workunits/osdc/stress_objectcacher.sh
Josh Durgin 365ba0600b qa: add script to run objectcacher tests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-26 10:37:43 -08:00

27 lines
707 B
Bash
Executable File

#!/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