Hello,

I'm looking for help on geoserver optimisation. My goal is to provide ocean
current animation but despite all the tuning i've done and the huge machine
i use, it's not alway "smooth".
At my initial zoom (6) my 40 time step (1 every 1000ms) are "smooth" with
only 1 or none loading pause, but the further i zoom the worst it get. At
my final zoom (9) it takes 30-45 seconds to load 5 step.

I'm using a netcdf file (10M) and postgis (around 200 000 row for 16M) as
data source into a layer group (around 10 layers).

The machine i'm testing on is a dual E5-2667 v3 @ 3.20GHz processor (2 x 8
cores) with 128G of RAM.
In term of CPU usage geoserver don't use much more than 6 100% cores out of
16, sometimes on 10 cores at 30% each, with sometimes 5 seconds only on 1
core at 100% (htop).

32G of RAM are for nginx tmpfs cache, 32G for postgis and 32G for geoserver.

I'm using geoserver 2.10 with Marlin vector rasterizer, leaflet with
timedimenssion asking for PNG8 by WMS as a client, openjdk 1.8 on a centos
7 64bits with tomcat 7, both the server and client are 100M optical fiber.
I have tried oracle JRE with worst result (with or without native JAI),
tomcat 8, binary without tomcat, geoserver 2.8/2.9, ubuntu 14.04/16.04
64bits, windows 10 64bits with all the same result on the same machine.

I have also tried on a dual E5-2699 v3 @ 2.30GHz processor (2 x 18 cores)
with exactly the same results.

My Java opts : JAVA_OPTS="-server
-Xbootclasspath/a:/var/lib/tomcat/webapps/geoserver/WEB-INF/lib/marlin-0.7.5-Unsafe.jar
-Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine
-Dsun.java2d.renderer.useThreadLocal=false -Djava.awt.headless=true -Xmx32g
-Xms16g -Xrs -XX:PerfDataSamplingInterval=500 -XX:MaxPermSize=2048m
-XX:SoftRefLRUPolicyMSPerMB=36000 -XX:+UseParNewGC -XX:+UseNUMA
-Duser.timezone=GMT"

My geoserver status page :
Memory Usage     16 GB / 30 GB
JVM Version     Oracle Corporation: 1.8.0_111 (OpenJDK 64-Bit Server VM)

Java Rendering Engine     org.marlin.pisces.MarlinRenderingEngine
Native JAI     false
Native JAI ImageIO     false
JAI Maximum Memory     23 GB
JAI Memory Usage     47 MB
JAI Memory Threshold     50%
Number of JAI Tile Threads     32
JAI Tile Thread Priority     10
ThreadPoolExecutor Core Pool Size     16
ThreadPoolExecutor Max Pool Size     16
ThreadPoolExecutor Keep Alive Time (ms)     30000
Update Sequence     8542

PNG encoder : java own encoder

I have tried seeding with geowebcache which work great on the client but is
not a good solution for me because i need something "realtime" and seeding
take 3 hours with my bounds (ex : [9,-30],
[-16,8]) and zoom (6-9).

Does somebody have an idea to improve my geoserver install ?

Sorry for my English and thanks in advance for any help.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to