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: [email protected] 
[mailto:[email protected]] 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: [email protected] 
[mailto:[email protected]] On Behalf Of Gunter Becker
Sent: April 13, 2011 2:05 PM
To: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to