performance slows down whe n compiled with gdal

H. Porath porath at WEB.DE
Wed Jun 7 05:12:12 EDT 2006


Hi Frank,

i turned on debugging and found the following entries for a request:
[Wed Jun  7 11:04:17 2006].332715 msDrawMap(): Layer 16 (huek-b256), 0.040s
[Wed Jun  7 11:04:17 2006].333253 msDrawMap(): Drawing Label Cache, 0.000s
[Wed Jun  7 11:04:17 2006].333382 msDrawMap() total time: 0.045s

This seems to be very fast. The Apache Log reports 3 seconds for the same request.

Does this mean that it is still a startup issue? 

Regards,

Holger

-----Ursprüngliche Nachricht-----
Von: Frank Warmerdam <warmerdam at POBOX.COM>
Gesendet: 06.06.06 15:44:53
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: 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


_____________________________________________________________________
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