That's a good point, thanks. But from a User Experience point of view - getting lots of tiles returned in 2's within milliseconds is better than waiting 10 seconds and then getting a whole bunch of tiles which, once generated, the user has a better experience panning around - until they reach another new area to render tiles.<div>
<br></div><div>The experience is rather like WMS vs TMS where you frequently see a blank map area in WMS. Bearing in mind I am using NUM_THREADS = 32 which means there are more processors to deal with the higher number of Metatile(2) requests.</div>
<div><br></div><div>Jason<br><div><br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 2:56 PM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div class="im"><br>
<br>
On 01/12/12 14:32, Jason Lee wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am focusing and playing around with the METATILE parameter and get<br>
performance of 1 tile request :-<br>
<br>
METATILE(16) - 10 secs<br>
METATILE(8) - 3.5 secs<br>
METATILE(4) - 1.5 secs<br>
METATILE(2) - 0.6 secs<br>
</blockquote>
<br></div>
Maybe you are misunderstanding what this means. This means effectively<br>
<br>
METATILE(16) - 10 secs - 256 tiles - 0.039 sec per tile<br>
METATILE(8) - 3.5 secs -  64 tiles - 0.054 sec per tile<br>
METATILE(4) - 1.5 secs -  16 tiles - 0.094 sec per tile<br>
METATILE(2) - 0.6 secs -   4 tiles - 0.150 sec per tile<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So it seems the best performance for rendering a NEW TILE is to use the<br>
minimum metatile size of 2 (default is 8).<br>
</blockquote>
<br></div>
This is true if you want to render *one tile only*. If however you have an user behind an OpenLayers client who is likely to requires several neighbouring tiles, or if you intend to render a large area anyway, then the larger METATILE numbers give you much better performance.<br>

<br>
Bye<span class="HOEnZb"><font color="#888888"><br>
Frederik</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.<u></u>org/listinfo/dev</a><br>
</div></div></blockquote></div><br></div></div>