Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save emiltin/ce4f26e0e6bc7d592132 to your computer and use it in GitHub Desktop.
~/code/Project-OSRM$ (develop *) date; rake process; date
Wed May 21 17:57:05 CEST 2014
[info] Input file: denmark.osm.pbf
[info] Profile: bicycle.lua
[info] Threads: 1 (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 184.564 seconds
[extractor] Sorting used nodes ... ok, after 0.823764s
[extractor] Erasing duplicate nodes ... ok, after 0.0947156s
[extractor] Sorting all nodes ... ok, after 3.09813s
[extractor] Sorting used ways ... ok, after 0.415134s
[extractor] Sorting restrictions. by from... ok, after 0.415181s
[extractor] Fixing restriction starts ... ok, after 0.415191s
[extractor] Sorting restrictions. by to ... ok, after 1.2819e-05s
[extractor] Fixing restriction ends ... ok, after 4.919e-06s
[info] usable restrictions: 0
[extractor] Confirming/Writing used nodes ... ok, after 4.16406s
[extractor] setting number of nodes ... ok
[extractor] Sorting edges by start ... ok, after 4.21884s
[extractor] Setting start coords ... ok, after 4.06496s
[extractor] Sorting edges by target ... ok, after 6.1362s
[extractor] Setting target coords ... ok, after 7.99269s
[extractor] setting number of edges ... ok
[extractor] writing street name index ... ok, after 0.245463s
[info] Processed 3086394 nodes and 3373377 edges
[info] extraction finished after 216.16s
[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: 1 (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.108s
[info] Renumbering edges: 0.022s
[info] Generating nodes: 1.28s
[info] Generating edges: 4.708s
[info] building r-tree ...
[info] constructing r-tree of 3313731 edge elements build on-top of 3086394 coordinates
[info] finished r-tree construction in 4.85748 seconds
[info] using hardware based CRC32 computation
[info] CRC32: 3601134504
[info] writing node map ...
[info] initializing contractor
merged 6352 edges out of 8815876
contractor finished initalization
Contractor is using 1 threads
initializing elimination PQ ...ok
preprocessing 2264724 nodes .... 10% . 20% . 30% . 40% . 50% . 60% . [flush 1482661 nodes] 70% . 80% . 90% . 100%
[info] Contraction took 1119.3 sec
[info] Getting edges of minimized graph
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Serializing compacted graph of 12798056 edges
[info] Building node array
[info] Building edge array
[info] Preprocessing : 1153.09 seconds
[info] Expansion : 178761 nodes/sec and 131171 edges/sec
[info] Contraction: 2023.33 nodes/sec and 11433.9 edges/sec
[info] finished preprocessing
Wed May 21 18:20:02 CEST 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment