GD vs AGG performance...

John Cole john.cole at UAI.COM
Thu Aug 23 12:56:06 PDT 2007


I'm just going by the tuning info reported by mapserver, but there is a
noticeable difference between them.

Try:
MS4 (MS4W 2.2.2) total time: 0.250s
http://map.uai.com:28080/cgi-bin/mapserv.exe?map=/mapserver/tiger/tiger.map&mode=browse&layers=bound+hydro+landmark+roads+roads_anno+city+hydro_anno+landmark_anno+landmark_point

MS5 AGG (MS4W 2.2.6) total time: 1.266s
http://map.uai.com:28080/cgi-bin2/mapserv.exe?map=/mapserver/tiger/tiger5.map&mode=browse&layers=bound+hydro+landmark+roads+roads_anno+city+hydro_anno+landmark_anno+landmark_point

MS5 GD (MS4W 2.2.6) total time: 0.250s
http://map.uai.com:28080/cgi-bin2/mapserv.exe?map=/mapserver/tiger/tiger5gd.map&mode=browse&layers=bound+hydro+landmark+roads+roads_anno+city+hydro_anno+landmark_anno+landmark_point

Except for GD->AGG (and the debug difference between 4 and 5), the map files
are identical.

(BTW, these are using the same html template, so if you navigate, you won't
be using the same MS/renderer combo).

Is there something else that needs to be done for AGG to perform similar to
GD?

John



Rob McCulley-2 wrote:
> 
> That hasn't been my experience at all.  I wrote a quick little python
> script that used mapscript to produce the same five maps twice, once
> with agg and once with gd.  The mapfiles were identical, except for the
> outputformat section, and the times were within 2% of each other.
> 
> Rob McCulley
> 
> 
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> Behalf Of John Cole
> Sent: Thursday, August 23, 2007 12:56 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] GD vs AGG performance...
> 
> Perhaps it's too early to discuss performance differences, but I was
> curious
> if the current AGG rendering speed is what to expect.
> 
> Looking at a few of my mapfiles, AGG is aprox 5 times slower than GD on
> MS5
> (with MS4 GD just a hair faster than MS5 GD).
> 
> The maps look great, but after spending a lot of time getting maps below
> 100ms, it's hurts to see them over a second again :-(  Just want my cake
> and
> get to eat it too :-)
> 
> Thanks,
> 
> John
> -- 
> View this message in context:
> http://www.nabble.com/GD-vs-AGG-performance...-tf4319265.html#a12299688
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> 
> 

-- 
View this message in context: http://www.nabble.com/GD-vs-AGG-performance...-tf4319265.html#a12300775
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list