Hi Steve, we haven't noticed a performance problem there so far, but I'm working on a OOM caused by that same method, ROIShape.getImage()... the OOM in question is of the "strange" kind, cause by the finalization queue not clearing fast enough the WrappedRenderedImageAdapter that are eventually generated by calling ROIShape.getImage(), under heavy WCS load (with mosaics).
The last mosaic operation in the WMS rendering chain is a different beast though... are you making very large requests to the WMS? Or I guess, you're trying to serve a very large GeoTiff? Anyways, what that operation is trying to do, is to apply the background color in the output image in case that: - the input one has a transparency, but the output is opaque - the input image is smaller than the output (this will apply background and collar at the same time) I don't have enough time to reason properly about this issue, just trying to answer quickly (might be days before I can dedicate more attention to this one), but I would check if doing an intersection between the image bounds and the map bounds would work better. Steve, once you're done, can add a test you make a pull request to get this change in? https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md Cheers Andrea On Mon, Dec 14, 2015 at 9:34 PM, sikeoka <[email protected]> wrote: > Also, this was tested with both bilinear and nearest neighbor interpolation > and with mosaic native acceleration enabled and disabled. > > After more testing, I was able to track the slow performance down > specifically to the javax.media.jai.ROIShape.getAsImage() call that occurs > inside the com.sun.media.jai.opimage.MosaicOpImage constructor. Using the > smaller ROI improves the performance of that specific method call while the > rest of the Mosaic operation is not noticeably impacted by which ROI is > used. > > > Steve Ikeoka > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Potentially-Slow-Mosaic-Performance-in-directRasterRender-tp5241258p5241296.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == *Geosolutions' Winter Holidays from 24/12 to 6/1* Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003* Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. -------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
