<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR>
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV dir=ltr align=left><SPAN class=019313015-12122008><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=019313015-12122008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=019313015-12122008><FONT face=Arial 
color=#0000ff size=2>Thanks, I will try Fast CGI.&nbsp; Are there some simple 
enough document for a ms4w users about how to turn the system to use Fast 
CGI?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=019313015-12122008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=019313015-12122008><FONT face=Arial 
color=#0000ff size=2>-Jukka-</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>Lähettäjä:</B> Marcelo Oliveira 
  [mailto:moliveira@GEOSTATS.com] <BR><B>Lähetetty:</B> 12. joulukuuta 2008 
  17:05<BR><B>Vastaanottaja:</B> Rahkonen Jukka; 
  mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> RE: [mapserver-users] How to 
  make MapServer WMS super fast?<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Try 
  using Fast CGI, it should improve your latency problem you are seeing.&nbsp; 
  It is also possible that using other raster formats could 
  help.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Good 
  luck! M<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <P class=MsoNormal><SPAN lang=PT-BR 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">--------------<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=PT-BR 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Marcelo 
  Simas Oliveira<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=PT-BR 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">GeoStats 
  LP<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=PT-BR 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">530 
  Means St., Ste. 310<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Atlanta, 
  Georgia 30318<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">(404) 
  588-1004<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">www.geostats.com<o:p></o:p></SPAN></P></DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN 
  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Tahoma','sans-serif'"> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Rahkonen 
  Jukka<BR><B>Sent:</B> Friday, December 12, 2008 10:01 AM<BR><B>To:</B> 
  mapserver-users@lists.osgeo.org<BR><B>Subject:</B> [mapserver-users] How to 
  make MapServer WMS super fast?<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p>&nbsp;</o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Hi,</SPAN><o:p></o:p></P>
  <P class=MsoNormal>&nbsp;<o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Are 
  there any&nbsp;effective tricks for&nbsp;making MapServer to Top-Fuel 
  class?&nbsp;&nbsp;We have now a typical ms4w installation on a rather good 
  server platform with SCSI&nbsp;drives and 2 four-core processors running on 
  Windows 2003 server.&nbsp;Our images are tiled, uncompressed geotiffs with 
  overviews, vector sample data set is shapefile with shptree index.&nbsp; I 
  have a shortened epsg file and my mapfile is extra short. Bandwith is not the 
  limit. We are getting out now about 450 orthoimage pictures per 
  minute&nbsp;(size 500 by 500 pixels) and 550 pictures from the vector layer in 
  png24 image format.&nbsp; I consider that rather good, but we are required to 
  reach 20 images per second, thus 1200 images per minute or 0.05 seconds per 
  image.&nbsp; I wonder if anybody has tuned MapServer that 
  far.</SPAN><o:p></o:p></P>
  <P class=MsoNormal>&nbsp;<o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">I am 
  willing to try however exotic solutions to reach the 20 WMS output 
  images/second goal if somebody could suggest me what to try next.&nbsp; In our 
  system there seems to be about 0.1 second ballast with WMS getMap requests and 
  I cannot get any faster response even if I try with on empty data layer with 
  nothing to render.&nbsp; Have anybody tried to keep mapfile,&nbsp; epsg-file 
  or even tileindex&nbsp;files&nbsp;in RAM drive?&nbsp; </SPAN><o:p></o:p></P>
  <P class=MsoNormal>&nbsp;<o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Having 
  about&nbsp;20 parallel users seems to be optimal for our server and if 
  I&nbsp;drive just WMS getCapabilities request against my mapfile I can get 
  about 1300 responses per minute.&nbsp; That leads me to think that 1200 
  rendered images per minute might be possible to reach with optimal 
  set-up.</SPAN><o:p></o:p></P>
  <P class=MsoNormal>&nbsp;<o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">-Jukka 
  Rahkonen-</SPAN><o:p></o:p></P></DIV></BLOCKQUOTE></BODY></HTML>