Re: [mapserver-users] MapServer performance question - slow on different machine

2013-07-26 Thread Umberto Nicoletti
the only difference seems to be the presence of MapCache on the slower
system. Could you try removing it ?

hth,
Umberto

On Thursday, July 25, 2013, andy wrote:

 On 7/25/2013 1:56 PM, andy wrote:

 On 7/24/2013 10:59 AM, Mark Volz wrote:

 Hello,


 ·The machine is using a 6.8 out of the available 8GB of RAM

 oI think we need more RAM on the system, however I am curious as to why
 the MapServer 5 application ran fast, while MapServer 6 is slow.  Could
 IIS just behave better than Apache under low RAM situations?

 oThat being said both Apache and MapServer take a minimal amount of RAM



 I'm coming from the linux world, but I have to assume windows would do the
 same:  your os should be caching the snot out of your disk. Hopefully that
 6.8 gig of usage is for disk cache.  Any way to tell if that's the case?
  You want all of your ram used as disk cache.

 Is there a way to see how much cpu vs disk is being used?  If your cpu
 usage is high and disk io is low, then you have a huge cache and you don't
 need more ram.

 If your cpu is low and your disk io is high, then you have a tiny cache,
 and you could use more ram.

 -Andy


 __**_
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer performance question - slow on different machine

2013-07-25 Thread andy

On 7/25/2013 1:56 PM, andy wrote:

On 7/24/2013 10:59 AM, Mark Volz wrote:

Hello,


·The machine is using a 6.8 out of the available 8GB of RAM

oI think we need more RAM on the system, however I am curious as to why
the MapServer 5 application ran fast, while MapServer 6 is slow.  Could
IIS just behave better than Apache under low RAM situations?

oThat being said both Apache and MapServer take a minimal amount of RAM




I'm coming from the linux world, but I have to assume windows would do 
the same:  your os should be caching the snot out of your disk. 
Hopefully that 6.8 gig of usage is for disk cache.  Any way to tell if 
that's the case?  You want all of your ram used as disk cache.


Is there a way to see how much cpu vs disk is being used?  If your cpu 
usage is high and disk io is low, then you have a huge cache and you 
don't need more ram.


If your cpu is low and your disk io is high, then you have a tiny cache, 
and you could use more ram.


-Andy


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer performance question - slow on different machine

2013-07-24 Thread Mark Volz
Hello,



I had an old MapServer application running on a production machine.  It used 
IIS and it ran fast.  I upgraded the application on a development machine.  I 
switched over to Apache (for MapCache) and the new application ran fast on my 
development machine.  We moved the new application onto the production machine. 
 It does not run fast.



I am trying to figure out why MapServer 5 would run fast under  IIS, while 
MapServer 6 under Apache runs slow.  There are a couple possibilities, if 
anyone could confirm the following as a problem, or has a solution please let 
me know

* The machine is now running both IIS on port 80, and Apache on port 
8080.

o   I have a similar setup on another server, and this does not seem to be a 
problem at all.

* The machine is using a 6.8 out of the available 8GB of RAM

o   I think we need more RAM on the system, however I am curious as to why the 
MapServer 5 application ran fast, while MapServer 6 is slow.  Could IIS just 
behave better than Apache under low RAM situations?

o   That being said both Apache and MapServer take a minimal amount of RAM



Machine Specs:

Developer Machine

* MapServer 6.1 MS4W 3 Beta running Apache with MapCache

* 4 Core, 16 GB RAM



Production Machine

* MapServer 6.1 MS4W 3 Beta running Apache with MapCache on port 8080

* IIS is also on the machine on port 80

* 8 Core, 8 GB RAM

* At one time IIS was running MapServer 5 at a reasonable speed



Thanks for any help or ideas



Mark Volz, GISP

GIS Specialist




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users