performance slows down when compiled with gdal

Ed McNierney ed at TOPOZONE.COM
Tue Jun 6 09:53:17 EDT 2006


Holger -

Could you also post your entire map file, so we can have a good look at
the whole picture?  I'm a heavy GDAL user and have never seen symptoms
like yours.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
ed at topozone.com 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Frank Warmerdam
Sent: Tuesday, June 06, 2006 9:20 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] performance slows down when compiled
with gdal

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