performance slows down when compiled with gdal

Frank Warmerdam warmerdam at POBOX.COM
Tue Jun 6 06:19:42 PDT 2006


porath at web.de wrote:
> Hi Frank,
> 
> thanks for this hint. I checked out my Makefile and found that we compiled mapserver with fPIC:
> CFLAGS   = -O2 -fPIC -Wall   $(FLAGS)
> CXXFLAGS = -O2 -fPIC -Wall   $(FLAGS)
> 
> 
> "mapserv -v" takes without gdal 94-156 milliseconds and with gdal 203-313 milliseconds. It is only a little bit slower.

Holger,

OK, well, this certainly does not seem to be the problem.

> I think "FastCGI" would only help if the startup was an issue, right?

FastCGI only helps in avoid high startup overhead - usually in the context
of expensive database connections.

I'm afraid I don't know why you are seeing such performance degredation
but it is definately not typical.  You might want to turn on debugging to
see if the time is actually spent in drawing the raster layer.   Beyond that
I'm not too sure how to address the issue.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the MapServer-users mailing list