Versions Compared

Key

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

Table of Contents
maxLevel2

Child pages:

Children Display


Testing on AWS

2020-12-16

Expand
titleTest 4 - Number of containers - default - SHA256

Tester

Test

Results

  • Terminated at 32,203,148 empty containers - no space left on 1-TB device
  • Duration: 5 days 4 hrs 10 mins


    No Format
    summary = 32203148 in 124:10:42 = 72.0/s Avg: 49 Min: 3 Max: 1126 Err: 1 (0.00%)
    Tidying up ... @ Wed Dec 16 03:41:11 UTC 2020 (1608090071444)


  • Grafana dashboard

Environment

Instance Type: t3.xlarge

Database Engine:  Postgres 12.0Same as 12-09

Database Server:  colocated on instance, running in Docker container

  1. JAVA_OPTS (in /etc/default/tomcat9)

    1. No Format
      JAVA_OPTS="-Djava.awt.headless=true -server \
      -Xms1G -Xmx2G -XX:MaxNewSize=1G \
      -Dfcrepo.activemq.directory=/f6/activemq \
      -Dfcrepo.home=/f6 \
      -Dfcrepo.db.url=jdbc:postgresql://localhost:5432/fcrepo \
      -Dfcrepo.db.user=fcrepo-user \
      -Dfcrepo.db.password=fcrepo-pw \
      -Dfcrepo.persistence.defaultDigestAlgorithm=sha256 \
      -Dfcrepo.metrics.enable=true \
      -XX:+HeapDumpOnOutOfMemoryError \
      -XX:HeapDumpPath=/f6/mem"


...

Expand
titleTest 6 - Number of Archival Groups with nested binaries

Tester

Test

  • Test 6 - Number of Archival Groups with nested binaries

  • Code Block
    nohup jmeter -Dfedora_4_context=/fcrepo/rest -Dcontainer_ag_threads=4 -n -t ~/fcrepo4-jmeter/fedora.jmx > test-out.txt


Results

  • Terminated at 1,143,873 archival groups - no space left on 1-TB device
  • Duration: 6 hrs 3 mins

    No Format
    summary = 1143873 in 06:03:53 = 52.4/s Avg: 73 Min: 4 Max: 2055 Err: 4 (0.00%)
    Tidying up ... @ Fri Dec 04 06:50:21 UTC 2020 (1607064621527)
    


  • Grafana dashboard

Environment

  1. Instance type: t3.xlarge
    1. 4 vCPUs
    2. 16 GB memory
  2. Fedora
    1. Build #1d26867e (2020-12-03)
  3. PostgreSQL in Docker colocated on instance
    1. v12.3
  4. Tomcat info (java -cp /usr/share/tomcat9/lib/catalina.jar org.apache.catalina.util.ServerInfo)

    1. No Format
      Server version: Apache Tomcat/9.0.16 (Ubuntu)
      Server built: Sep 11 2019 19:47:51 UTC
      Server number: 9.0.16.0
      OS Name: Linux
      OS Version: 5.4.0-1030-aws
      Architecture: amd64
      JVM Version: 11.0.9.1+1-Ubuntu-0ubuntu1.18.04
      JVM Vendor: Ubuntu


  5. JVM (java -version)

    1. No Format
      openjdk version "11.0.9.1" 2020-11-04
      OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04)
      OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)


  6. JAVA_OPTS (in /etc/default/tomcat9)

    1. No Format
      JAVA_OPTS="-Djava.awt.headless=true -server \
      -Xms1G -Xmx2G -XX:MaxNewSize=1G \
      -Dfcrepo.activemq.directory=/fcrepo/activemq \
      -Dfcrepo.home=/fcrepo \
      -Dfcrepo.db.url=jdbc:postgresql://localhost:5432/fcrepo \
      -Dfcrepo.db.user=*** \
      -Dfcrepo.db.password=*** \
      -Dfcrepo.metrics.enable=true \
      -XX:+HeapDumpOnOutOfMemoryError \
      -XX:HeapDumpPath=/fcrepo/mem"
      
      


...