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 1072145 ms
210001MB 464,909 ms408,316 853485 ms
410001MB 402,695 ms387,168 854603 ms
810001MB 393,567 ms384,786 ms801720 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.BenchToolFC4jar -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 ms21937 6481 ms
210001MB 4343 ms12387 3299 ms
410001MB 4409 ms7499 3463 ms
810001MB 3910 ms6793 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.BenchToolFC4jar -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 709007 ms
210001MB 137,125 ms124,240 ms579997 ms
410001MB 141,977 ms128,048 438686 ms
810001MB 135,004 ms149,371 321657 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.BenchToolFC4jar -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 228857 ms
210001MB 96,281 ms92,130 196305 ms
410001MB 100,309 ms92,542 195874 ms
810001MB 101,414 ms92,472 204004 ms