geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dok Sander <doksan...@yahoo.com>
Subject Performance between 2.2.1 & 3.0.0
Date Sun, 24 Jun 2012 12:04:10 GMT
Hello,

 This was discussed with kevan to some extend on geronimo IRC channel on Freenode.

There seems to be a considerable performance hit between Geronimo 2.2.1 and 3.0.0. In addition
to results below the overall loading times of the web UI are much longer in 3.0.0 than in
2.2.1. I understand this is a good time to try and find if the performance can be made better
since the actual release of 3.0.0 is drawing near.



-- vdox



Platform specs:

# uname -s -r -v -m -p -i -o
Linux 3.1.10-1.9-ec2 #1 SMP Thu Apr 5 18:48:38 UTC 2012 (4a97ec8) x86_64 x86_64 x86_64 GNU/Linux

# free -t
             total       used       free     shared    buffers    
cached
Mem:       1751644    1385060     366584          0      64644    
827940
-/+ buffers/cache:     492476    1259168
Swap:            0          0          0
Total:     1751644    1385060     366584

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5507  @ 2.27GHz
stepping        : 5
cpu MHz         : 2266.746
cache size      : 4096 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi mmx fxsr
sse sse2 ss ht syscall nx lm constant_tsc up rep_good nopl nonstop_tsc aperfmperf pni ssse3
cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm dts
bogomips        : 4555.21
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

# java -version
java version "1.7.0_b147-icedtea"
OpenJDK Runtime Environment (suse-1.2-x86_64)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)


-------------

Test results:


Following JAVA_OPTS are used for both versions:
-Xmx512m -Xms256m -XX:MaxPermSize=256m



geronimo-tomcat6-javaee5-2.2.1
___________________________________________________________________________________________________________________________


startup(From geronimo.out):
Startup completed in 1:46.803s seconds

list modules
# time /$GERONIMO_HOME/bin/deploy.sh -u system -p manager list-modules
...
real    0m13.703s
user    0m9.617s
sys     0m0.648s


deploy
# time $GERONIMO_HOME/bin/deploy.sh -u system -p manager deploy --inPlace 
...
real    0m12.815s
user    0m9.137s
sys     0m0.740s

undeploy:
# time $GERONIMO_HOME/bin/deploy.sh -u system -p manager undeploy org.apache.geronimo.samples/HelloWorldApp/1.0/war
...
real    0m13.562s
user    0m10.457s
sys     0m0.840s


CPU usage during deploy list-modules:
geronimo: 0-20%
deploy: 50-90%
___________________________________________________________________________________________________________________________





geronimo-tomcat7-javaee6-3.0.03.0.0-20120620.212946 (I originally tested with 3.0.0-beta1
but snapshot was recommended to me by kevan)
___________________________________________________________________________________________________________________________

startup(From geronimo.out):
"Startup completed in 2:20.080s seconds"


list modules:
time $GERONIMO_HOME/bin/deploy -u system -p manager list-modules
...
real    0m51.848s
user    0m36.230s
sys     0m3.376s


deploy:
time $GERONIMO_HOME/bin/deploy -u system -p manager deploy --inPlace .
...
real    0m56.284s
user    0m32.822s
sys     0m3.680s


undeploy:
time $GERONIMO_HOME/bin/deploy -u system -p manager undeploy org.apache.geronimo.samples/HelloWorldApp/1.0/war
...
real    0m47.336s
user    0m32.862s
sys     0m2.764s



CPU usage during deploy list-modules:
geronimo: 80-90%
deploy: 10-20%

___________________________________________________________________________________________________________________________

Mime
View raw message