itinero / routing

The routing core of itinero.
Apache License 2.0
222 stars 70 forks source link

AddContracted extremy slow #346

Open TomQv opened 2 years ago

TomQv commented 2 years ago

We are busy rebuilding the routerdbs for many countries of the world. Its the first time since a couple of years so I don't remember anymore, how it went that time.

Anyway, now its Itinero 1.6.0-pre032, Reminiscence 1.3.0. with a Windows App x64.

For example germany-latest.osm.pbf. routerDb.LoadOsmData() is an hour, thats acceptable. Then routerDb.AddContracted() with standard-profiles Car takes 12h. Now AddContracted() with with standard-profile Pedestrian is busy already for 3 days....

Will take us month to compile all the countries.

The machine is a I5 3.3GHz with 32G ram. CPU load is around 40% and memory consumption ca 20GB. Network load is 0% so I believe, its ok, if the PBF is on a NAS? Everything is done in Memory?

Maybe we are doing something wrong or missing something? Would be great if there is a trick to speed up.

TomQv commented 2 years ago

"Fixed issue with single edge backward calculations in many-to-many."

Will this fix the issue?