osrm-backend
osrm-backend copied to clipboard
Disk and Memory Requirements
Hi! I just want to use OSRM for routes in a country (Portugal), do I need the same requirements described here: https://github.com/Project-OSRM/osrm-backend/wiki/Disk-and-Memory-Requirements, or can I work with 4/16 GB of RAM?
@raquelgdes 16 GB is OK to run on a France extract so it should be fine for Portugal too. Probably less would also do, given the OSM extract is much smaller. Your best bet is to try.
Any estimate on what it would take to run N. America? Thanks
Any estimate on what it would take to run N. America? Thanks
I processed entire North America (https://download.geofabrik.de/north-america.html) with 64 GB RAM and 4 cores. I tried with 32 GB first and end up getting not enough RAM error while running OSRM-contract
I am having trouble finding a linux server hosting solution with this much ram thats not astronomically priced per year. You guys have any advice on a hosting solution?
@mkallaoun There is no magic solution here - it's expensive to use this software on a large scale.
One suggestion: it takes significantly more RAM to process the data than it does to host it. As long as you keep the operating systems/machine architectures the same, you can rent a huge box for a short period to generate the routing files, then move them to a smaller box to actually perform route calculations on.
If query performance isn't super important to you, you can also look at the --mmap
option of osrm-routed
- this will "memory map" the datafiles and read parts of them off-disk on-demand. This slows down queries, but may be OK for your use-case. Typically, if you've got some hot spots where lots of routes are calculated, the filesystem cache will eventually have most of the important parts of the files in memory and queries can be reasonably fast.
to much RAM sir.. i even can not try in my laptop :(
@erlangp If you just want to try the software out, you can use a small country map extract from OSM, like Moldova. These only require a few 10s of MB of RAM.
@mkallaoun Hetzner or OVH
How did the osrm for Portugal on 16GB RAM work for you, @raquelgdes?
Any estimate on what it would take to run N. America? Thanks
I did this with docker and it looks about 74Gb ram to preprocess and then about 36 to run the car profile.
any idea about how much time it will take for INDIA ANd resources required for that?
I am not sure as I didn't do it. I have the servers to run them email me at at [email protected] and may be I can generate the map files for you.
Get Outlook for Androidhttps://aka.ms/ghei36
From: kaplgarg1 [email protected] Sent: Wednesday, August 19, 2020 7:25:22 AM To: Project-OSRM/osrm-backend [email protected] Cc: Kaushik Ray [email protected]; Comment [email protected] Subject: Re: [Project-OSRM/osrm-backend] Disk and Memory Requirements (#5265)
any idea about how much time it will take for INDIA ANd resources required for that?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Project-OSRM/osrm-backend/issues/5265#issuecomment-676182985, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABGA5GWEXHVQS3VGNSPXSWDSBOZCFANCNFSM4GDOUT3Q.
Does anyone know the specs that the demo site is running on here?....https://map.project-osrm.org/
you can get some ballpark numbers from https://github.com/Project-OSRM/osrm-backend/wiki/Disk-and-Memory-Requirements