File: stress_objectcacher.sh

package info (click to toggle)
ceph 10.2.11-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 84,660 kB
  • sloc: cpp: 851,974; ansic: 54,245; python: 45,589; sh: 30,008; java: 20,516; asm: 10,148; perl: 8,435; makefile: 5,956; php: 909
file content (28 lines) | stat: -rwxr-xr-x 793 bytes parent folder | download | duplicates (6)
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
#!/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
                            ceph_test_objectcacher_stress --ops $OPS --percent-read $READS --delay-ns $DELAY --objects $OBJECTS --max-op-size $OP_SIZE --client-oc-max-dirty $MAX_DIRTY --stress-test > /dev/null 2>&1
                        done
                    done
                done
            done
        done
    done
done

ceph_test_objectcacher_stress --correctness-test > /dev/null 2>&1

echo OK