That patch sounds pretty important, can we commit it?<br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 3:18 AM, Traian Stanev <span dir="ltr"><<a href="mailto:traian.stanev@autodesk.com">traian.stanev@autodesk.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
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.<br>
<br>
The patch is attached to this ticket: <a href="http://trac.osgeo.org/mapguide/ticket/462" target="_blank">http://trac.osgeo.org/mapguide/ticket/462</a> called gdal_nomutex_cachedschema.patch.<br>
<br>
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.<br>
<font color="#888888"><br>
Traian<br>
</font><div><div></div><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Trevor Wekel<br>
Sent: Friday, April 15, 2011 12:26 AM<br>
To: MapGuide Users Mail List<br>
Subject: RE: [mapguide-users] RE: Changing custom PoolSize for GDAL has no effect<br>
<br>
Hi Gunter,<br>
<br>
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.<br>
<br>
Regards,<br>
Trevor<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Gunter Becker<br>
Sent: April 13, 2011 2:05 PM<br>
To: <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
Subject: [mapguide-users] RE: Changing custom PoolSize for GDAL has no effect<br>
<br>
Thanks Trevor,<br>
<br>
can I suppose that my configuration (35 raster featuresources, 50 concurrent<br>
user) could work with<br>
the single-threaded GDAL Provider or does the provider means a bottleneck<br>
for my application?<br>
<br>
The repository error: I will try final release as soon it is available and<br>
if the error exists I will post it here. I supposed it has to do something<br>
with the rasterprovider since I've not found any hint in logfiles on what's<br>
going on. Even with full error report enabled.<br>
<br>
Funding the work on the GDAL Provider: I have to discuss this with my<br>
company (personally I'd like to fund but it is not my decision)<br>
<br>
Thanks, Gunter<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Changing-custom-PoolSize-for-GDAL-has-no-effect-tp6268276p6270448.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Changing-custom-PoolSize-for-GDAL-has-no-effect-tp6268276p6270448.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer <br>Solution Architect / Director<br>Ennoble Consultancy Australia<br><a href="http://www.ennoble.com.au">http://www.ennoble.com.au</a><br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a><br>
+61 405 847 168<br><br><br><br>