Setup
- Version of Fedora
fcrepo-webapp-4.5.2-SNAPSHOT.war built on Jun 28
- Fedora configuration details (/usr/share/tomcat/conf/tomcat.conf)
leveldb
JAVA_OPTS="-Djava.awt.headless=true -XX:+UseG1GC -XX:+DisableExplicitGC -Xms512m -Xmx110g -XX:NewSize=256m -XX:MaxNewSize=2g -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8 -Xloggc:/var/log/tomcat/java-gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Dfcrepo.modeshape.configuration=classpath:/config/minimal/repository.json -Dfcrepo.home=/mnt/fedora-data"
MySQL
JAVA_OPTS="-Djava.awt.headless=true -XX:+UseG1GC -XX:+DisableExplicitGC -Xms512m -Xmx110g -XX:NewSize=256m -XX:MaxNewSize=2g -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8 -Xloggc:/var/log/tomcat/java-gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Dfcrepo.modeshape.configuration=classpath:/config/jdbc-mysql/repository.json -Dfcrepo.home=/mnt/fedora-data -Dfcrepo.ispn.mysql.username= -Dfcrepo.ispn.mysql.password= -Dfcrepo.ispn.mysql.host=localhost -Dfcrepo.ispn.mysql.port=3306"
PostgreSQL
JAVA_OPTS="-Djava.awt.headless=true -XX:+UseG1GC -XX:+DisableExplicitGC -Xms512m -Xmx110g -XX:NewSize=256m -XX:MaxNewSize=2g -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8 -Xloggc:/var/log/tomcat/java-gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Dfcrepo.modeshape.configuration=classpath:/config/jdbc-postgresql/repository.json -Dfcrepo.home=/mnt/fedora-data -Dfcrepo.ispn.postgresql.username= -Dfcrepo.ispn.postgresql.password= -Dfcrepo.ispn.postgresql.host=localhost -Dfcrepo.ispn.postgresql.port=5432"
- System details (OS, memory, processors, hardware specs or virtualization, JVM, etc)
CentOS 7
128GB RAM, 24vCPU $ uname -a Linux test 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
- Initial state of the repository
- empty
- Number of client processes/threads (ideally clients are on a separate machine)
- 1
- Fedora
- leveldb
- MySQL
- PostgreSQL
Test
Command:
date > /home/cc/summary.log; ./jmeter -Dfedora_4_server=localhost -Dfedora_4_context=fcrepo/rest -Dfilesize_min=0 -Dfilesize_max=4096 -Dbinary_threads=1 -n -t /home/cc/fcrepo4-jmeter/fedora.jmx >> /home/cc/summary.log;
Results
- leveldb
- Length of run: Mon Jun 27 18:53:14 UTC 2016 to Mon Jun 27 19:24:14 UTC 2016
- Summary:
summary + 1898 in 00:00:14 = 137.4/s Avg: 5 Min: 1 Max: 147 Err: 1 (0.05%) Active: 0 Started: 1 Finished: 1
summary = 250605 in 00:30:59 = 134.8/s Avg: 4 Min: 0 Max: 419 Err: 1 (0.00%) - Logs: test2.leveldb.tar.gz
- MySQL
Length of run: Mon Jun 27 19:25:21 UTC 2016 to Tue Jun 28 09:23:24 UTC 2016
Summary:
summary + 488 in 00:00:55 = 8.9/s Avg: 109 Min: 1 Max: 30777 Err: 1 (0.20%) Active: 0 Started: 1 Finished: 1
summary = 757361 in 13:58:03 = 15.1/s Avg: 63 Min: 0 Max: 32831 Err: 1 (0.00%)Logs: test2.mysql.tar.gz
- PostgreSQL
- Length of run: Tue Jun 28 16:29:53 UTC 2016 to Sun Jul 3 09:45:32 EDT 2016 (Run 5+ days no error, end manually.)
- Summary:
summary + 305 in 00:00:31 = 9.9/s Avg: 96 Min: 1 Max: 4993 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
summary = 5637575 in 108:45:09 = 14.4/s Avg: 66 Min: 1 Max: 16099 Err: 0 (0.00%) - Logs: test2.pqsl.tar.gz
- R scripts graphic