[Mapserver-users] Mapserver and Apache performance

Ed McNierney ed at topozone.com
Mon Mar 8 13:36:37 EST 2004


Improved it by 3-4 seconds compared to what?  What was the display speed
before and after the change?

Please describe the disk subsystem you're using.  Also, are you using
MapServer in mode=browse (template-processing) mode or mode=map?  The
first will require writing temporary files, which can also be a
bottleneck.

How large an area does each map display show?  If you're trying to draw
most or all of your data on a given map request, indexing won't help
much; you will need to organize your data better.

Expecting optimized performance in a few days is foolish, especially
with a product that no one if your firm seems particularly familiar
with.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: kallwn [mailto:kallwn at icircus.net] 
Sent: Monday, March 08, 2004 1:04 PM
To: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Mapserver and Apache performance

I'm using 5 shapefiles for each map. Almost all of them are points and
under 100 KB and cover at the most 7 states in the US. Of the remaining
2 one is a shapefile of polygons of US urban areas about 5MB in size and
the other is a file of lines about 9MB consisting of interstates and
other limited access highways. I've created a quadtree index for each of
them as suggested by Bart and that has improved loading time by about
3-4 seconds but I'm still getting complaints about  the load time. I've
thought about reducing the size of the 2 large files so they would cover
just the extents the maps are displaying but that turned out be easier
said than done due the area each map cover.


----- Original Message -----
From: "Ed McNierney" <ed at topozone.com>
To: "kallwn" <kallwn at icircus.net>; <mapserver-users at lists.gis.umn.edu>
Sent: Sunday, March 07, 2004 10:33 AM
Subject: RE: [Mapserver-users] Mapserver and Apache performance


You need to tell us a bit more about what it is you're doing that is
slow.  For example, if you have an enormous shapefile and you're trying
to draw the whole thing in one output map, that might take a while and
produce an illegible map.

I don't think playing with Apache settings will do you any good unless
you understand the problem; they're very likely to be irrelevant.

Please give us as much detail as you can about the nature, size, and
number of the shapefiles you're using and the map image you're
requesting.  Does the performance change as you zoom in or out?

- Ed



Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: kallwn [mailto:kallwn at icircus.net]
Sent: Saturday, March 06, 2004 4:11 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Mapserver and Apache performance

I was given a project this week to have ready by Monday. To accomplish
this I had to install Mapserver and PHP from scratch and since no one
really had much experience using either one under IIS I went with the
MS4W distribution from maptools.org. Well it is now up and running but
as one person had described it as "dog slow". This running on a Micron
server with 4 Xenon 500MHz processors and about 3GB of memory (along
with MS SQL Server and VS.
NET). It is using shape files for it layers with no databases access
involved. I'm going to add some performance improvements to Apache such
as changing the KeepAlive settings. However I'm not sure how well this
will work. Does anyone have any suggestions?


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the mapserver-users mailing list