[OSRM-talk] osrm performance with multiple threads is confusing me

Peter Becker floyd.net at gmail.com
Thu Nov 12 15:53:09 UTC 2015


Client: different machine over network, Windows 8.1, .Net App with 4
Cores (Ivy Bridge), Tested with 4, 8, 20 Threads parallel
Server: Hyper-V-Instance, Haswell 4 Core's, 8 GB RAM, Ubuntu 14.04.
LTS, Samsung 512 GB Pro SSD; + german map file

german.maps.osrm is placed on ssd and load with datastore in shared memory

$ osrm-route --shared-memory=yes -t 1 -p 5000
CPU-Usage:
  Core 1: 0%
  Core 2: ~90%;
  Core 3: 0%;
  Core 4: ~5%;
Routes (2 Points) per Second: ~500

----------------------

$ osrm-route --shared-memory=yes -t 2 -p 5000
CPU-Usage:
  Core 1: ~33%
  Core 2: ~33%;
  Core 3: ~54%;
  Core 4: ~5%;
Routes (2 Points) per Second: ~333

----------------------

$ osrm-route --shared-memory=yes -t 1 -p 5000
$ osrm-route --shared-memory=yes -t 1 -p 5001
CPU-Usage:
  Core 1: ~33%
  Core 2: ~33%;
  Core 3: ~54%;
  Core 4: ~5%;
Routes (2 Points) per Second: ~333
(same result)



More information about the OSRM-talk mailing list