On May 11, 2010, at 7:58 AM, Valentin Raduti wrote:

> Hello!
> 
> I've set up mapnik tile generation for the Romanian maps (level 17, bbox 
> 19.5,43.2,30,48.6 /4326) on 6 PCs (roughly 2GHz Dual each) running Windows XP.

Cool, sounds fun. How are you dividing the jobs?

> The empty tiles outside the relevant / drawn area are quite fast, as 
> expected, but as soon as it gets into the relevant areas, the empty tiles 
> slow down to a rather suspicious 15-20s/tile. Is that normal?

That seems oddly slow. But in general it makes sense that even for tiles that 
end up with little data, if they fall within the bounds of many layers, more 
time will be required to process those layers. But I'd guess not more than a 
few seconds max.

Hint: make sure that indexes are built on your datasources. For shapefiles that 
means running the shapeindex tool on them, and for databases means running 
Vacuum Analyze/Full.

Shapefile indexes I think are platform dependent, so re-build them on which 
ever platform you are deploying on.

If things are still slow then please post more info on what your data and style 
are like.

> Would tile generation work better on Linux?

Likely yes, but depends on your generation method. For example, the 
generate_tiles.py script that many use and modify runs multi-threaded and this 
allows much faster generation. But the threading has been reported not to work 
(though it is unclear what the problem is) on windows with Python 2.5.

> (our Ubuntu server is about finished with level 16, we ran into the 50Million 
> inodes limitation :D - so comparatively it worked faster).

So, what tile caching scheme did you use?

> 
> I've seen the suggestions for using meta tiles (Artem) and mod_tile.

Yes, both are good. Serving tiles and only caching on demand is way (if you can 
scale it) nicer that pre-caching if you need to get down to zoom 17.

> The latter is out of the question, since level 17 is optional for us anyway, 
> so we are not going to set up an Apache server just for that.

Whoa? You think rendering millions of tiles is easier than setting up apache? 
Apache setup should not take more than a few hours at most.

For the impatient (like me) there is TileLite, so you can get rendering tiles 
without apache (before setting up mod_tile).

> Artem's suggestion might work, but it seems like a lot of hassle.

Maybe you could explain a bit more what is a hassle?

> 
> Thanks in advance.
> 
> Best regards,
> 
> Valentin Raduti
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to