Hey there

I've read some things here and there, but decided it would be best to 
confirm with you guys.

So, I have a simple GeoServer 2.3.0 installation on my desktop: 
quad-core i5 4GB RAM with Windows 7 64 bits, JDK 6u32 (32bits) with 
native JAI . I then open up the layer preview for topp:states, and set 
options to use tiling and a larger width/height (1200x800).

Ok, so now if I simply zoom in and out crazily, just by myself, I am 
able to occupy ~30% of the CPU (all cores included). I then did some 
profiling (on another version of GeoServer, 2.1.4) and it seemed like 
most of the CPU load refferred to methods from 
org.geotools.image.ImageWorker, namely writePNG or writeJPEG 
(dependending on the format specified). I was also able to confirm that 
the writePNG method does go through the code that uses native JAI 
acceleration (which seems to help a little, but not incredibly so)

So I wonder: is this really supposed to happen? Is encoding the image 
the real bottleneck for simple layers like this? Is there anything I can 
do to improve this performance?

Thanks
Milton

-- 

Milton Jonathan
Grupo GIS e Meio Ambiente
Tecgraf/PUC-Rio
Tel: +55-21-3527-2502


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to