<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><P>Very good.</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Frank Warmerdam &lt;warmerdam@pobox.com&gt;<BR>To: J.J. Schlafley &lt;jjschlafley@yahoo.com&gt;<BR>Cc: mapserver-users@lists.osgeo.org<BR>Sent: Tuesday, May 13, 2008 11:07:13 AM<BR>Subject: Re: [mapserver-users] Does MS4W multi-thread?<BR><BR>J.J. Schlafley wrote:<BR>&gt; Hi all,<BR>&gt;&nbsp; <BR>&gt; Will the mapserver CGI program multi-thread on an MS4W installation.&nbsp; I <BR>&gt; noticed many "mapserver.exe" image names in the task manager on my <BR>&gt; server.&nbsp; Assuming each image name corresponds with each request or <BR>&gt; thread, will the OS delegate the processes to other CPU cores if <BR>&gt; available?&nbsp; I currently only have a single core Xeon, but am wondering <BR>&gt; if a multi-core CPU could be beneficial with Apache and Mapserver (MS4W).<BR><BR>J.J.<BR><BR>Someone else already responded, but I just wanted
 to say this really simply<BR>and clearly for everyone.<BR><BR>MapServer is a cgi, so Apache (or IIS) is creating a mapserver process for<BR>each request that comes in.&nbsp; This is good for multi-processor/multi-core<BR>machines because when several mapserver requests are running at once, they<BR>will normally be distributed across the available cores by the operating<BR>system.<BR><BR>So, by architectural design MapServer cgi takes advantage of multi-core<BR>systems well for non-trivial load situations.<BR><BR>What MapServer doesn't do is try to distribute a single request over multiple<BR>cores.&nbsp; To do so requires a great deal more complication in the core of<BR>mapserver, and isn't - to my mind - justified.<BR><BR>Best regards,<BR>-- <BR>---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up&nbsp; | Frank Warmerdam, <A href="mailto:warmerdam@pobox.com"
 ymailto="mailto:warmerdam@pobox.com">warmerdam@pobox.com</A><BR>light and sound - activate the windows | <A href="http://pobox.com/~warmerdam" target=_blank>http://pobox.com/~warmerdam</A><BR>and watch the world go round - Rush&nbsp; &nbsp; | President OSGeo, <A href="http://osgeo.org/" target=_blank>http://osgeo.org</A><BR><BR></DIV></DIV></div><br>



      </body></html>