<HTML>
<HEAD>
<TITLE>Re: [Benchmarking] Mapserver Shapefile Results - Poor performance underLoad</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>A msdebug example of a long request<BR>
<BR>
[Mon Oct 19 07:01:22 2009].493983 CGI Request 1 on process 10296<BR>
[Mon Oct 19 07:01:31 2009].951715 msDrawMap(): Layer 1 (roads-merged), 9.450s<BR>
[Mon Oct 19 07:01:31 2009].951777 msDrawMap(): Drawing Label Cache, 0.000s<BR>
[Mon Oct 19 07:01:31 2009].951795 msDrawMap() total time: 9.458s<BR>
[Mon Oct 19 07:01:45 2009].938752 msSaveImage() total time: 13.987s<BR>
[Mon Oct 19 07:01:45 2009].939072 mapserv request processing time (loadmap not incl.): 23.445s<BR>
<BR>
<BR>
And a more normal example<BR>
<BR>
[Mon Oct 19 07:01:45 2009].775593 CGI Request 1 on process 10688<BR>
[Mon Oct 19 07:01:45 2009].813387 msDrawMap(): Layer 1 (roads-merged), 0.030s<BR>
[Mon Oct 19 07:01:45 2009].813446 msDrawMap(): Drawing Label Cache, 0.000s<BR>
[Mon Oct 19 07:01:45 2009].813463 msDrawMap() total time: 0.038s<BR>
[Mon Oct 19 07:01:46 2009].98810 msSaveImage() total time: 0.285s<BR>
[Mon Oct 19 07:01:46 2009].99123 mapserv request processing time (loadmap not incl.): 0.324s<BR>
<BR>
<BR>
<BR>
On 10/19/09 8:27 PM, "Michael Smith" <<a href="Michael.Smith@usace.army.mil">Michael.Smith@usace.army.mil</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Frank,<BR>
<BR>
Daniel, Jeff and I are seeing long render times (at least as far as Jmeter is seeing) when running Mapserver against shapefiles under load. We are not seeing this under oracle, postgis, or even sde. <BR>
<BR>
You can see it in the numbers listed below. Once we get above a certain load level, you see the much larger max times in the results. We can’t seem to figure whats causing it. Especially when oracle and sde are reporting better numbers. <BR>
<BR>
We are seeing similar values for 5.4 and 5.6b3 and in the large shapefile as well as the tiled shapefiles. <BR>
<BR>
Any ideas?<BR>
<BR>
Mike<BR>
<BR>
--------------------------------------------------<BR>
<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>********<BR>
RUN 2<BR>
********<BR>
Created the tree successfully using mapserver/vector/shp_edges_merge.jmx<BR>
Starting the test @ Mon Oct 19 01:36:27 EDT 2009 (1255930587831)<BR>
Waiting for possible shutdown message on port 4445<BR>
Generate Summary Results + 5 in 1.1s = 4.7/s Avg: 205 Min: 178 Max: 233 Err: 0 (0.00%)<BR>
Generate Summary Results + 54 in 10.0s = 5.4/s Avg: 182 Min: 128 Max: 275 Err: 0 (0.00%)<BR>
Generate Summary Results = 59 in 11.1s = 5.3/s Avg: 184 Min: 128 Max: 275 Err: 0 (0.00%)<BR>
Generate Summary Results + 48 in 10.0s = 4.8/s Avg: 202 Min: 135 Max: 352 Err: 0 (0.00%)<BR>
Generate Summary Results = 107 in 21.0s = 5.1/s Avg: 192 Min: 128 Max: 352 Err: 0 (0.00%)<BR>
Generate Summary Results + 121 in 10.9s = 11.1/s Avg: 817 Min: 250 Max: 7501 Err: 0 (0.00%)<BR>
Generate Summary Results = 228 in 31.1s = 7.3/s Avg: 524 Min: 128 Max: 7501 Err: 0 (0.00%)<BR>
Generate Summary Results + 109 in 11.8s = 9.3/s Avg: 845 Min: 138 Max: 4554 Err: 0 (0.00%)<BR>
Generate Summary Results = 337 in 41.1s = 8.2/s Avg: 628 Min: 128 Max: 7501 Err: 0 (0.00%)<BR>
Generate Summary Results + 125 in 13.5s = 9.2/s Avg: 1458 Min: 451 Max: 4513 Err: 0 (0.00%)<BR>
Generate Summary Results = 462 in 51.1s = 9.0/s Avg: 852 Min: 128 Max: 7501 Err: 0 (0.00%)<BR>
Generate Summary Results + 118 in 18.5s = 6.4/s Avg: 1522 Min: 275 Max: 9620 Err: 0 (0.00%)<BR>
Generate Summary Results = 580 in 61.1s = 9.5/s Avg: 989 Min: 128 Max: 9620 Err: 0 (0.00%)<BR>
Generate Summary Results + 121 in 20.7s = 5.8/s Avg: 1371 Min: 173 Max: 16319 Err: 0 (0.00%)<BR>
Generate Summary Results = 701 in 71.5s = 9.8/s Avg: 1055 Min: 128 Max: 16319 Err: 0 (0.00%)<BR>
Generate Summary Results + 112 in 9.9s = 11.4/s Avg: 2446 Min: 541 Max: 5695 Err: 0 (0.00%)<BR>
Generate Summary Results = 813 in 81.1s = 10.0/s Avg: 1246 Min: 128 Max: 16319 Err: 0 (0.00%)<BR>
Generate Summary Results + 119 in 18.8s = 6.3/s Avg: 2852 Min: 1219 Max: 16362 Err: 0 (0.00%)<BR>
Generate Summary Results = 932 in 91.1s = 10.2/s Avg: 1451 Min: 128 Max: 16362 Err: 0 (0.00%)<BR>
Generate Summary Results + 123 in 28.3s = 4.4/s Avg: 2781 Min: 459 Max: 24337 Err: 0 (0.00%)<BR>
Generate Summary Results = 1055 in 101.2s = 10.4/s Avg: 1606 Min: 128 Max: 24337 Err: 0 (0.00%)<BR>
Generate Summary Results + 121 in 38.9s = 3.1/s Avg: 2694 Min: 270 Max: 29587 Err: 0 (0.00%)<BR>
Generate Summary Results = 1176 in 111.1s = 10.6/s Avg: 1718 Min: 128 Max: 29587 Err: 0 (0.00%)<BR>
Generate Summary Results + 126 in 33.8s = 3.7/s Avg: 2604 Min: 239 Max: 33130 Err: 0 (0.00%)<BR>
Generate Summary Results = 1302 in 121.1s = 10.8/s Avg: 1804 Min: 128 Max: 33130 Err: 0 (0.00%)<BR>
Label Count Avg Min Max Errors Throughput<BR>
1 100 187 128 279 0 5.3<BR>
10 200 725 138 7501 0 11.8<BR>
20 400 1438 173 16319 0 11.9<BR>
40 618 2638 230 33130 0 12.1<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Benchmarking mailing list<BR>
<a href="Benchmarking@lists.osgeo.org">Benchmarking@lists.osgeo.org</a><BR>
<a href="http://lists.osgeo.org/mailman/listinfo/benchmarking">http://lists.osgeo.org/mailman/listinfo/benchmarking</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>