Skip to content

Instantly share code, notes, and snippets.

@emiltin
Created May 21, 2014 17:23
Show Gist options
  • Select an option

  • Save emiltin/c36c69036c9c18d1313a to your computer and use it in GitHub Desktop.

Select an option

Save emiltin/c36c69036c9c18d1313a to your computer and use it in GitHub Desktop.
~/code/Project-OSRM$ (tbb-port *) rake process
[info] Input file: denmark.osm.pbf
[info] Profile: bicycle.lua
[info] Threads: 8 (requested 8)
[info] Using script ../profiles/bicycle.lua
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] 1 disks are allocated, total space: 1000 MiB
[info] Ignoring turn restrictions
[info] Found 3 exceptions to turn restrictions:
[info] bicycle
[info] vehicle
[info] access
[info] Parsing in progress..
[info] Parsing finished after 86.3364 seconds
[extractor] Sorting used nodes ... ok, after 0.762338s
[extractor] Erasing duplicate nodes ... ok, after 0.0966111s
[extractor] Sorting all nodes ... ok, after 3.17422s
[extractor] Sorting used ways ... ok, after 0.381541s
[extractor] Sorting restrictions. by from... ok, after 0.3816s
[extractor] Fixing restriction starts ... ok, after 0.38161s
[extractor] Sorting restrictions. by to ... ok, after 1.2268e-05s
[extractor] Fixing restriction ends ... ok, after 5.019e-06s
[info] usable restrictions: 0
[extractor] Confirming/Writing used nodes ... ok, after 3.10578s
[extractor] setting number of nodes ... ok
[extractor] Sorting edges by start ... ok, after 3.63475s
[extractor] Setting start coords ... ok, after 3.91975s
[extractor] Sorting edges by target ... ok, after 3.33213s
[extractor] Setting target coords ... ok, after 6.90913s
[extractor] setting number of edges ... ok
[extractor] writing street name index ... ok, after 0.00619109s
[info] Processed 3086394 nodes and 3373377 edges
[info] extraction finished after 112.036s
[info] To prepare the data for routing, run: ./osrm-prepare denmark.osrm
[STXXL-ERRMSG] Removing disk file created from default configuration: /var/tmp/stxxl
[info] Input file: denmark.osrm
[info] Restrictions file: denmark.osrm.restrictions
[info] Profile: bicycle.lua
[info] Threads: 8 (requested 8)
[info] Importing n = 3086394 nodes
[info] and 3373377 edges
[info] Graph loaded ok and has 3369905 edges
[info] 0 restrictions, 746 bollard nodes, 3751 traffic lights
[info] Generating edge-expanded graph representation
[info] Removing graph geometry while preserving topology
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] removed 2175297 nodes
[info] Geometry successfully removed:
compressed edges: 1149300
compressed geometries: 5499726
longest chain length: 494
cmpr ratio: 0.208974
avg chain length: 4.78528
[info] new nodes: 911097, edges 2276870
[info] Node compression ratio: 0.295198
[info] Edge compression ratio: 0.343551
[info] Identifying components of the road network
[info] identified: 2189689 many components
[info] generating edge-expanded nodes
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 3313731 nodes in edge-expanded graph
[info] generating edge-expanded edges
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 3313731 edge based nodes
[info] Node-based graph contains 2264724 edges
[info] Edge-expanded graph ...
[info] contains 4407938 edges
[info] skips 0 turns, defined by 0 restrictions
[info] skips 2036578 U turns
[info] skips 1483 turns over barriers
[info] Timing statistics for edge-expanded graph:
[info] Geometry compression: 4.132s
[info] Renumbering edges: 0.021s
[info] Generating nodes: 1.295s
[info] Generating edges: 4.467s
[info] building r-tree ...
[info] constructing r-tree of 3313731 edge elements build on-top of 3086394 coordinates
[info] finished r-tree construction in 1.88955 seconds
[info] using hardware based CRC32 computation
[info] CRC32: 857332721
[info] writing node map ...
[info] initializing contractor
merged 6352 edges out of 8815876
contractor finished initalization
initializing elimination PQ ...ok
preprocessing 2264724 nodes .... 10% . 20% . 30% . 40% . 50% . 60% . [flush 1482294 nodes] 70% . 80% . 90% . 100%
[info] Contraction took 323.594 sec
[info] Getting edges of minimized graph
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Serializing compacted graph of 12800275 edges
[info] Building node array
[info] Building edge array
[info] Preprocessing : 349.732 seconds
[info] Expansion : 184549 nodes/sec and 135417 edges/sec
[info] Contraction: 6998.67 nodes/sec and 39556.6 edges/sec
[info] finished preprocessing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment