Hallo, der Dev-Server ist gerade wieder auf allen Cores zu 100% ausgelastet. Mich wundert jedoch, wieso da teilweise bis zu 100 gzip-Prozesse gleichzeitig offen sind. Ist das ein (h)top-Fehler? Grüße Tobias
The gzip's are mine. They're niced and ioniced, so I hope they did not cause any problems. I need to split the planet into 190 overlapping bboxes, each of which is "manageable" on a small device like a phone, yet large enough for most routing queries : http://dev.openstreetmap.de/gosmore/test My attempts with osmosis were unsuccessful due to the amount of RAM needed. If I was just a once off occurrence, I could have used 64-bit osmosis at a time when the machine is relatively idle. But I would like to do this every week and I want to be sure it will work every week without being too disruptive to other users. So I wrote a new program in C that will only need +- 2GB at the peak. Unlike osmosis it starts gzip for each output file, but is still much more efficient. More details on dev list at osm.org Once my scripts and converters are stable and bug free, the load on the system will be reduced. 2010/2/9 Tobias Wendorff <tobias.wendorff@uni-dortmund.de>
Hallo,
der Dev-Server ist gerade wieder auf allen Cores zu 100% ausgelastet. Mich wundert jedoch, wieso da teilweise bis zu 100 gzip-Prozesse gleichzeitig offen sind.
Ist das ein (h)top-Fehler?
Grüße Tobias _______________________________________________ Devserver mailing list Devserver@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/devserver
On Tue, Feb 09, 2010 at 07:26:01PM +0200, Nic Roets wrote:
The gzip's are mine. They're niced and ioniced, so I hope they did not cause any problems.
They still need memory and its probably really unefficient to run so many at the same time, because they will continually step on each others toes, especially when the disk have to seek back and forth between the places where they are reading and/or writing the data for all those processes. Now there is only one gzip but many ´cat´s running? They don´t look like they are connected to anything. Jochen -- Jochen Topf jochen@remote.org http://www.remote.org/jochen/ +49-721-388298
Ok there were a few (10) zombie processes from a smaller test that I killed. One osmosis writing to 190 files vs 190 gzips writing to one file each: Fortunately the free RAM is now much larger, and Linux can buffer the output for longer, so it can write more after each seek. So it's less seeks. Linux is quite good at switching between task that communicate by pipes. 12 years ago I did a test and on the same hardware Linux pipes were 5 or 10 times more efficient than Windows messages. With all the multicore and multiprocessor computers on the market I'm sure a lot of work has been done to make it efficient so that Linux developers are encouraged to split processes where possible. On Tue, Feb 9, 2010 at 7:32 PM, Jochen Topf <jochen@remote.org> wrote:
On Tue, Feb 09, 2010 at 07:26:01PM +0200, Nic Roets wrote:
The gzip's are mine. They're niced and ioniced, so I hope they did not cause any problems.
They still need memory and its probably really unefficient to run so many at the same time, because they will continually step on each others toes, especially when the disk have to seek back and forth between the places where they are reading and/or writing the data for all those processes.
Now there is only one gzip but many 惡at愀 running? They don愒 look like they are connected to anything.
Jochen -- Jochen Topf jochen@remote.org http://www.remote.org/jochen/ +49-721-388298
participants (3)
-
Jochen Topf -
Nic Roets -
Tobias Wendorff