Versions Compared

Key

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

...

...

Setup Profile:

...

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 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 ingest
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 1048576-t 1 -a ingest -u adminuser -p turnip2

ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 535,091 ms510,248 3316082 ms
210001MB 464,909 ms408,316 ms 
410001MB 402,695 ms387,168 ms 
810001MB 393,567 ms384,786 ms 

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://saez:8080 -s 1048576 -n 1000 1048576-t 1 -a read -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 8504 ms 6481 ms
210001MB 4343 ms 3299 ms
410001MB 4409 ms 3463 ms
810001MB 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://saez:8080 -s 1048576 -n 1000 1048576-t 1 -a update -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 200,431 ms174,545 ms 
210001MB 137,125 ms124,240 ms 
410001MB 141,977 ms128,048 ms 
810001MB 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://saez:8080 -s 1048576 -n 1000 1048576-t 1 -a delete -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 126,261 ms112,387 ms 
210001MB 96,281 ms92,130 ms 
410001MB 100,309 ms92,542 ms 
810001MB 101,414 ms92,472 ms