[mapguide-users] RE: Changing custom PoolSize for GDAL has no effect

Zac Spitzer zac.spitzer at gmail.com
Sat May 28 02:37:39 EDT 2011


That patch sounds pretty important, can we commit it?

On Sun, Apr 17, 2011 at 3:18 AM, Traian Stanev
<traian.stanev at autodesk.com>wrote:

>
> Not sure if that would help, but a patch I did a while back to fix
> refcounting issues with the GDAL provider also included an optimization
> about config file parsing which sped up opening of new GDAL connections by a
> factor of 10 at least.
>
> The patch is attached to this ticket:
> http://trac.osgeo.org/mapguide/ticket/462 called
> gdal_nomutex_cachedschema.patch.
>
> It was a long time ago, but as far as I remember this optimization was key
> in case one wants to enable pooling of GDAL connections. It also removed the
> internal global mutex in the provider which made it work single-threaded
> regardless of the setting in the MapGuide configuration. That patch requires
> my addref patch attached to the same ticket.
>
> Traian
>
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:
> mapguide-users-bounces at lists.osgeo.org] On Behalf Of Trevor Wekel
> Sent: Friday, April 15, 2011 12:26 AM
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] RE: Changing custom PoolSize for GDAL has no
> effect
>
> Hi Gunter,
>
> Since only one raster feature source can be loaded at any given time, you
> may up with some additional load overhead if your config.xml (raster
> catalog) documents are fairly large.  As far as I know, the config.xml
> information will only remain cached for the lifetime of the connection to
> the raster feature source.  With 35 raster feature sources, it may be
> getting parsed for every raster request.
>
> Regards,
> Trevor
>
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:
> mapguide-users-bounces at lists.osgeo.org] On Behalf Of Gunter Becker
> Sent: April 13, 2011 2:05 PM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] RE: Changing custom PoolSize for GDAL has no
> effect
>
> Thanks Trevor,
>
> can I suppose that my configuration (35 raster featuresources, 50
> concurrent
> user) could work with
> the single-threaded GDAL Provider or does the provider means a bottleneck
> for my application?
>
> The repository error: I will try final release as soon it is available and
> if the error exists I will post it here. I supposed it has to do something
> with the rasterprovider since I've not found any hint in logfiles on what's
> going on. Even with full error report enabled.
>
> Funding the work on the GDAL Provider: I have to discuss this with my
> company (personally I'd like to fund but it is not my decision)
>
> Thanks, Gunter
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Changing-custom-PoolSize-for-GDAL-has-no-effect-tp6268276p6270448.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110528/67c61a20/attachment.html


More information about the mapguide-users mailing list