You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Setup

  1. Version of Fedora
    1. 4.5.1-SNAPSHOT | Build #fd6f9da9 (2016-02-19) (https://github.com/fcrepo4/fcrepo4/pull/986 before squashing)
  2. Fedora Configuration
    1. JAVA_OPTS="-Dfcrepo.home=/var/lib/tomcat7/fcrepo4-data -Djava.awt.headless=true -Xmx8g"

    2. See below

  3. System details
    1. Fedora: VMWare VM configured with 4x 2.8GHz CPU, 16GB RAM
    2. JMeter: separate identical VM
    3. Network: 1000Mb/s ethernet

    4. OS: Ubuntu 14.04.3 LTS

    5. JVM: Oracle JDK 1.8.0_66-b17

    6. Servlet container: Tomcat 7.0.52

  4. Initial State of the Repository
    1. empty
  5. Number of Client Threads
    1. 1

Test

$HOME/jmeter/bin/jmeter -Dfilesize_min=0 -Dfilesize_max=4096 -Dfedora_4_server=lib-fedora1 -Dfedora_4_context=fcrepo/rest -n -t $HOME/jmeter/fedora.jmx

  • fedora.jmx edited according to instructions in fcrepo4-jmeter PR #4 (enabling "Fedora4 Create Binary Resource" thread group and disabling all others).

Results

LevelDB

  1. Summary: 674578 in 17680s = 38.2/s Avg: 21 Min: 8 Max: 4462 Err: 0 (0.00%)
  2. Test finished when Fedora was unable to save metadata due a Too Many Open Files error.
  3. Logs:
    1. jmeter log: test2-leveldb-jmeter.log
    2. jmeter data: test2-leveldb-jmeter.csv.gz
    3. jmeter perf: test2-leveldb-perf.log
    4. fedora log: test2-leveldb-fedora.log

PostgreSQL

  1. Additional config: 
    1. JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/jdbc-postgresql/repository.json"
    2. PostgreSQL 9.3 running on same VM as Fedora
  2. Summary: 1348669 in 49328s = 27.3/s Avg: 32 Min: 8 Max: 5198 Err: 0 (0.00%)
  3. Test still running
  4. Logs:
    1. jmeter log: test2-postgres-jmeter.log
    2. jmeter data: test2-postgres-jmeter.csv.gz
    3. jmeter perf:test2-postgres-perf.log
  • No labels