Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Setup Profile:

Benchtool

The benchmarking tool is available on github: https://github.com/futuresfcrepo4-labs/benchtool

Code Block
git clone git@github.com:futuresfcrepo4-labs/benchtool.git
cd benchtool
mvn install

Benchtool is running on a different host.

Ingest Test Matrix

Workflow profile:  Test - Workflow Profile: Benchtool Ingest

Benchtool command (one thread): 

no authz: java -cpjar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar org.fcrepo.bench.BenchToolFC4jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a ingest
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://localhostsaez:8080 10000-s 1048576 -n 1000 -t 1 -a ingest -u adminuser -p turnip2

ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110,00010001MB 

36,321,722

(8 hrs 58 min 42 secs)

210,0001MB  
410,0001MB  
535,091 ms510,248 ms
210001MB464,909 ms408,316 ms
410001MB402,695 ms387,168 ms
810001MB393,567 ms384,786 ms810,0001MB  

Read Test Matrix

Workflow profile:  Test - Workflow Profile: Benchtool Read

Benchtool command (one thread): 

no authz: java -cpjar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar org.fcrepo.bench.BenchToolFC4 -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a read
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://localhostsaez:8080 10000-s 1048576 -n 1000 -t 1 -a read -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110,00010001MB 8504 ms 6481 ms
210,00010001MB 4343 ms 3299 ms
410,00010001MB 4409 ms 3463 ms
810,00010001MB 3910 ms 3472 ms

Update Test Matrix

Workflow profile:  Test - Workflow Profile: Benchtool Update

Benchtool command (one thread):

no authz: java -cpjar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar org.fcrepo.bench.BenchToolFC4-f http://saez:8080 -s 1048576 -n 1000 -t 1 -a update
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://localhostsaez:8080 10000-s 1048576 -n 1000 -t 1 -a update -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110,00010001MB 200,431 ms174,545 ms 
210,00010001MB 137,125 ms124,240 ms 
410,00010001MB 141,977 ms128,048 ms 
810,00010001MB 135,004 ms149,371 ms 

Delete Test Matrix

Workflow profile:  Test - Workflow Profile: Benchtool Delete

Benchtool command (one thread):

no authz: java -cpjar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar org.fcrepo.bench.BenchToolFC4-f http://saez:8080 -s 1048576 -n 1000 -t 1 -a delete
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://localhostsaez:8080 10000-s 1048576 -n 1000 -t 1 -a delete -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110,00010001MB 126,261 ms112,387 ms 
210,00010001MB 96,281 ms92,130 ms 
410,00010001MB 100,309 ms92,542 ms 
810,00010001MB 101,414 ms92,472 ms