[mapguide-users] Re: Performance of MapGuide on a Virtual Server

Trevor Wekel trevor_wekel at otxsystems.com
Thu Jul 1 08:43:14 EDT 2010


Hello Oshan,

What is the ping time to the virtual machine?  MapGuide can make somewhere between 50 and 150 HTTP requests during startup of the Sheboygan map.  A 100ms ping time could give you 15 seconds of wire delay.  At 200ms, it could be 30 seconds of wire delay.

Firefox Firebug and Fiddler Tool should give you more information on #of requests and request timing.

Regards,
Trevor

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of oshan
Sent: July 1, 2010 1:49 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Re: Performance of MapGuide on a Virtual Server


Thanks Jason and Zac for you suggestions I tried these out and here is the
outcome:

Mg Version: V 2.0.2
Datasource Type:  SHP, 10 DataSources
Number of Layer: 10

>> Are you applying appropriate display ranges for the data? 
-------------------------------------------------------------------
Yeah I do turn off layers depending on the scale. Like initially the regions
and localities (sub divisions, for 2 regions) are visible. after zooming
down to a certain scale the region and localities end and the parcels layer
begins. I am assuming this is what you mean by appropriate display ranges?
All the other layer are initially not visible. 


>> What do you mean by close?
----------------------------------------
The server is housed at the university I'm working in. So I would say about
1K physical distance!


>> Have you done any profiling on the server
---------------------------------------
I'm not really familiar with this. I don't think we have. I'll have to ask
the IT people for this don't know how long that will take.


>>What's the throughput of the network connection? 
------------------------------------------------------------
I downloaded a 80MB bin file from the server using SSH and it downloaded in
4m04s with a speed of 347KB/s. This is the slowest I have experienced.
Sometimes downloads goes in the range of 1000 - 3000KB/s! I think it gets
slower towards evening.

Its not downloading that seams to be the problem. I tested the site with
firebug. The total initial download reported there is about 400KB! But there
seams to be a lot of waiting. I have read in this forum that initially
MapGuide need to setup things like FDO Connection, caches etc... 

I have also modified the serverconfig.ini and increased the
dataConnectionTimeOut to 86400

Even then if I load the page after a couple of hours later the initial load
still takes a while but if I refresh the page immediately after the initial
load the page loads quickly in about 10s!

And Zac I tried the Sheboygan sample, it also takes about 1 Min to make a
cold start!


Other Settings in serverconfig.ini:
============================================================================

JoinQueryBatchSize = 1000
DataConnectionPoolSize = 200
DataCacheSize = 1000
CacheSize = 600
DataConnectionTimeout = 86400 
DataConnectionPoolEnabled = 1
CacheTimeLimit = 86400 
DataConnectionPoolExcludedProviders = 0 
DataConnectionPoolSizeCustom =
OSGeo.Gdal:1,Autodesk.Raster:1,OSGeo.SHP:20,OSGeo.SDF:20
DataConnectionTimerInterval = 10800 
CacheTimerInterval = 3600

============================================================================


Thanks
Oshan

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Performance-of-MapGuide-on-a-Virtual-Server-tp5234442p5242395.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list