performance slows down when compiled with gdal

Frank Warmerdam warmerdam at POBOX.COM
Wed Jun 7 09:35:44 EDT 2006


porath at web.de wrote:
> 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? 

Holger,

Well, it indicates it isn't a rendering problem.  The above times don't
include the time to save the file to png/jpeg/gif so it could be spending
an inordinate amount of time doing that for some reason.  But I still
suspect some odd initialization things is taking a lot of time.

If I had direct access to the system I would try reproducing the exact
mapserv request and invoking it at the commandline.  First as your regular
user, and then in an environment as close a possible to Apache's.  I would
next likely add some extra timing debug messages to track time from mapserv
startup to shutdown.  That would help isolate if the delay is before entering
main or somewhere later.

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