Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.42k stars 3.4k forks source link

Try self-hosted runner #6971

Closed SiarheiFedartsou closed 4 months ago

SiarheiFedartsou commented 4 months ago

Issue

What issue is this PR targeting? If there is no issue that addresses the problem, please open a corresponding issue and link it here.

Please read our documentation on release and version management. If your PR is still work in progress please attach the relevant label.

Tasklist

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

Benchmark Results

| Benchmark | Base | PR | |-----------|------|----| | match_ch | Default radius:
6.42229ms/req at 82 coordinate
0.0783206ms/coordinate
Radius 10m:
22.0295ms/req at 82 coordinate
0.268652ms/coordinate
Default radius:
6.22396ms/req at 82 coordinate
0.075902ms/coordinate
Radius 10m:
22.0871ms/req at 82 coordinate
0.269355ms/coordinate
Default radius:
6.30949ms/req at 82 coordinate
0.076945ms/coordinate
Radius 10m:
22.403ms/req at 82 coordinate
0.273208ms/coordinate
Default radius:
6.26539ms/req at 82 coordinate
0.0764072ms/coordinate
Radius 10m:
22.4978ms/req at 82 coordinate
0.274364ms/coordinate
Default radius:
6.46531ms/req at 82 coordinate
0.0788452ms/coordinate
Radius 10m:
21.7745ms/req at 82 coordinate
0.265543ms/coordinate
Default radius:
6.33216ms/req at 82 coordinate
0.0772214ms/coordinate
Radius 10m:
23.0757ms/req at 82 coordinate
0.28141ms/coordinate
Default radius:
7.57323ms/req at 82 coordinate
0.0923565ms/coordinate
Radius 10m:
21.9284ms/req at 82 coordinate
0.26742ms/coordinate
Default radius:
6.19084ms/req at 82 coordinate
0.0754981ms/coordinate
Radius 10m:
22.2535ms/req at 82 coordinate
0.271384ms/coordinate
Default radius:
6.26909ms/req at 82 coordinate
0.0764523ms/coordinate
Radius 10m:
22.033ms/req at 82 coordinate
0.268695ms/coordinate
Default radius:
6.5066ms/req at 82 coordinate
0.0793488ms/coordinate
Radius 10m:
21.9699ms/req at 82 coordinate
0.267926ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/ch/monaco.osrm ch' (10 runs):

2871.71 msec task-clock # 1.000 CPUs utilized ( +- 0.50% )
27 context-switches # 9.402 /sec ( +- 2.53% )
0 cpu-migrations # 0.000 /sec
442 page-faults # 153.915 /sec
9642751158 cycles # 3.358 GHz ( +- 0.49% )
15388365287 instructions # 1.60 insn per cycle ( +- 0.00% )
2550900827 branches # 888.286 M/sec ( +- 0.01% )
76118961 branch-misses # 2.98% of all branches ( +- 1.71% )

2.8710 +- 0.0142 seconds time elapsed ( +- 0.50% ) | Default radius:
6.29737ms/req at 82 coordinate
0.0767972ms/coordinate
Radius 10m:
21.9563ms/req at 82 coordinate
0.26776ms/coordinate
Default radius:
6.1475ms/req at 82 coordinate
0.0749695ms/coordinate
Radius 10m:
21.7575ms/req at 82 coordinate
0.265335ms/coordinate
Default radius:
6.53677ms/req at 82 coordinate
0.0797167ms/coordinate
Radius 10m:
21.7167ms/req at 82 coordinate
0.264838ms/coordinate
Default radius:
6.2151ms/req at 82 coordinate
0.0757939ms/coordinate
Radius 10m:
22.2077ms/req at 82 coordinate
0.270825ms/coordinate
Default radius:
6.37855ms/req at 82 coordinate
0.0777872ms/coordinate
Radius 10m:
22.4648ms/req at 82 coordinate
0.273961ms/coordinate
Default radius:
6.2598ms/req at 82 coordinate
0.0763391ms/coordinate
Radius 10m:
22.0806ms/req at 82 coordinate
0.269275ms/coordinate
Default radius:
6.21084ms/req at 82 coordinate
0.075742ms/coordinate
Radius 10m:
22.9405ms/req at 82 coordinate
0.279762ms/coordinate
Default radius:
6.41035ms/req at 82 coordinate
0.078175ms/coordinate
Radius 10m:
24.1646ms/req at 82 coordinate
0.29469ms/coordinate
Default radius:
6.79314ms/req at 82 coordinate
0.0828432ms/coordinate
Radius 10m:
23.0332ms/req at 82 coordinate
0.280892ms/coordinate
Default radius:
6.90257ms/req at 82 coordinate
0.0841777ms/coordinate
Radius 10m:
22.4115ms/req at 82 coordinate
0.273311ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/ch/monaco.osrm ch' (10 runs):

2894.16 msec task-clock # 1.000 CPUs utilized ( +- 0.91% )
27 context-switches # 9.329 /sec ( +- 2.29% )
0 cpu-migrations # 0.000 /sec
442 page-faults # 152.721 /sec
9720910244 cycles # 3.359 GHz ( +- 0.87% )
15387686871 instructions # 1.58 insn per cycle ( +- 0.00% )
2550642636 branches # 881.306 M/sec ( +- 0.00% )
78190323 branch-misses # 3.07% of all branches ( +- 2.75% )

2.8936 +- 0.0264 seconds time elapsed ( +- 0.91% ) | | match_ch2 | Default radius:
6.20181ms/req at 82 coordinate
0.0756318ms/coordinate
Radius 10m:
23.2148ms/req at 82 coordinate
0.283107ms/coordinate
Default radius:
6.25216ms/req at 82 coordinate
0.0762459ms/coordinate
Radius 10m:
22.2185ms/req at 82 coordinate
0.270958ms/coordinate
Default radius:
6.2366ms/req at 82 coordinate
0.0760561ms/coordinate
Radius 10m:
21.9561ms/req at 82 coordinate
0.267757ms/coordinate
Default radius:
6.22971ms/req at 82 coordinate
0.0759721ms/coordinate
Radius 10m:
22.3346ms/req at 82 coordinate
0.272373ms/coordinate
Default radius:
6.30905ms/req at 82 coordinate
0.0769396ms/coordinate
Radius 10m:
22.7858ms/req at 82 coordinate
0.277876ms/coordinate
Default radius:
6.63159ms/req at 82 coordinate
0.0808731ms/coordinate
Radius 10m:
24.1477ms/req at 82 coordinate
0.294485ms/coordinate
Default radius:
7.11479ms/req at 82 coordinate
0.0867658ms/coordinate
Radius 10m:
23.2616ms/req at 82 coordinate
0.283677ms/coordinate
Default radius:
6.6857ms/req at 82 coordinate
0.0815329ms/coordinate
Radius 10m:
23.3714ms/req at 82 coordinate
0.285017ms/coordinate
Default radius:
6.4116ms/req at 82 coordinate
0.0781903ms/coordinate
Radius 10m:
23.2041ms/req at 82 coordinate
0.282977ms/coordinate
Default radius:
6.89468ms/req at 82 coordinate
0.0840815ms/coordinate
Radius 10m:
23.0494ms/req at 82 coordinate
0.28109ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/ch/monaco.osrm ch' (10 runs):

2950.31 msec task-clock # 1.000 CPUs utilized ( +- 0.93% )
29 context-switches # 9.829 /sec ( +- 2.62% )
0 cpu-migrations # 0.000 /sec
442 page-faults # 149.815 /sec
9902635139 cycles # 3.356 GHz ( +- 0.89% )
15388485297 instructions # 1.55 insn per cycle ( +- 0.00% )
2550824068 branches # 864.597 M/sec ( +- 0.00% )
83019504 branch-misses # 3.25% of all branches ( +- 2.76% )

2.9497 +- 0.0273 seconds time elapsed ( +- 0.93% ) | Default radius:
6.46596ms/req at 82 coordinate
0.0788531ms/coordinate
Radius 10m:
22.1223ms/req at 82 coordinate
0.269784ms/coordinate
Default radius:
6.58061ms/req at 82 coordinate
0.0802513ms/coordinate
Radius 10m:
22.6601ms/req at 82 coordinate
0.276343ms/coordinate
Default radius:
7.04357ms/req at 82 coordinate
0.0858972ms/coordinate
Radius 10m:
23.0518ms/req at 82 coordinate
0.281119ms/coordinate
Default radius:
6.2447ms/req at 82 coordinate
0.0761549ms/coordinate
Radius 10m:
22.8241ms/req at 82 coordinate
0.278343ms/coordinate
Default radius:
6.72157ms/req at 82 coordinate
0.0819704ms/coordinate
Radius 10m:
22.4422ms/req at 82 coordinate
0.273685ms/coordinate
Default radius:
6.30347ms/req at 82 coordinate
0.0768716ms/coordinate
Radius 10m:
22.2155ms/req at 82 coordinate
0.270921ms/coordinate
Default radius:
6.23046ms/req at 82 coordinate
0.0759812ms/coordinate
Radius 10m:
21.8905ms/req at 82 coordinate
0.266958ms/coordinate
Default radius:
6.76528ms/req at 82 coordinate
0.0825034ms/coordinate
Radius 10m:
24.274ms/req at 82 coordinate
0.296024ms/coordinate
Default radius:
6.56405ms/req at 82 coordinate
0.0800494ms/coordinate
Radius 10m:
22.4949ms/req at 82 coordinate
0.274328ms/coordinate
Default radius:
6.20316ms/req at 82 coordinate
0.0756482ms/coordinate
Radius 10m:
22.3925ms/req at 82 coordinate
0.273079ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/ch/monaco.osrm ch' (10 runs):

2920.45 msec task-clock # 1.000 CPUs utilized ( +- 0.92% )
28 context-switches # 9.588 /sec ( +- 1.84% )
0 cpu-migrations # 0.000 /sec
442 page-faults # 151.347 /sec
9794244557 cycles # 3.354 GHz ( +- 0.90% )
15387794352 instructions # 1.57 insn per cycle ( +- 0.00% )
2550656304 branches # 873.379 M/sec ( +- 0.00% )
80461465 branch-misses # 3.15% of all branches ( +- 2.76% )

2.9201 +- 0.0269 seconds time elapsed ( +- 0.92% ) | | match_mld | Default radius:
4.25504ms/req at 82 coordinate
0.0518907ms/coordinate
Radius 10m:
16.7036ms/req at 82 coordinate
0.203702ms/coordinate
Default radius:
4.16872ms/req at 82 coordinate
0.0508381ms/coordinate
Radius 10m:
15.692ms/req at 82 coordinate
0.191365ms/coordinate
Default radius:
4.09341ms/req at 82 coordinate
0.0499196ms/coordinate
Radius 10m:
15.6916ms/req at 82 coordinate
0.191361ms/coordinate
Default radius:
4.1117ms/req at 82 coordinate
0.0501427ms/coordinate
Radius 10m:
17.7704ms/req at 82 coordinate
0.216712ms/coordinate
Default radius:
4.21545ms/req at 82 coordinate
0.0514079ms/coordinate
Radius 10m:
15.9811ms/req at 82 coordinate
0.194892ms/coordinate
Default radius:
4.11113ms/req at 82 coordinate
0.0501357ms/coordinate
Radius 10m:
16.0793ms/req at 82 coordinate
0.196089ms/coordinate
Default radius:
4.42298ms/req at 82 coordinate
0.0539387ms/coordinate
Radius 10m:
16.0063ms/req at 82 coordinate
0.195199ms/coordinate
Default radius:
4.64936ms/req at 82 coordinate
0.0566996ms/coordinate
Radius 10m:
16.3169ms/req at 82 coordinate
0.198987ms/coordinate
Default radius:
4.11235ms/req at 82 coordinate
0.0501507ms/coordinate
Radius 10m:
15.742ms/req at 82 coordinate
0.191976ms/coordinate
Default radius:
4.10449ms/req at 82 coordinate
0.0500548ms/coordinate
Radius 10m:
16.0249ms/req at 82 coordinate
0.195426ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/mld/monaco.osrm mld' (10 runs):

2049.60 msec task-clock # 1.000 CPUs utilized ( +- 1.02% )
18 context-switches # 8.782 /sec ( +- 4.81% )
0 cpu-migrations # 0.000 /sec
460 page-faults # 224.434 /sec
6883213305 cycles # 3.358 GHz ( +- 1.00% )
11200750895 instructions # 1.63 insn per cycle ( +- 0.00% )
2169581428 branches # 1.059 G/sec ( +- 0.00% )
64022764 branch-misses # 2.95% of all branches ( +- 2.70% )

2.0490 +- 0.0210 seconds time elapsed ( +- 1.03% ) | Default radius:
4.55428ms/req at 82 coordinate
0.05554ms/coordinate
Radius 10m:
17.013ms/req at 82 coordinate
0.207475ms/coordinate
Default radius:
4.0716ms/req at 82 coordinate
0.0496536ms/coordinate
Radius 10m:
16.951ms/req at 82 coordinate
0.20672ms/coordinate
Default radius:
5.03987ms/req at 82 coordinate
0.0614618ms/coordinate
Radius 10m:
15.9717ms/req at 82 coordinate
0.194777ms/coordinate
Default radius:
4.08143ms/req at 82 coordinate
0.0497735ms/coordinate
Radius 10m:
15.7002ms/req at 82 coordinate
0.191466ms/coordinate
Default radius:
4.26096ms/req at 82 coordinate
0.051963ms/coordinate
Radius 10m:
15.9026ms/req at 82 coordinate
0.193934ms/coordinate
Default radius:
4.25604ms/req at 82 coordinate
0.051903ms/coordinate
Radius 10m:
15.9491ms/req at 82 coordinate
0.194501ms/coordinate
Default radius:
4.07188ms/req at 82 coordinate
0.0496571ms/coordinate
Radius 10m:
15.9216ms/req at 82 coordinate
0.194166ms/coordinate
Default radius:
4.12908ms/req at 82 coordinate
0.0503546ms/coordinate
Radius 10m:
16.0195ms/req at 82 coordinate
0.19536ms/coordinate
Default radius:
4.07917ms/req at 82 coordinate
0.049746ms/coordinate
Radius 10m:
15.7035ms/req at 82 coordinate
0.191506ms/coordinate
Default radius:
4.23805ms/req at 82 coordinate
0.0516835ms/coordinate
Radius 10m:
15.6403ms/req at 82 coordinate
0.190735ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/mld/monaco.osrm mld' (10 runs):

2041.68 msec task-clock # 1.000 CPUs utilized ( +- 0.93% )
21 context-switches # 10.286 /sec ( +- 6.65% )
0 cpu-migrations # 0.000 /sec
460 page-faults # 225.305 /sec
6856481651 cycles # 3.358 GHz ( +- 0.95% )
11200651369 instructions # 1.63 insn per cycle ( +- 0.00% )
2169540293 branches # 1.063 G/sec ( +- 0.00% )
63823038 branch-misses # 2.94% of all branches ( +- 2.27% )

2.0419 +- 0.0196 seconds time elapsed ( +- 0.96% ) | | match_mld2 | Default radius:
4.13714ms/req at 82 coordinate
0.0504529ms/coordinate
Radius 10m:
16.6771ms/req at 82 coordinate
0.203379ms/coordinate
Default radius:
4.14698ms/req at 82 coordinate
0.0505729ms/coordinate
Radius 10m:
15.9608ms/req at 82 coordinate
0.194643ms/coordinate
Default radius:
4.23973ms/req at 82 coordinate
0.051704ms/coordinate
Radius 10m:
16.5277ms/req at 82 coordinate
0.201557ms/coordinate
Default radius:
4.359ms/req at 82 coordinate
0.0531585ms/coordinate
Radius 10m:
17.3512ms/req at 82 coordinate
0.2116ms/coordinate
Default radius:
4.75318ms/req at 82 coordinate
0.0579656ms/coordinate
Radius 10m:
17.3089ms/req at 82 coordinate
0.211084ms/coordinate
Default radius:
4.40054ms/req at 82 coordinate
0.0536651ms/coordinate
Radius 10m:
16.6685ms/req at 82 coordinate
0.203274ms/coordinate
Default radius:
4.45971ms/req at 82 coordinate
0.0543867ms/coordinate
Radius 10m:
16.7343ms/req at 82 coordinate
0.204077ms/coordinate
Default radius:
4.16456ms/req at 82 coordinate
0.0507873ms/coordinate
Radius 10m:
15.722ms/req at 82 coordinate
0.191732ms/coordinate
Default radius:
4.54227ms/req at 82 coordinate
0.0553935ms/coordinate
Radius 10m:
16.015ms/req at 82 coordinate
0.195305ms/coordinate
Default radius:
4.15658ms/req at 82 coordinate
0.05069ms/coordinate
Radius 10m:
15.7322ms/req at 82 coordinate
0.191856ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/mld/monaco.osrm mld' (10 runs):

2087.74 msec task-clock # 1.000 CPUs utilized ( +- 1.12% )
19 context-switches # 9.101 /sec ( +- 2.41% )
0 cpu-migrations # 0.000 /sec
460 page-faults # 220.334 /sec
7010710270 cycles # 3.358 GHz ( +- 1.12% )
11200782363 instructions # 1.60 insn per cycle ( +- 0.00% )
2169564993 branches # 1.039 G/sec ( +- 0.00% )
68199274 branch-misses # 3.14% of all branches ( +- 3.03% )

2.0868 +- 0.0233 seconds time elapsed ( +- 1.12% ) | Default radius:
4.11922ms/req at 82 coordinate
0.0502344ms/coordinate
Radius 10m:
15.8818ms/req at 82 coordinate
0.19368ms/coordinate
Default radius:
4.13839ms/req at 82 coordinate
0.0504682ms/coordinate
Radius 10m:
16.0289ms/req at 82 coordinate
0.195475ms/coordinate
Default radius:
4.20995ms/req at 82 coordinate
0.0513409ms/coordinate
Radius 10m:
16.0413ms/req at 82 coordinate
0.195625ms/coordinate
Default radius:
4.11625ms/req at 82 coordinate
0.0501982ms/coordinate
Radius 10m:
16.2089ms/req at 82 coordinate
0.19767ms/coordinate
Default radius:
4.20003ms/req at 82 coordinate
0.0512198ms/coordinate
Radius 10m:
16.9079ms/req at 82 coordinate
0.206194ms/coordinate
Default radius:
4.4134ms/req at 82 coordinate
0.053822ms/coordinate
Radius 10m:
16.6502ms/req at 82 coordinate
0.203052ms/coordinate
Default radius:
4.2531ms/req at 82 coordinate
0.0518671ms/coordinate
Radius 10m:
16.3655ms/req at 82 coordinate
0.199579ms/coordinate
Default radius:
4.40652ms/req at 82 coordinate
0.0537381ms/coordinate
Radius 10m:
15.8876ms/req at 82 coordinate
0.193751ms/coordinate
Default radius:
4.07873ms/req at 82 coordinate
0.0497406ms/coordinate
Radius 10m:
15.884ms/req at 82 coordinate
0.193707ms/coordinate
Default radius:
4.27504ms/req at 82 coordinate
0.0521347ms/coordinate
Radius 10m:
16.261ms/req at 82 coordinate
0.198305ms/coordinate

Performance counter stats for '/home/sfedartsou/benchmarks_tmp/build/src/benchmarks/match-bench /home/sfedartsou/benchmarks_tmp/test/data/mld/monaco.osrm mld' (10 runs):

2050.46 msec task-clock # 1.000 CPUs utilized ( +- 0.62% )
20 context-switches # 9.754 /sec ( +- 2.91% )
0 cpu-migrations # 0.000 /sec
460 page-faults # 224.340 /sec
6891828710 cycles # 3.361 GHz ( +- 0.59% )
11200665266 instructions # 1.63 insn per cycle ( +- 0.00% )
2169581104 branches # 1.058 G/sec ( +- 0.00% )
65036724 branch-misses # 3.00% of all branches ( +- 1.59% )

2.0496 +- 0.0127 seconds time elapsed ( +- 0.62% ) |