-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Planet-Import is slow on very potent server #511
Comments
Does this server have a SDD or HDD? A fast disk is paramount to good performance. |
It has NVME drives... they should be super fast... |
Our sys-admin changed the file system settings a bit, so that it does not write to disk that often, but that only improved the whole speed a very little bit. I also at the same time increased the shm size a bit as well. So now we have around 350 items per second now... But also, as I let it run a bit further now, we get the following crash:
Can this have something todo with this here? https://lists.openstreetmap.org/pipermail/dev/2020-September/030986.html So basically some bad data? The data I use is the planet-latest from last week. |
I am using the latest docker image using this docker-compose configuration:
When I try to import a smaller extract on my local machine (a MacBook M1) it suuuuuper fast. So I do understand the stages of the import. And the osm2psql part ist fast on my local machine as well as the rankings afterwards. I get like 2000+ items per second. That seems fine?!?
So now on my server, which is a machine with 60 CPU cores, about 300!!GB of RAM and fast NVME drives, the osm2psql part is also super fast, but when it then starts to rank things, it turns super slow...
So like 250-ish items per second, which would result in an import time of around 2 weeks.
I am not really good at optimizing postgres, but I guess I that will be my problem?
Would be suuuuuper happy about help on what in my postgres config is wrong and therefore slowing everything down.
Desktop / Server (please complete the following information):
The text was updated successfully, but these errors were encountered: