ACS 6.2 + Raspi4 8Gb + SSD: performance test with nmon (screencast)

cancel
Showing results for 
Search instead for 
Did you mean: 
Giuliano
Active Member II

ACS 6.2 + Raspi4 8Gb + SSD: performance test with nmon (screencast)

I would like to share some experiments with ACS 6.2 + Raspi4 8Gb + 256GB SSD

Thanks to jpotts ansible script, I managed to install ACS 6.2 Community
on a Raspy4 8Gb + SSD


The configuration includes:

  • Ubuntu 20.04.02 arm64 (64bit to use all the 8Gb of ram)
  • openjdk11,
  • apache-activemq-5.16.1,
  • apache-tomcat-9.0.41,
  • postgres 12,
  • libreoffice 7

I link a first screencast  with nmon monitor
https://drive.google.com/file/d/1PT5ZOhU85kWhZ5b_OXDxXYH8c1kwCJqQ/view?usp=sharing

A you can see there is a HUGE time to let Tomcat/ACS boot (~ 5 mins)
Then, once reached the login Share form, OTHER 1'30" seconds to get the into GUI.

From this moment on, the behavious seems ALMOST resonable.
Switching between various site, does not take much time.
Opening pdf or odf documents behave normally
The system memory usage, keeps about on 3 GB


In the second video, after 3 hours without activity on ACS,
I logged in AGAIN, and even with a second user simultaneously
https://drive.google.com/file/d/1BUgwPswSci3HC15nEw8FftDQCF1bd0Nu/view?usp=sharing

As you can see the "log in form" time and "Share gui boot" time are now much faster (almost normal?)
And the memory usage keeps low (3.2 GB used + 1.2 GB cached)

I got some test with Solr6 in multiligual search... seems fine
https://drive.google.com/file/d/1XHzGxDemGNxMptWEg4KHT2C574XLIiWa/view?usp=sharing

The main bottleneck (considering we are using a SDD) SEEMS to be the cpu
The RAM quantity seem not to be the limiting factor of the test.

I BELIEVE that, ONCE the server is started, and ACS + Share has been loaded, the cpu performance should not reach the stres limit again

Some questions:

-On x86 hardware, how long are the Tomcat/ACS boot time  + Share time ?
-Is there a better way to perorm a test (sorry, no docker on Raspy) to compare the result with classical amd64 install ?
-Looking at the response time of "normal operations", how does it seems compare with "average" wait time on x86  ?
-Is it possibile to increase performace, using more cached RAM
Current JAVA_OPTS are:
JAVA_OPTS="-XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -Djava.awt.headless=true -Dalfresco.home=/opt/alfresco -XX:ReservedCodeCacheSize=128m $JAVA_OPTS "
JAVA_OPTS="-Xms512M -Xmx15250M $JAVA_OPTS " # java-memory-settings