<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi all,<br>
      <br>
      I gave the presentation in Bonn - I've uploaded the slides to <a
href="http://www.slideshare.net/CompassInformatics/stress-testing-and-analysing-mapserver-performance">http://www.slideshare.net/CompassInformatics/stress-testing-and-analysing-mapserver-performance
      </a><br>
      <br>
      I was testing performance for my own use case, to see if moving to
      Linux would give our system a performance boost. All our data
      comes from MS SQL Server, and using the FreeTDS driver on Linux
      compared to the native MSSQL driver on Windows appears to cause
      our setup to run slower overall on Linux. <br>
      <br>
      There should be no conclusion that Windows is faster than Linux
      for other data sources, however it does appear that there is no
      huge difference between the 2 operating systems that there
      appeared to be several years ago (maybe due to improvements in the
      MSVC runtimes). <br>
      <br>
      I'd recommend people to test their own setups and data, as any
      generic conclusions are almost impossible to make. I found the
      Locust load testing tool to be easy to work with as a Python
      developer. A sample task set can be seen at <a
href="https://gist.github.com/geographika/55b8f4c6ae721ce8f7986c3da790bcf6">https://gist.github.com/geographika/55b8f4c6ae721ce8f7986c3da790bcf6</a><br>
      <br>
      Regards,<br>
      <br>
      Seth<br>
      <br>
      On 05/10/2016 20:29, Märt Reose wrote:<br>
    </div>
    <blockquote
cite="mid:2841D7977834174EBD3BCC102C914FD50116A3AEC2@EX-MB1.meie.politsei.ee"
      type="cite">
      <pre wrap="">Age old battle of windows vs linux...

That presentation was really good in most aspects. I was there and thats where I found about locust. Thumbs up!

Though, it was really not mapserver vs linux, more like IIS vs Apache.

And yes, Alexandre is most correct, so much is about configuration.

Quick share of my test about 3 years ago. Do not have original data but some presentation had snippets of it.
Requests are taken from real access logs. Always the same combo of different extents and layers. Flushing cashes and restarting systems between tests etc...

Apache (original setup without much tuning) vs nginx with unix sockets and some other tunings.

Avg (46 requests per second):
Apache: 147ms
Nginx: 96ms

Avg (73 requests per second): 
A: 1400ms
N: 102ms

In the end, use what you are comfortable with. Remember that every change must be tested and tested again.


Cheers!
Märt


-----Original Message-----
From: mapserver-users [<a class="moz-txt-link-freetext" href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Jeff McKenna
Sent: Wednesday, October 05, 2016 7:01 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
Subject: Re: [mapserver-users] Mapserver speed/load test

On 2016-10-05 12:45 PM, Leroux, Alexandre (EC) wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi all,

On this topic, I remember seeing this FOSS4G 2016 presentation named
2016 Stress Testing and Analysing MapServer Performance 
<a class="moz-txt-link-rfc2396E" href="http://ftp5.gwdg.de/pub/misc/openstreetmap/FOSS4G-2016/foss4g-2016-1107-stress_testing_and_analysing_mapserver_performance-hd.mp4"><http://ftp5.gwdg.de/pub/misc/openstreetmap/FOSS4G-2016/foss4g-2016-11
07-stress_testing_and_analysing_mapserver_performance-hd.mp4></a>
(<a class="moz-txt-link-freetext" href="http://ftp5.gwdg.de/pub/misc/openstreetmap/FOSS4G-2016/foss4g-2016-11">http://ftp5.gwdg.de/pub/misc/openstreetmap/FOSS4G-2016/foss4g-2016-11</a>
07-stress_testing_and_analysing_mapserver_performance-hd.mp4
). Surprisingly, in this speaker's experience, MapServer has been much 
faster on Windows than on Linux, see his talk / slides that begin 
slightly after 15:20. I'm really no expert on the topic, but maybe 
this info can serve in this discussion (of course, configuration/fine 
tuning is probably crucial to performances)?

</pre>
      </blockquote>
      <pre wrap="">
Yes thanks for mentioning that presentation Alex.  I also confirmed with Seth (the presenter) that they run MS4W on their public-facing servers.

Thank you to Seth for sharing those results!

-jeff


--
Jeff McKenna
Developers of MS4W
<a class="moz-txt-link-freetext" href="http://www.gatewaygeomatics.com/">http://www.gatewaygeomatics.com/</a>






_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>