Hello altogether, I'm going to write this in english because its important to anybody using the devserver machine (gauss). Currently we have at least two relevant projects (in terms of users) which is the Reit- und Wanderkarte (TOPO Map -> http://topo.geofabrik.de and the "All in One Garmin Map". I think that in future the processing power needs to be scheduled in a matter of project importance! Sorry guys I would like to provide a seperate Machine to any one of you, but I don't have them :( The TOPO Map does currently have insufficient resources for tile rendering. This needs to be changed! Just as an example how important or unimportant the different projects are, here are some access statistics (counted by quick and dirty shell one-liners) from March 14th to March 19th: Reit- und Wanderkarte: 2484 AIO Garmin Map: 1562 Navipowmmaps: 56 Gosmore Maps: 90 This is access from unique ip-addresses. Multiple downloads from one ip-address are counted as one. Only real downloads are counted in case of the Maps. So we have a real disproportion between processing power used and overall importance of the single projects! OSM2POWM is using rougly the same processing power as the Garmin Map build process every day while the latter has an importance which is about 25 times higher! I also think that good Garmin maps are very important for the project (AIO includes Mapper features like Openstreetbugs, Fixme etc.) and the download numbers approve this. This does not mean that I think of the others to be unimportant, but I think it should be enough to produce up to date Navipowm and Gosmore maps once a week. The trouble is mainly with data conversion tasks and bulk database imports that could be processed in a batch job like manner in future. Probably its also a problem with the current lack of some kind of batch processing scheduler (any hints for a suitable software?). Currently all these jobs are started by cron when the users thought it would be the best time to have them running. Maybee the two important projects can also get migrated to the machine which is currently not yet that busy (wms aka humboldt), but I think this would only defer the problem rather than resolving it. So what do you think? Regards Sven -- Den Rechtsstaat macht aus, dass Unschuldige wieder frei kommen (Wolfgang Schäuble) /me is giggls@ircnet, http://sven.gegg.us/ on the Web
Sven Geggus schrieb:
OSM2POWM is using rougly the same processing power as the Garmin Map build process every day while the latter has an importance which is about 25 times higher!
Ok, ich habe die cron-jobs abgeschaltet, würde gerne die noch laufende Kartenberechnung beenden lassen. Falle es ein Problem ist, dann kille ich den Prozess. Es tut mir leid, wenn ich zu viel Rechenleistung verwendet habe, aber ich dachte mit renice 19 -p $$ ionice -c 3 wäre es kein Problem. Mir ist auch aufgefallen, dass die Zeit, die für die Kartenberechnung benötigt wird, in den letzten Tagen start angestiegen ist. Gruß, Stefan
"Stefan Dettenhofer (StefanDausR)" <osm@dentro.info> wrote:
Mir ist auch aufgefallen, dass die Zeit, die für die Kartenberechnung benötigt wird, in den letzten Tagen start angestiegen ist.
Weil die Kiste komplett überlastet ist. Vielleicht stellst Du fürs erste mal auf wöchentliche Berechnung um. Gruss Sven -- "Der wichtigste Aspekt, den Sie vor der Entscheidung für ein Open Source-Betriebssystem bedenken sollten, ist, dass Sie kein Windows-Betriebssystem erhalten." (von http://www.dell.de/ubuntu) /me is giggls@ircnet, http://sven.gegg.us/ on the Web
Sven Geggus schrieb:
Weil die Kiste komplett überlastet ist.
Ich hab erstmal eingestellt, dass er nur noch einmal in der Woche komplett neu splittet. Die anderen Male nimmt der splitter das alte Splitmuster (also die areas.list) und erzeugt dadurch zirka ein Drittel weniger Last. Ich versuche mal noch ein bissel was zu optimieren und hab da noch ne Frage: Die Tiles werden vom splitter zwischendurch gzip komprimiert und auf die Platte geschrieben. Von mkgmap werden die anschließend wieder ausgepackt. An sich relativ bescheuert, aber eher auf Plattenschonung optimiert. Ich hab da irgendwo nen Patch rumliegen, der verhindert, dass der splitter das zwischendurch nochmal einpackt und da würden dann gigabyteweise osm.xml daten auf die platte geschrieben und dann wieder gelesen, was dann allerdings in meiner Vorstellung prozessorschonender wäre. Soll ich das mal probieren oder ist das die falsche Schraube zum drehen? Vielleicht fällt mir noch was anderes ein. Ach so - braucht jetzt noch jemand ein ausgepacktes europe.osm.bz2 oder bin ich der einzige? Und noch ne Frage: Wieviel Leute haben wir hier auf der Liste, die kein Deutsch verstehen? Könnte mich auch n bissel mit Englisch abmühen, wenns die entsprechenden Leute betrifft. Grüße! Christoph
On Fri, Mar 19, 2010 at 09:12:14PM +0100, Christoph Wagner wrote:
Sven Geggus schrieb:
Weil die Kiste komplett überlastet ist.
Ich hab erstmal eingestellt, dass er nur noch einmal in der Woche komplett neu splittet. Die anderen Male nimmt der splitter das alte Splitmuster (also die areas.list) und erzeugt dadurch zirka ein Drittel weniger Last.
Ich versuche mal noch ein bissel was zu optimieren und hab da noch ne Frage:
Die Tiles werden vom splitter zwischendurch gzip komprimiert und auf die Platte geschrieben. Von mkgmap werden die anschließend wieder ausgepackt. An sich relativ bescheuert, aber eher auf Plattenschonung optimiert. Ich hab da irgendwo nen Patch rumliegen, der verhindert, dass der splitter das zwischendurch nochmal einpackt und da würden dann gigabyteweise osm.xml daten auf die platte geschrieben und dann wieder gelesen, was dann allerdings in meiner Vorstellung prozessorschonender wäre. Soll ich das mal probieren oder ist das die falsche Schraube zum drehen?
Wahrscheinlich bringt das nichts, weil wir genug CPU haben, um das gzippen zu machen, aber nicht genug Platten-IO-Power zum lesen und schreiben der Daten. Allerdings verschätzt man sich leicht bei so Performance-Fragen, weil da so viele Dinge reinspielen. Idealerweise würde man beides testen, aber das müßte man auf einer sonst unbelasteten Maschine machen und die haben wir nicht. :-) Jochen -- Jochen Topf jochen@remote.org http://www.remote.org/jochen/ +49-721-388298
Hello Sven, This graph tells me that many of the CPUs are idle while Linux is waiting for something to be swapped in: http://munin.openstreetmap.de/gauss/gauss-cpu.html So it looks like we are running too many things at the same time and have too little RAM. Fortunately we can reduce the amount of RAM required by running the batch processes in serial. So instead of given each project it's own cron job, we must have one shell script that calls the batch processes one at a time. The shell script must 'time' each process and post the results in a public place. Then we see who are "good" and who need to optimize more and / or scale back. A similar idea is to give each batch process a slot (window). A fixed amount of run time (at night). But filling the slots may not be straight forward, because the user may want to processes a different part of the map each night and not all parts of the map may be the same size. Personally I don't mind scaling gosmore back a little bit. I killed it right now. But I do think Gosmore is important because the prebuilt files now covers the US and it takes time to build a user base there. (Very few OSM projects cover the US). Gosmore also supports a very extensive list of OSM tags: Everything from surveillance cameras and trees to multipolygons and turn restrictions. Regards, Nic 2010/3/19 Sven Geggus <lists@fuchsschwanzdomain.de>:
Hello altogether,
I'm going to write this in english because its important to anybody using the devserver machine (gauss).
Currently we have at least two relevant projects (in terms of users) which is the Reit- und Wanderkarte (TOPO Map -> http://topo.geofabrik.de and the "All in One Garmin Map".
I think that in future the processing power needs to be scheduled in a matter of project importance!
Sorry guys I would like to provide a seperate Machine to any one of you, but I don't have them :(
The TOPO Map does currently have insufficient resources for tile rendering. This needs to be changed!
Just as an example how important or unimportant the different projects are, here are some access statistics (counted by quick and dirty shell one-liners) from March 14th to March 19th:
Reit- und Wanderkarte: 2484 AIO Garmin Map: 1562 Navipowmmaps: 56 Gosmore Maps: 90
This is access from unique ip-addresses. Multiple downloads from one ip-address are counted as one. Only real downloads are counted in case of the Maps.
So we have a real disproportion between processing power used and overall importance of the single projects! OSM2POWM is using rougly the same processing power as the Garmin Map build process every day while the latter has an importance which is about 25 times higher!
I also think that good Garmin maps are very important for the project (AIO includes Mapper features like Openstreetbugs, Fixme etc.) and the download numbers approve this.
This does not mean that I think of the others to be unimportant, but I think it should be enough to produce up to date Navipowm and Gosmore maps once a week.
The trouble is mainly with data conversion tasks and bulk database imports that could be processed in a batch job like manner in future.
Probably its also a problem with the current lack of some kind of batch processing scheduler (any hints for a suitable software?).
Currently all these jobs are started by cron when the users thought it would be the best time to have them running.
Maybee the two important projects can also get migrated to the machine which is currently not yet that busy (wms aka humboldt), but I think this would only defer the problem rather than resolving it.
So what do you think?
Regards
Sven
-- Den Rechtsstaat macht aus, dass Unschuldige wieder frei kommen (Wolfgang Schäuble)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web _______________________________________________ Devserver mailing list Devserver@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/devserver
On Fri, Mar 19, 2010 at 10:14:04PM +0200, Nic Roets wrote:
This graph tells me that many of the CPUs are idle while Linux is waiting for something to be swapped in: http://munin.openstreetmap.de/gauss/gauss-cpu.html
So it looks like we are running too many things at the same time and have too little RAM. Fortunately we can reduce the amount of RAM required by running the batch processes in serial. So instead of given each project it's own cron job, we must have one shell script that calls the batch processes one at a time. The shell script must 'time' each process and post the results in a public place. Then we see who are "good" and who need to optimize more and / or scale back.
That sounds like a good approach. We have to take into account, though, when files appear upstream, for instance the europe extract or whatever. So maybe we need one batch script for each input file. And then a master batch script for all of them. So something like this: * master runs in a loop for each input script * each input script * checkes for new input file upstream, exists if no new file * runs all dependend batch scripts In praxis its a bit more complex, because some things should run more often than others etc. Jochen -- Jochen Topf jochen@remote.org http://www.remote.org/jochen/ +49-721-388298
Hi! Am 19.03.2010 19:20, schrieb Sven Geggus:
The trouble is mainly with data conversion tasks and bulk database imports that could be processed in a batch job like manner in future.
Probably its also a problem with the current lack of some kind of batch processing scheduler (any hints for a suitable software?).
Currently all these jobs are started by cron when the users thought it would be the best time to have them running.
Maybee the two important projects can also get migrated to the machine which is currently not yet that busy (wms aka humboldt), but I think this would only defer the problem rather than resolving it.
One consideration for the scheduling is when the bulk jobs are running. This week I tried to do a minor change to the map style - usually a 30 second job - but could not see the result at all because there was a load of 14-20 on the server and tirex shut rendering down completely. It would be important to schedule the bulk jobs at night or in the morning, not at prime time when people are working with the maps and when the most user requests are coming in. Of course I would be happy to move the map to a different server. I think that the requirements of an interactive map are considerably different from the bulk processing applications. It does not put a heavy load on the server itself, the requests are more or less randomly distributed, but it needs fast reaction times. As far as I am concerned, the map is pretty much stable (except for more adaptions due to tirex) and could be moved. bye Nop
participants (6)
-
Christoph Wagner -
Jochen Topf -
Nic Roets -
Nop -
Stefan Dettenhofer (StefanDausR) -
Sven Geggus