On Thu, Oct 4, 2012 at 5:05 PM, Paul Meems <[email protected]> wrote:
> Hi,
>
> I'm trying to optimize my GeoServer v2.2 on Ubuntu as mentioned in
> http://docs.geoserver.org/stable/en/user/production/index.html
> I have several questions.
> First about Oracle JRE. It seems to be quite difficult to install a
> package for Oracle JRE and my server is now using OpenJDK v1.6.0.24
> Does it make a lot of difference if I don't change to Oracle?
>
It depends how you define "a lot of difference". GeoServer developers don't
generally test with OpenJDK and the software is always built and thoroughly
tested on Oracle's JDK. OpenJDK is known to be slower while rendering maps,
on a benchmark I run a few months ago on OpenJDK 6 vs. JDK6 this turned out
to be about 6% slower on average for the data and hardware that I was
testing under several levels of concurrency. While you can conclude that
OpenJDK at this version "works", it's not the most commonly deployed
option, especially if you consider a production system. You could probably
expect OpenJDK7 / JDK7 differences to be smaller, but I don't know of any
benchmark that has studied them in detail (even JDK7 is not that much
tested in production yet).
> Should I still install Native JAI and JAI Image I/O or does it only work
> with Oracle JRE?
>
You should definitely install Native JAI and JAI Image I/O. These usually
make a huge difference in rendering, on the benchmark that I mentioned
above the maps that I was testing were on average 20% faster. You shouldn't
take the numbers I'm mentioning as absolute as these things depend on many
variables, but while OpenJDK vs JDK is not a staggering difference, not
having native JAI does have a significant impact on performance.
> I'll be servering mostly static vector layers, cached with GWS and tiled
> aerial photos using the pyramid plug-in.
>
Once your data is tiled and cached you won't see a difference in
performance because your files will sit on disk. But getting there is a lot
easier with the recommendations laid out above.
>
> I've continued on the next step: Container Considerations
> I understand I should change the mentioned settings, but the page doesn't
> say where to find the settings file.
> This is probable a real novice question, but since I am a novice with java
> and Ubuntu ...
>
What container are you using? Assuming Tomcat, an easy way to configure
these is to create a setenv.sh file within <CATALINA_HOME>/bin directory
and export the CATALINA_OPTS environment variable with the container
options, as well as other environment variables for GeoServer / GeoWebCache
that you might want to set (data directory location, GWC metastore
management, etc.).`
>
> One last question:
> The Geoserver webadmin startpage keeps saying 'Strong cryptography
> available'.
> Does this mean I have to change something? On the Security Settings page I
> have already changed the Password Encryption to Strong PBE.
>
> Thanks,
>
> Paul
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Juan Marín Otero
GIS Consultant
-------Visita mi blog en---------------------
http://guachintoneando.blogspot.com
---------------------------------------------------
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users