Setup
- Version of Fedora
- 4.5.1-SNAPSHOT | Build #fd6f9da9 (2016-02-19) (https://github.com/fcrepo4/fcrepo4/pull/986 before squashing)
- Fedora Configuration
JAVA_OPTS="-Dfcrepo.home=/var/lib/tomcat7/fcrepo4-data -Djava.awt.headless=true -Xmx8g"
See below
- System details
- Fedora: VMWare VM configured with 4x 2.8GHz CPU, 16GB RAM
- JMeter: separate identical VM
Network: 1000Mb/s ethernet
OS: Ubuntu 14.04.3 LTS
JVM: Oracle JDK 1.8.0_66-b17
Servlet container: Tomcat 7.0.52
- Fedora: VMWare VM configured with 4x 2.8GHz CPU, 16GB RAM
- Initial State of the Repository
- empty
- Number of Client Threads
- 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
- Summary:
674578 in 17680s = 38.2/s Avg: 21 Min: 8 Max: 4462 Err: 0 (0.00%)
- Test finished when Fedora was unable to save metadata due a Too Many Open Files error.
- Logs:
- jmeter log: test2-leveldb-jmeter.log
- jmeter data: test2-leveldb-jmeter.csv.gz
- jmeter perf: test2-leveldb-perf.log
- fedora log: test2-leveldb-fedora.log
PostgreSQL
- Additional config:
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/jdbc-postgresql/repository.json"
- PostgreSQL 9.3 running on same VM as Fedora
- Summary:
1348669 in 49328s = 27.3/s Avg: 32 Min: 8 Max: 5198 Err: 0 (0.00%)
- Test still running
- Logs:
- jmeter log: test2-postgres-jmeter.log
- jmeter data: test2-postgres-jmeter.csv.gz
- jmeter perf:test2-postgres-perf.log