Skip to content

Instantly share code, notes, and snippets.

@clintharris
Created November 18, 2013 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clintharris/7528058 to your computer and use it in GitHub Desktop.
Save clintharris/7528058 to your computer and use it in GitHub Desktop.
$ cd /mnt/xvdf/Project-OSRM/
$ git describe --tags
v0.3.5-465-g8b6fe69
$ git branch
* develop
master
$ cat .stxxl
disk=/media/xvdc/stxxl,100000,syscall
$ cat ./run_osrm-prepare.sh
#!/bin/bash
date
./osrm-prepare planet-131106.osrm
date
$ ./run_osrm-prepare.sh
Sat Nov 16 08:50:59 UTC 2013
[info] Input file: planet-131106.osrm
[info] Restrictions file: planet-131106.osrm.restrictions
[info] Profile: profile.lua
[info] Threads: 8
[info] Importing n = 448333043 nodes
[info] and 473411188 edges
[info] Graph loaded ok and has 473210929 edges
[info] 214269 restrictions, 142709 bollard nodes, 538487 traffic lights
[info] Generating edge-expanded graph representation
[info] Identifying components of the road network
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] identified: 643583 many components
[info] generating edge-expanded nodes
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 910130224 nodes in edge-expanded graph
[info] generating edge-expanded edges
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 910130224 edge based nodes
[info] Node-based graph contains 910130224 edges
[info] Edge-expanded graph ...
[info] contains 1107350744 edges
[info] skips 267723 turns, defined by 213561 restrictions
[info] writing node map ...
[info] building r-tree ...
[info] constructing r-tree of 910130224 elements
[info] finished r-tree construction in 747.464 seconds
[info] using hardware based CRC32 computation
[info] CRC32: 64447612
[info] initializing contractor
merged 144922 edges out of 2214701488
contractor finished initalization
Contractor is using 8 threads
initializing elimination PQ ...ok
preprocessing 910130224 nodes .... 10% . 20% . 30% . 40% . 50% . 60% . [flush 621371498 nodes] 70% . 80% . 90% . 100%
[info] Contraction took 24139.9 sec
[info] Getting edges of minimized graph
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Building Node Array
[info] Serializing compacted graph of 1299452349 edges
[info] Preprocessing : 29683.6 seconds
[info] Expansion : 146401 nodes/sec and 297198 edges/sec
[info] Contraction: 37702.3 nodes/sec and 53830 edges/sec
[info] finished preprocessing
Sat Nov 16 17:06:01 UTC 2013
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment