performance slows down whe n compiled with gdal
H. Porath
porath at WEB.DE
Tue Jun 6 05:58:08 PDT 2006
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.
I think "FastCGI" would only help if the startup was an issue, right?
Regards,
Holger
-----Ursprüngliche Nachricht-----
Von: Frank Warmerdam <warmerdam at pobox.com>
Gesendet: 06.06.06 13:59:16
An: porath at WEB.DE
CC: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: Re: [UMN_MAPSERVER-USERS] performance slows down when compiled with gdal
Holger,
How long does a "mapserv -v" report take? I vaguely suspect you are
seeing a high cost to loading all the shared libraries, perhaps because some
of the shared libraries are having to be link edited into a new location.
I know this used to be an issue on Solaris (many years ago) if the -fPIC
flag was missed during compiles. If mapserv -v takes 1-2 seconds then you
will know that the issue is a "startup cost" issue.
I don't see any reason why using GDAL to render from a small PNG file should
be slow.
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
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
More information about the MapServer-users
mailing list