Re: [mapguide-users] mgcooker : use more cpu resource ?

2015-10-05 Thread Lisa Weber
Remy,

 

I have had similar experiences. I have tested the same tile cache process using 
MgCooker on two servers and a desktop and found it difficult to sustain a CPU 
usage above 27%. When I greatly increased the number of concurrent requests 
(over 10) that lifted the CPU to 34%, but a lot of tiles began to file, and the 
RAM usage maxxed out.

I found the only way to avoid failed tiles was to reduce the number of 
concurrent requests to 5 or less. This did not speed up the process 
significantly, as I generated the tiles a number of times using different 
numbers of concurrent requests.

The fastest configuration was the machine with the most RAM available which was 
the desktop, even with concurrent requests set to 1. The servers ran much 
slower, even though they were both multi-threaded.

 

 

 

Lisa

 

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Rémy Gourrat
Sent: Saturday, 3 October 2015 7:58 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] mgcooker : use more cpu resource ?

 

Thanks for your help.

 

I tried 

-  3 threading concurrent request, CPU increase to 75%.

 

But CPU vary between 8% and 41%

 

But after maybe 9 tiles, mgcooker failed to render tiles and I have this 
message  :

 

Nom de l’application défaillante w3wp.exe, version : 7.5.7601.17514, horodatage 
: 0x4ce7afa2

Nom du module défaillant : MgMapGuideCommon.dll_unloaded, version : 0.0.0.0, 
horodatage : 0x529df5b5

Code d’exception : 0xc005

Décalage d’erreur : 0x02da407d

ID du processus défaillant : 0x1fe0

Heure de début de l’application défaillante : 0x01d0fdaea9720738

Chemin d’accès de l’application défaillante : 
c:\windows\system32\inetsrv\w3wp.exe

Chemin d’accès du module défaillant: MgMapGuideCommon.dll

ID de rapport : 41de8723-69a2-11e5-9391-00155d2dc611

 

I tried 3 times  and same result.

-  2 threading concurrent request, CPU increase to 41%.

 

But CPU vary between 14% and 41%

 

Very strange too, total used memory display in task manager  increase very high 
(7.9 Go for 8Go) but when I check in resource monitor the memory addition 
process is not equal to the indication of task manager.

 

Mgserver.exe used only 360 Mo.

 

With resource monitor I see this :

o   Reserved material : 1 Mo

o   Used : 2236 Mo

o   Modified : 5000 Mo

o   Sleeped : 790 Mo

o   Free : 0 Mo

 

With Process Monitor (Procmon.exe) I see that for each tile mgserver.exe access 
to *.CS*.dll (il oose the name.

Is it normal ? it’s not a issue for performance.

 

Finally mgcooker failed to render tiles

 

On same time running, It seems that with one Thread mgcooker generate more 
tiles than with 2 or 3 trheads, because I think that with 2 or 3 treads there 
is  too much variation.

 

Thanks for ideas.

AG-Carto - Bayonne 

 

  _  

View this message in context: RE: mgcooker : use more cpu resource ? 
<http://osgeo-org.1560.x6.nabble.com/mgcooker-use-more-cpu-resource-tp5227688p5227719.html>
 
Sent from the MapGuide Users mailing list archive 
<http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html>  at 
Nabble.com.

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

Re: [mapguide-users] mgcooker : use more cpu resource ?

2015-10-03 Thread Rémy Gourrat
Thanks for your help.

I tried

-  3 threading concurrent request, CPU increase to 75%.

But CPU vary between 8% and 41%

But after maybe 9 tiles, mgcooker failed to render tiles and I have this 
message  :

Nom de l'application défaillante w3wp.exe, version : 7.5.7601.17514, horodatage 
: 0x4ce7afa2
Nom du module défaillant : MgMapGuideCommon.dll_unloaded, version : 0.0.0.0, 
horodatage : 0x529df5b5
Code d'exception : 0xc005
Décalage d'erreur : 0x02da407d
ID du processus défaillant : 0x1fe0
Heure de début de l'application défaillante : 0x01d0fdaea9720738
Chemin d'accès de l'application défaillante : 
c:\windows\system32\inetsrv\w3wp.exe
Chemin d'accès du module défaillant: MgMapGuideCommon.dll
ID de rapport : 41de8723-69a2-11e5-9391-00155d2dc611

I tried 3 times  and same result.

-  2 threading concurrent request, CPU increase to 41%.

But CPU vary between 14% and 41%

Very strange too, total used memory display in task manager  increase very high 
(7.9 Go for 8Go) but when I check in resource monitor the memory addition 
process is not equal to the indication of task manager.

Mgserver.exe used only 360 Mo.

With resource monitor I see this :

o   Reserved material : 1 Mo

o   Used : 2236 Mo

o   Modified : 5000 Mo

o   Sleeped : 790 Mo

o   Free : 0 Mo

With Process Monitor (Procmon.exe) I see that for each tile mgserver.exe access 
to *.CS*.dll (il oose the name.
Is it normal ? it's not a issue for performance.

Finally mgcooker failed to render tiles

On same time running, It seems that with one Thread mgcooker generate more 
tiles than with 2 or 3 trheads, because I think that with 2 or 3 treads there 
is  too much variation.

Thanks for ideas.




-
AG-Carto - Bayonne
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mgcooker-use-more-cpu-resource-tp5227688p5227719.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mgcooker : use more cpu resource ?

2015-10-02 Thread Martin Morrison
It is probably single threaded.  If so, one CPU is it.

Martin



From: mapguide-users-boun...@lists.osgeo.org 
[mapguide-users-boun...@lists.osgeo.org] on behalf of Rémy Gourrat 
[rgour...@ag-carto.fr]
Sent: Friday, October 02, 2015 7:26 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] mgcooker : use more cpu resource ?

Hi,

When mgcooker run, only 25% of CPU is using by mgserver.exe 2.5.2, I have 4 cpu.

If I set affinity cpu on only 1 core it’s  same thing 25%, but a little slower 
to generate tile.

To accelerate tile process, how can I increase this ?

-  Change serverconfig.ini ?

-  Duplicate mapagent ?

-  Else ?

-
Thanks for your help

Rémy
AG-Carto - Bayonne


View this message in context: mgcooker : use more cpu resource 
?
Sent from the MapGuide Users mailing list 
archive at 
Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] mgcooker : use more cpu resource ?

2015-10-02 Thread Jackie Ng
There's a thread count setting in the MgCooker UI (that should also be saved
if you're generating an executable script). Does that not multi-thread the
tile generation process?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mgcooker-use-more-cpu-resource-tp5227688p5227691.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users