Hi,
"We suspected that maybe this is related to server spec or postgresql.
Firstly, We change the spec of the server to test, and the result is
the same: the different lat/lng, and the different speed. But when
high CPU is used, all of rendering speed become faster. "
What does this mean? When you run it on a different server it renders faster?
Thanks for your reply.
We test in two servers:
one is low performance
lng between 135.5 and 135.85, it takes 10 minutes,
lng between 135.85 and 136, it takes 7.5 hours.
and the other is high performance
lng between 135.5 and 135.85, it takes 4 minutes,
lng between 135.85 and 136, it takes 3 hours.
As a resultm the high performace server renders faster, but the rending
speed of lng between 135.85 and 136 is slow, too.
Best regards
Kaku
(11/02/23 19:27), Roel Vanhout wrote:
"We suspected that maybe this is related to server spec or postgresql.
Firstly, We change the spec of the server to test, and the result is
the same: the different lat/lng, and the different speed. But when
high CPU is used, all of rendering speed become faster. "
What does this mean? When you run it on a different server it renders faster?
2011/2/23 Kaku Shou<[email protected]>:
Hi,
My name is Kaku from Rainbow. Currently, I am trying to render osm data of
Japan, and encounter a problem that the speed is very slow when rendering
some lat/lng.
For exmaple, if we set bbox = (135.5,34, 136,34.5), and zoom level = 16, the
rendering speed of folder between 54435 (lng = 135.5) and 57498(lng =
135.85) is very fast, and it takes 4 minutes to render; but the rendering
speed of folder between 57499 (lng = 135.855) and 57526 (lng = 136) is very
slow, and it takes 3 hour to render.
We suspected that maybe this is related to server spec or postgresql.
Firstly, We change the spec of the server to test, and the result is the
same: the different lat/lng, and the different speed. But when high CPU is
used, all of rendering speed become faster. Secondly, we check the log of
postgresql, the query is executed as fast as it could be. So it doesn't look
like this is related to either server spec or postgresql.
Could anyone give me any advice to resolve this problem to accelerate the
rendering speed. Below are our server spec:
Server spec:
CPU : 64bit, 4 Cores
Memory : 2G
OS : Ubuntu 10.04
Installed packages
python-cairo libmapnik0.7 mapnik-utils python-mapnik
Postgres 8.4
PostGIS 1.4
Mapnik
src : http://svn.mapnik.org/tags/release-0.7.1/
Rendering OpenStreetMap with Mapnik
src : http://svn.openstreetmap.org/applications/rendering/mapnik/
rendering srcript : generate_tiles_multiprocess.py
_______________________________________________
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