It's still using MapServer, so changing layer type shouldn't make a difference.  Tuning your MapServer by creating indexing, scale dependent layering, generalizing, etc. will be the things that will make your MapServer faster.  Alternatively (or in addition) you could look into a tiling engine like TileCache to prerender tiles. 
<br><br><div class="gmail_quote">On Dec 28, 2007 10:47 AM, Maria Panagou &lt;<a href="mailto:snowdrop@ath.forthnet.gr">snowdrop@ath.forthnet.gr</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I&#39;ve declared a wms layer using the following syntax, which works fine.<br><br> &nbsp;var quakes = new OpenLayers.Layer.WMS( &quot;Earthquakes&quot;,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;<a href="http://127.0.0.1:80/cgi-bin/mapserv.exe?" target="_blank">
http://127.0.0.1:80/cgi-bin/mapserv.exe?</a>&quot;,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ map: &#39;../htdocs/mpanagou/Quakes original.map&#39;,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;transparent:&#39;true&#39;,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;layers: &#39;Quakes&#39;,
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#39;format&#39;:&#39;png&#39;},<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{&#39;reproject&#39;: true});<br><br>I want to test this, using Mapserver layer instead so I replace new<br>OpenLayers.Layer.WMS with new 
OpenLayers.Layer.Mapserver, but the map won&#39;t<br>show at all. Do I need to use different parameters for the mapserver layer?<br><br>The reason I want to test that is that WMS layer is too slow. I tried the<br>untiled or singletile:&#39;true&#39; options but I see no difference.
<br><font color="#888888"><br>--<br>View this message in context: <a href="http://www.nabble.com/Mapserver-vs-WMS.layer-tp14528042p14528042.html" target="_blank">http://www.nabble.com/Mapserver-vs-WMS.layer-tp14528042p14528042.html
</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">
Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br></font></blockquote></div><br><br clear="all"><br>-- <br>************************************
<br>David William Bitner