
First I did this exercise using the Debian distro. I'm a long-time Red Hat user, but I learned a fair amount of Debian as I went.
The "server" response was sluggish, but it worked. Serving up a JSP page that hits the database takes about 5 seconds. A page compile (in Java) takes quite a bit longer....about 38 seconds for a rather simple page. (My most complicated page takes over 50 seconds to compile).
Here are the relevant components I installed for Debian:
mysql-server 5.1.49-3
tomcat6 6.0.35-1+squeeze2
# java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK Zero VM (build 14.0-b16, mixed mode)
Then I decided to try one of the experimental builds of F17 ("console" version ) put together by effbiai. (See this thread:
http://www.raspberrypi.org/phpBB3/viewt ... =51&t=5466
The performance to page compile a JSP page under Fedora is very poor compared to the Debian distro.
Under Debian, a page hit that accesses the database took 5 seconds. The same page under Fedora took 9 seconds. Although nearly double the time, it didn't feel too bad. But when it came to page compiling, it was a much different story. The simple page that took 38 seconds under Debian to compile now takes 1 min 17 seconds under Fedora. The more complex page that took 50 seconds in Debian took 1 min 52 seconds under Fedora.
These are the relevant packages I installed under Fedora:
mysql-5.5.23-1.fc17.armv5tel
tomcat6-6.0.32-20.fc17.noarch
# java -version
java version "1.7.0_b147-icedtea"
OpenJDK Runtime Environment (fedora-2.1.fc17.6-arm)
OpenJDK Zero VM (build 22.0-b10, interpreted mode)
Now....this wasn't a very well planned out experiment. I just grabbed whatever version of Java came from the package management system when I installed Tomcat6. I vaguely recall another thread saying there were significant differences between different JVMs on ARM. I'll go look that thread up. But I just wanted to throw my experiment out here for rumination.
