The initial dataset to load into the repository before testing proper begins.

 

ParameterSuggested valuesNotes
Number of containers1000 
Average number of binaries per container1 
Standard deviation of binary per container 0 
Average size of binary1048576 
Standard deviation of binary size0 
Average number of properties per resourcen/ano properties set
Standard deviation of properties per resource n/a 
Is binary data random?Yes 

 

BenchToolFC3 Script for Fedora 3

#!/bin/sh

REPO=http://localhost:8983/fedora
BATCHES=10
OBJ=100
DS=1048576

N=0
while [ $N -lt $BATCHES ]; do
   N=$(( $N + 1 ))
   echo "$N ================================================================"
   java -cp target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar org.fcrepo.bench.BenchToolFC3 $REPO fedoraAdmin fedoraAdmin $OBJ $DS
done

BenchToolFC4 Script for Fedora 4

#!/bin/sh

REPO=http://localhost:8080
BATCHES=10
OBJ=100
DS=1048576
THREADS=1

N=0
while [ $N -lt $BATCHES ]; do
   N=$(( $N + 1 ))
   echo "$N ================================================================"
   java -cp target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar org.fcrepo.bench.BenchToolFC4 $REPO $OBJ $DS $THREADS
done