[mapserver-dev] mapserver performance windows/linux

JUDD.CHRISTOPHER JUDD.CHRISTOPHER at flsenate.gov
Thu Sep 17 14:28:34 EDT 2009


I think I have been able to narrow this issue down.  It appears that
setting ANGLE AUTO impacts performance in linux.  On the exact same
hardware I find this performance difference to be between 2x-3x slower
for linux.  I have benchmarked this with Ubuntu Karmic, but I have also
tried this on numerous versions of Debian-based distros.   Here is the
detail of the package that I am using:
http://ns2.canonical.com/ko/karmic/web/php5-mapscript

 

Here is an example of this problem that can be deployed on windows and
linux (with modifications to path names).
http://c0342891.cdn.cloudfiles.rackspacecloud.com/test.tar 

 

Could this be a bug on the Linux side?

 

Thanks,
Chris

 

 

LABEL

                                                                TYPE
truetype

 
ANTIALIAS true

                                                                FONT
tahoma

                                                                SIZE 6

                                                                POSITION
cc

                                                                ANGLE
AUTO

 
OUTLINECOLOR 255 255 255

                                                                 COLOR 0
0 0

 
MINDISTANCE 150

      END #end LABEL

 

 

 

 

From: JUDD.CHRISTOPHER 
Sent: Wednesday, September 16, 2009 1:40 PM
To: 'Dan Little'; mapserver-dev at lists.osgeo.org
Subject: RE: [mapserver-dev] mapserver performance windows/linux

 

Hi Dan,

 

Its executing the same code on Windows and Linux.   I assume that would
be the same.

 

-Chris

 

From: Dan Little [mailto:danlittle at yahoo.com] 
Sent: Wednesday, September 16, 2009 1:36 PM
To: JUDD.CHRISTOPHER; mapserver-dev at lists.osgeo.org
Subject: Re: [mapserver-dev] mapserver performance windows/linux

 

Are you using the same label rendering engine on both platforms (GD
True-type or AGG)?

	 

	From: JUDD.CHRISTOPHER <JUDD.CHRISTOPHER at flsenate.gov>
	To: mapserver-dev at lists.osgeo.org
	Sent: Tuesday, September 15, 2009 11:04:59 AM
	Subject: [mapserver-dev] mapserver performance windows/linux

	We have migrated our PHP Mapscript application from Windows to
Linux.  Everything appeared to be working well until we starting drawing
maps that did quite a bit of label rendering.  We found linux to be over
twice as slow as Windows XP (running MS4W 2.3.1) on the same hardware
when drawing labels.  If I turn the labeling off, the map performance
exceeds that of windows.  I am using the same TrueType fonts on both
systems.  

	 

	I have tried a number of different debian based distributions
including: Debian Lenny, Xubuntu and Ubuntu Server with different
versions of PHP Mapscript including 5.0.3, 5.2 and 5.4.  All exhibited
the same results.  

	 

	Has anyone ran into this problem?  Is there something
significantly different between the way Windows and Linux process fonts
that could explain this?  

	 

	Thanks, 

	Chris

	 

	 

	 

	 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090917/20c53fd9/attachment.html


More information about the mapserver-dev mailing list