Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/kleene

bench/puppygraph.md

kleene against PuppyGraph

kleene puppygraph plan writes the queries of each graph with the exact Gremlin and Cypher texts; a driver beside PuppyGraph runs them and writes its answers; kleene puppygraph report answers the same queries with kleene, checks every kleene answer against a plain queue walk, and writes this page and puppygraph.json.

target/release/kleene puppygraph plan <data-dir> --zox <zox-M X.gar> --out plan.tsv
(the driver runs plan.tsv against PuppyGraph and writes answers.tsv)
target/release/kleene puppygraph report <data-dir> --zox <zox-M X.gar> --answers answers.tsv --threads 5

Method

Run

kleene: oden (AMD Ryzen Threadripper PRO 3975WX 32-Cores), 32 threads, SIMD kleene Avx2, stree avx2, commit unknown, run 2026-11-29 18:21Z (load average 93.56 at the start, 130.31 at the end).

PuppyGraph 1.21.0 developer edition, image puppygraph/puppygraph:latest b553fc752e00cccca9c1fd9d9cd68a122e470b1a875f4fcb5501d33d10983d0e 2026-11-25 20:07:37.179189507 +0000 UTC; driver start 2026-11-28 10:49Z, COLD=3 WARM=5 LIMIT=600.0s LONG=60.0s, load average 14.90

zox-M: load average 14.90 at its start

zox-M: load average 12.40 at its end

rmat12: load average 12.40 at its start

rmat12: load average 6.76 at its end

rmat22: load average 6.76 at its start

rmat22: load average 19.77 at its end

rmat24: load average 19.77 at its start

rmat24: load average 14.54 at its end

rmat26: load average 14.54 at its start

rmat26: load average 5.92 at its end

road2048: load average 5.92 at its start

road2048: load average 90.11 at its end

Machines: column (1) and the report's own kleene runs are on oden (AMD Threadripper PRO 3975WX, 32 threads, 499 GB). Column (2) is oden + loki (Ryzen 9 7900, 12 threads, 61 GB) + dwarf (Ryzen 5 7535HS, 12 threads, 61 GB, executor capped at 16 GB) through Ballista on 2.5 GbE (measured 2.18-2.35 Gbit/s between each pair), in the mode that fits each graph (Distributed v1.1): zox-M, rmat22 and rmat24 are held whole on every machine and one search is cut in slices weighted 32, 12, 12 (the cores), only each level's new vertices travel, and the weak components run whole on one machine; road2048 is split by row blocks, each part loaded alone on its machine ahead of the queries. Column (4) is PuppyGraph 1.21.0 developer edition on loki, measured 2026-11-28. Column (3) is PuppyGraph's own published claim (ten hops in 2.26 s on four nodes), not a measurement of ours: their free edition runs on one node only, and nothing was signed up for.

Loads: oden 120-245 during column (2) (other sessions' work), loki 2.3-2.6, dwarf 15-36 (other sessions' work).

What loses: one search over several machines loses to one machine for every graph here (rmat24 bfs 0.48-0.65 s on three machines against 0.08-0.10 s on oden alone through the same cluster), because each level costs a stage and a network round trip and the graphs fit in one machine. Throughput is where more machines win: 256 searches of 6 hops on rmat24 run at 41.3 searches a second on oden alone, 57.3 on loki alone, and 86.7 on all three with the searches handed out by measured speed (24, 32, 4); handed out by cores (32, 12, 12) they run at 25.5, slower than one machine, because dwarf (6.2 a second alone, loaded by other sessions) holds back the whole batch. The sweep in part order does not help road2048 (its three blocks are one strong component): 7 rounds and 0.99-1.13 s against 6 rounds and 0.71-0.97 s. The earlier split runs (K4, one row per border edge) are the further sections; bench/distributed.md has where the time went.

Throughput (kleene-ballista throughput): 256 k-hop searches from spread sources, handed out whole, one task per machine, best of 2-3 runs, searches a second:

graph, hops one machine all three, by cores (32, 12, 12) all three, by measured speed
rmat22, 3 oden 176.0 145.3 -
rmat22, 6 oden 82.6 83.6 -
rmat24, 3 oden 102.4 76.9 -
rmat24, 6 oden 34.1-41.3; loki 57.3; dwarf 6.2 25.5 86.7 (24, 32, 4)
graph vertices edges
zox-M 29772 59105
rmat22 4194304 32988662
rmat24 16777216 132718372
road2048 4194304 10063734

Times in ms: median (fastest-slowest) of the runs. Cold = the first query after a restart (PuppyGraph) or with the set opened and the graph built inside the timed part (kleene); warm = the same query again.

graph query what answer kleene cold kleene warm PuppyGraph Gremlin cold PuppyGraph Gremlin warm PuppyGraph Cypher cold PuppyGraph Cypher warm check
zox-M khop-1 vertices within 1 hops of 851 2 0.5 (0.3-3.4) 0.0 (0.0-0.0) 11057.4 (10936.6-11446.7) 200.2 (105.3-221.1) 8527.4 (8247.5-11750.3) 141.6 (125.1-157.6) kleene = plain; gremlin agrees; cypher agrees
zox-M khop-2 vertices within 2 hops of 851 5 0.3 (0.2-0.3) 0.0 (0.0-0.0) 8674.1 (8259.9-12265.7) 95.3 (89.1-119.4) 8434.2 (8277.3-8626.9) 142.7 (133.5-152.7) kleene = plain; gremlin agrees; cypher agrees
zox-M khop-3 vertices within 3 hops of 851 11 0.2 (0.2-0.3) 0.0 (0.0-0.0) 8460.0 (8411.9-8538.2) 149.3 (135.2-171.8) 8471.1 (8357.8-8553.0) 207.2 (169.1-230.7) kleene = plain; gremlin agrees; cypher agrees
zox-M khop-6 vertices within 6 hops of 851 28 0.2 (0.2-0.3) 0.0 (0.0-0.0) 9361.9 (9007.0-9381.5) 499.4 (440.1-543.2) 8618.6 (8583.6-8714.5) 261.9 (239.0-315.6) kleene = plain; gremlin agrees; cypher agrees
zox-M khop-10 vertices within 10 hops of 851 327 0.3 (0.3-0.3) 0.0 (0.0-0.0) - - 9577.2 (9557.3-9882.7) 428.9 (407.4-474.4) kleene = plain; gremlin failed: stopped at the 600 s limit (GremlinServerError: 597: [DAE-05] Data access execution failed: Query planning timed out after 30 seconds. Retry the req); cypher agrees
zox-M bfs vertices 851 reaches 26758 1.4 (1.3-5.2) 0.9 (0.8-0.9) 14822.4 (14235.6-15135.4) 5905.4 (5848.1-5979.5) - - kleene = plain; gremlin agrees
zox-M path-0 fewest hops 3385 -> 7470 28 2.0 (1.8-2.0) 0.8 (0.8-4.2) - - 7372.1 (7352.5-8095.4) 727.1 (637.5-756.0) kleene = plain; cypher agrees
zox-M path-1 fewest hops 20048 -> 22190 1 0.3 (0.3-0.4) 0.0 (0.0-0.1) - - 7436.5 (7424.8-7511.5) 227.9 (197.0-259.6) kleene = plain; cypher agrees
zox-M path-2 fewest hops 27417 -> 29645 38 1.0 (1.0-1.0) 0.8 (0.7-0.8) - - 7396.6 (7358.2-7536.5) 191.3 (182.3-230.2) kleene = plain; cypher agrees
zox-M path-3 fewest hops 6726 -> 7827 1 0.3 (0.3-0.4) 0.0 (0.0-0.0) - - 7393.4 (7356.6-7578.3) 370.5 (330.2-436.9) kleene = plain; cypher agrees
zox-M wcc weak components 2965 1.6 (1.4-4.7) 1.2 (1.2-1.2) - - 15373.3 (14267.7-17302.9) 7874.6 (7221.1-9559.8) kleene = plain; cypher agrees
rmat22 khop-1 vertices within 1 hops of 119941 1 52.1 (50.4-52.6) 5.8 (5.4-8.5) 6999.7 (6871.4-7333.2) 123.6 (113.2-148.7) 6948.8 (6897.3-6967.9) 161.1 (142.8-164.5) kleene = plain; gremlin agrees; cypher agrees
rmat22 khop-2 vertices within 2 hops of 119941 2403 49.6 (48.9-51.4) 5.5 (5.4-8.9) 7396.3 (7154.2-8715.0) 183.7 (175.8-230.5) 7067.2 (7050.7-7721.1) 177.1 (162.3-217.9) kleene = plain; gremlin agrees; cypher agrees
rmat22 khop-3 vertices within 3 hops of 119941 564006 58.7 (58.4-59.5) 14.9 (14.8-16.2) 7511.7 (7404.5-9549.6) 423.1 (398.5-558.0) 7298.6 (7124.3-7343.7) 385.9 (343.2-527.8) kleene = plain; gremlin agrees; cypher agrees
rmat22 khop-6 vertices within 6 hops of 119941 1624246 76.9 (73.2-79.9) 29.1 (26.9-31.2) 9602.8 (9345.6-9616.1) 2067.4 (2030.3-2156.2) - - kleene = plain; gremlin agrees; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat22 khop-10 vertices within 10 hops of 119941 1624252 82.3 (72.7-85.9) 33.9 (33.0-41.9) 15743.8 (13278.3-16439.8) 6093.0 (5412.0-6903.1) - - kleene = plain; gremlin agrees; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat22 bfs vertices 119941 reaches 1624252 74.7 (70.5-78.0) 30.4 (27.8-35.9) 66243.5 57341.5 - - kleene = plain; gremlin agrees
rmat22 path-0 fewest hops 2184224 -> 1055655 4 87.2 (78.0-87.9) 41.0 (36.9-47.4) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat22 path-1 fewest hops 2050015 -> 568953 4 77.2 (75.2-80.7) 30.1 (27.4-32.5) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat22 path-2 fewest hops 1233797 -> 4175635 5 73.6 (72.4-76.3) 28.3 (26.5-32.7) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 500: Internal Server Error
rmat22 path-3 fewest hops 4067348 -> 3861571 4 79.3 (76.0-83.8) 37.7 (35.8-56.2) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat22 wcc weak components 2185779 78.0 (76.8-78.8) 35.0 (30.4-44.6) - - 39321.0 (36944.4-47822.9) 36873.1 (30480.3-44907.1) kleene = plain; cypher DIFFERS (2185230)
rmat24 khop-1 vertices within 1 hops of 3790722 1 184.5 (184.1-185.2) 14.4 (11.7-15.4) 7188.2 (7103.2-7329.0) 338.4 (298.1-455.6) 6788.0 (6739.6-6871.3) 135.3 (123.1-137.1) kleene = plain; gremlin agrees; cypher agrees
rmat24 khop-2 vertices within 2 hops of 3790722 59 180.8 (179.6-183.9) 13.8 (12.9-21.2) 6993.9 (6980.3-7062.5) 232.9 (204.4-248.4) 6942.5 (6864.7-6980.6) 172.9 (152.7-178.5) kleene = plain; gremlin agrees; cypher agrees
rmat24 khop-3 vertices within 3 hops of 3790722 68907 185.6 (185.0-194.2) 16.8 (14.7-19.3) 7511.0 (7452.0-7551.6) 526.8 (513.3-590.1) 7241.9 (7217.0-7360.9) 342.1 (304.3-381.0) kleene = plain; gremlin agrees; cypher agrees
rmat24 khop-6 vertices within 6 hops of 3790722 5924351 267.3 (265.8-270.0) 100.1 (85.3-110.2) 15452.8 (15334.8-16061.5) 7413.2 (7088.9-8053.8) - - kleene = plain; gremlin agrees; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat24 khop-10 vertices within 10 hops of 3790722 5924758 263.8 (254.1-291.0) 99.9 (91.7-106.5) - - - - kleene = plain; gremlin failed: GremlinServerError: 597: [DAE-05] Data access execution failed: Memory of default_wg exceed limit. Used: 12528357072, Limit: 12523615027. Mem usage has exceed the limit of query pool; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat24 bfs vertices 3790722 reaches 5924758 252.9 (248.9-253.3) 90.3 (79.6-93.9) - - - - kleene = plain; gremlin failed: GremlinServerError: 597: [PEVS-03] Failed to prepare inputs for vertex step
rmat24 path-0 fewest hops 5669299 -> 4225299 4 314.1 (305.8-321.1) 141.1 (136.4-161.9) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat24 path-1 fewest hops 8200063 -> 2275029 3 289.8 (281.8-291.9) 143.4 (122.4-166.5) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat24 path-2 fewest hops 4935191 -> 16702955 3 295.7 (288.0-306.9) 119.5 (106.6-121.6) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat24 path-3 fewest hops 3851629 -> 15443630 3 289.1 (288.1-300.7) 125.1 (116.6-134.9) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
rmat24 wcc weak components 9402277 308.5 (294.9-330.1) 170.9 (154.8-187.6) - - 156192.7 - kleene = plain; cypher DIFFERS (9391829)
road2048 khop-1 vertices within 1 hops of 362332 3 26.6 (25.9-27.8) 7.1 (5.7-9.1) 6903.4 (6811.2-6968.2) 85.1 (83.5-97.1) 6785.2 (6752.4-6826.9) 138.2 (129.2-145.1) kleene = plain; gremlin agrees; cypher agrees
road2048 khop-2 vertices within 2 hops of 362332 7 28.5 (28.2-29.5) 5.5 (5.4-5.7) 7088.4 (6998.4-7639.9) 182.9 (166.4-189.9) 7067.1 (6958.3-7067.4) 187.3 (173.2-205.5) kleene = plain; gremlin agrees; cypher agrees
road2048 khop-3 vertices within 3 hops of 362332 14 26.4 (25.0-29.9) 8.0 (6.1-9.1) 7473.7 (7272.1-7797.4) 285.9 (276.2-319.6) 7469.7 (7144.3-7682.6) 225.9 (205.0-232.5) kleene = plain; gremlin agrees; cypher agrees
road2048 khop-6 vertices within 6 hops of 362332 48 25.9 (24.8-27.3) 8.0 (6.5-10.6) 7696.1 (7599.6-7771.5) 645.3 (600.5-712.2) 7426.6 (7371.6-7485.7) 464.7 (459.6-474.1) kleene = plain; gremlin agrees; cypher agrees
road2048 khop-10 vertices within 10 hops of 362332 129 29.6 (29.2-29.8) 8.2 (7.0-12.8) 8748.4 (8576.7-9648.4) 1084.4 (1003.6-1164.8) 9255.9 (9159.4-9532.6) 1698.8 (1657.0-2611.5) kleene = plain; gremlin agrees; cypher agrees
road2048 bfs vertices 362332 reaches 3977927 173.8 (173.0-193.1) 173.1 (150.8-304.0) - - - - kleene = plain; gremlin failed: stopped at the 600 s limit (GremlinServerError: 598: Evaluation exceeded the configured 'evaluationTimeout' threshold of 600000 ms or evaluation was)
road2048 path-0 fewest hops 119941 -> 1056099 731 137.5 (135.4-144.7) 122.9 (119.0-135.2) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
road2048 path-1 fewest hops 476922 -> 569535 2207 382.9 (191.0-392.0) 149.9 (142.1-152.0) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request
road2048 path-2 fewest hops 2824399 -> 4175288 2040 138.4 (133.0-138.5) 119.5 (118.9-125.5) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 500: Internal Server Error
road2048 path-3 fewest hops 3862582 -> 3860548 19 140.9 (139.4-142.1) 123.7 (119.7-127.2) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 500: Internal Server Error
road2048 wcc weak components 142085 66.9 (61.1-74.9) 42.0 (38.9-43.9) - - - - kleene = plain; cypher failed: HTTPError: HTTP Error 400: Bad Request

K4: one part on oden through Ballista

kleene-ballista, one part on oden; loads at start: oden 87.23

kleene-ballista over oden (split blocks:1, placement part p on machine p % M), scheduler http://192.168.1.144:50250; first = the graph's first query (loaded and split on the executors inside it), warm = 5 runs after it

graph query engine answer cold warm kleene cold kleene warm check
zox-M khop-1 kleene 2 39.2 21.6 (16.9-38.8) 0.5 (0.3-3.4) 0.0 (0.0-0.0) agrees
zox-M khop-2 kleene 5 - 22.8 (22.0-33.1) 0.3 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-3 kleene 11 - 27.6 (25.4-50.4) 0.2 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-6 kleene 28 - 52.1 (45.8-57.0) 0.2 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-10 kleene 327 - 94.4 (85.5-186.5) 0.3 (0.3-0.3) 0.0 (0.0-0.0) agrees
zox-M bfs kleene 26758 - 18.7 (15.7-38.3) 1.4 (1.3-5.2) 0.9 (0.8-0.9) agrees
zox-M path-0 kleene - - - 2.0 (1.8-2.0) 0.8 (0.8-4.2) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M path-1 kleene - - - 0.3 (0.3-0.4) 0.0 (0.0-0.1) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M path-2 kleene - - - 1.0 (1.0-1.0) 0.8 (0.7-0.8) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M path-3 kleene - - - 0.3 (0.3-0.4) 0.0 (0.0-0.0) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M wcc kleene 2965 - 17.1 (16.1-19.4) 1.6 (1.4-4.7) 1.2 (1.2-1.2) agrees
rmat22 khop-1 kleene 1 2648.7 23.7 (19.4-32.8) 52.1 (50.4-52.6) 5.8 (5.4-8.5) agrees
rmat22 khop-2 kleene 2403 - 30.2 (27.6-33.3) 49.6 (48.9-51.4) 5.5 (5.4-8.9) agrees
rmat22 khop-3 kleene 564006 - 244.2 (220.0-269.9) 58.7 (58.4-59.5) 14.9 (14.8-16.2) agrees
rmat22 khop-6 kleene 1624246 - 873.7 (816.8-983.1) 76.9 (73.2-79.9) 29.1 (26.9-31.2) agrees
rmat22 khop-10 kleene 1624252 - 1007.7 (940.7-1150.5) 82.3 (72.7-85.9) 33.9 (33.0-41.9) agrees
rmat22 bfs kleene 1624252 - 262.2 (245.1-402.7) 74.7 (70.5-78.0) 30.4 (27.8-35.9) agrees
rmat22 path-0 kleene - - - 87.2 (78.0-87.9) 41.0 (36.9-47.4) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 path-1 kleene - - - 77.2 (75.2-80.7) 30.1 (27.4-32.5) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 path-2 kleene - - - 73.6 (72.4-76.3) 28.3 (26.5-32.7) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 path-3 kleene - - - 79.3 (76.0-83.8) 37.7 (35.8-56.2) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 wcc kleene 2185779 - 361.2 (294.5-3772.5) 78.0 (76.8-78.8) 35.0 (30.4-44.6) agrees
rmat24 khop-1 kleene 1 12071.8 22.8 (21.4-69.1) 184.5 (184.1-185.2) 14.4 (11.7-15.4) agrees
rmat24 khop-2 kleene 59 - 27.0 (24.7-74.8) 180.8 (179.6-183.9) 13.8 (12.9-21.2) agrees
rmat24 khop-3 kleene 68907 - 74.0 (67.6-98.7) 185.6 (185.0-194.2) 16.8 (14.7-19.3) agrees
rmat24 khop-6 kleene 5924351 - 3020.0 (2951.2-3143.7) 267.3 (265.8-270.0) 100.1 (85.3-110.2) agrees
rmat24 khop-10 kleene 5924758 - 4122.5 (3429.5-5335.6) 263.8 (254.1-291.0) 99.9 (91.7-106.5) agrees
rmat24 bfs kleene 5924758 - 1891.8 (975.5-2026.3) 252.9 (248.9-253.3) 90.3 (79.6-93.9) agrees
rmat24 path-0 kleene - - - 314.1 (305.8-321.1) 141.1 (136.4-161.9) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 path-1 kleene - - - 289.8 (281.8-291.9) 143.4 (122.4-166.5) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 path-2 kleene - - - 295.7 (288.0-306.9) 119.5 (106.6-121.6) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 path-3 kleene - - - 289.1 (288.1-300.7) 125.1 (116.6-134.9) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 wcc kleene 9402277 - 1277.4 (1216.8-17445.8) 308.5 (294.9-330.1) 170.9 (154.8-187.6) agrees
road2048 khop-1 kleene 3 476.6 30.0 (25.5-112.4) 26.6 (25.9-27.8) 7.1 (5.7-9.1) agrees
road2048 khop-2 kleene 7 - 34.4 (28.3-37.1) 28.5 (28.2-29.5) 5.5 (5.4-5.7) agrees
road2048 khop-3 kleene 14 - 33.9 (27.4-35.9) 26.4 (25.0-29.9) 8.0 (6.1-9.1) agrees
road2048 khop-6 kleene 48 - 48.2 (43.6-68.2) 25.9 (24.8-27.3) 8.0 (6.5-10.6) agrees
road2048 khop-10 kleene 129 - 70.6 (64.4-85.9) 29.6 (29.2-29.8) 8.2 (7.0-12.8) agrees
road2048 bfs kleene 3977927 - 561.1 (544.4-709.7) 173.8 (173.0-193.1) 173.1 (150.8-304.0) agrees
road2048 path-0 kleene - - - 137.5 (135.4-144.7) 122.9 (119.0-135.2) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 path-1 kleene - - - 382.9 (191.0-392.0) 149.9 (142.1-152.0) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 path-2 kleene - - - 138.4 (133.0-138.5) 119.5 (118.9-125.5) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 path-3 kleene - - - 140.9 (139.4-142.1) 123.7 (119.7-127.2) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 wcc kleene 142085 - 96.5 (87.0-554.4) 66.9 (61.1-74.9) 42.0 (38.9-43.9) agrees

K4: 3 machines, id blocks

kleene-ballista, blocks:3 over oden + loki + dwarf; loads at start: oden 90.10, loki 1.07, dwarf

kleene-ballista over oden + loki + dwarf (split blocks:3, placement part p on machine p % M), scheduler http://192.168.1.144:50250; first = the graph's first query (loaded and split on the executors inside it), warm = 5 runs after it

graph query engine answer cold warm kleene cold kleene warm check
zox-M khop-1 kleene 2 355.6 33.6 (24.9-45.3) 0.5 (0.3-3.4) 0.0 (0.0-0.0) agrees
zox-M khop-2 kleene 5 - 38.5 (35.0-106.9) 0.3 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-3 kleene 11 - 57.5 (41.9-86.9) 0.2 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-6 kleene 28 - 82.9 (67.9-114.8) 0.2 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-10 kleene 327 - 121.2 (113.6-178.0) 0.3 (0.3-0.3) 0.0 (0.0-0.0) agrees
zox-M bfs kleene 26758 - 483.0 (460.5-796.0) 1.4 (1.3-5.2) 0.9 (0.8-0.9) agrees
zox-M path-0 kleene - - - 2.0 (1.8-2.0) 0.8 (0.8-4.2) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M path-1 kleene - - - 0.3 (0.3-0.4) 0.0 (0.0-0.1) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M path-2 kleene - - - 1.0 (1.0-1.0) 0.8 (0.7-0.8) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M path-3 kleene - - - 0.3 (0.3-0.4) 0.0 (0.0-0.0) failed: not run over machines yet: the core's per-part side for it is not there yet
zox-M wcc kleene 2965 - 121.9 (102.7-156.0) 1.6 (1.4-4.7) 1.2 (1.2-1.2) agrees
rmat22 khop-1 kleene 1 159.8 40.0 (37.1-46.6) 52.1 (50.4-52.6) 5.8 (5.4-8.5) agrees
rmat22 khop-2 kleene 2403 - 44.0 (36.7-107.0) 49.6 (48.9-51.4) 5.5 (5.4-8.9) agrees
rmat22 khop-3 kleene 564006 - 448.5 (430.9-727.9) 58.7 (58.4-59.5) 14.9 (14.8-16.2) agrees
rmat22 khop-6 kleene 1624246 - 5084.1 (3829.7-7824.3) 76.9 (73.2-79.9) 29.1 (26.9-31.2) agrees
rmat22 khop-10 kleene 1624252 - 5305.2 (4544.9-5898.4) 82.3 (72.7-85.9) 33.9 (33.0-41.9) agrees
rmat22 bfs kleene 1624252 - 6133.8 (5240.7-9610.1) 74.7 (70.5-78.0) 30.4 (27.8-35.9) agrees
rmat22 path-0 kleene - - - 87.2 (78.0-87.9) 41.0 (36.9-47.4) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 path-1 kleene - - - 77.2 (75.2-80.7) 30.1 (27.4-32.5) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 path-2 kleene - - - 73.6 (72.4-76.3) 28.3 (26.5-32.7) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 path-3 kleene - - - 79.3 (76.0-83.8) 37.7 (35.8-56.2) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat22 wcc kleene 2185779 - 17882.6 (12093.8-20092.1) 78.0 (76.8-78.8) 35.0 (30.4-44.6) agrees
rmat24 khop-1 kleene 1 12801.9 69.2 (26.4-86.7) 184.5 (184.1-185.2) 14.4 (11.7-15.4) agrees
rmat24 khop-2 kleene 59 - 42.5 (34.9-73.5) 180.8 (179.6-183.9) 13.8 (12.9-21.2) agrees
rmat24 khop-3 kleene 68907 - 121.9 (84.9-144.6) 185.6 (185.0-194.2) 16.8 (14.7-19.3) agrees
rmat24 khop-6 kleene 5924351 - 16159.1 (15958.5-16965.6) 267.3 (265.8-270.0) 100.1 (85.3-110.2) agrees
rmat24 khop-10 kleene 5924758 - 15839.8 (14750.8-16783.8) 263.8 (254.1-291.0) 99.9 (91.7-106.5) agrees
rmat24 bfs kleene 5924758 - 21658.8 (21596.9-24616.3) 252.9 (248.9-253.3) 90.3 (79.6-93.9) agrees
rmat24 path-0 kleene - - - 314.1 (305.8-321.1) 141.1 (136.4-161.9) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 path-1 kleene - - - 289.8 (281.8-291.9) 143.4 (122.4-166.5) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 path-2 kleene - - - 295.7 (288.0-306.9) 119.5 (106.6-121.6) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 path-3 kleene - - - 289.1 (288.1-300.7) 125.1 (116.6-134.9) failed: not run over machines yet: the core's per-part side for it is not there yet
rmat24 wcc kleene 9402277 - 56805.3 (53819.8-70498.4) 308.5 (294.9-330.1) 170.9 (154.8-187.6) agrees
road2048 khop-1 kleene 3 899.3 35.1 (29.4-45.9) 26.6 (25.9-27.8) 7.1 (5.7-9.1) agrees
road2048 khop-2 kleene 7 - 43.6 (38.7-56.0) 28.5 (28.2-29.5) 5.5 (5.4-5.7) agrees
road2048 khop-3 kleene 14 - 55.9 (41.3-142.2) 26.4 (25.0-29.9) 8.0 (6.1-9.1) agrees
road2048 khop-6 kleene 48 - 58.3 (52.6-65.3) 25.9 (24.8-27.3) 8.0 (6.5-10.6) agrees
road2048 khop-10 kleene 129 - 116.4 (105.2-175.3) 29.6 (29.2-29.8) 8.2 (7.0-12.8) agrees
road2048 bfs kleene 3977927 - 494.8 (468.6-542.7) 173.8 (173.0-193.1) 173.1 (150.8-304.0) agrees
road2048 path-0 kleene - - - 137.5 (135.4-144.7) 122.9 (119.0-135.2) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 path-1 kleene - - - 382.9 (191.0-392.0) 149.9 (142.1-152.0) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 path-2 kleene - - - 138.4 (133.0-138.5) 119.5 (118.9-125.5) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 path-3 kleene - - - 140.9 (139.4-142.1) 123.7 (119.7-127.2) failed: not run over machines yet: the core's per-part side for it is not there yet
road2048 wcc kleene 142085 - 110.5 (100.6-644.0) 66.9 (61.1-74.9) 42.0 (38.9-43.9) agrees

K4: 3 machines, hash

kleene-ballista, hash:3 over oden + loki + dwarf (try 1, 15:2x-15:47Z; the client was stopped at road2048 bfs, so this file is rebuilt from its stderr and the scheduler REST view); oden load 87-140 during it, from other sessions

kleene-ballista over oden + loki + dwarf (split hash:3, placement part p on machine p % M), scheduler http://192.168.1.144:50250

graph query engine answer cold warm kleene cold kleene warm check
zox-M khop-1 kleene 2 37.9 30.0 (25.8-36.4) 0.5 (0.3-3.4) 0.0 (0.0-0.0) agrees
zox-M khop-2 kleene 5 - 41.2 (38.6-43.5) 0.3 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-3 kleene 11 - 43.4 (37.5-51.5) 0.2 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-6 kleene 28 - 72.9 (70.5-77.5) 0.2 (0.2-0.3) 0.0 (0.0-0.0) agrees
zox-M khop-10 kleene 327 - 117.1 (105.4-118.9) 0.3 (0.3-0.3) 0.0 (0.0-0.0) agrees
zox-M bfs kleene 26758 - 381.0 (339.9-438.0) 1.4 (1.3-5.2) 0.9 (0.8-0.9) agrees
zox-M wcc kleene 2965 - 136.9 (125.0-145.5) 1.6 (1.4-4.7) 1.2 (1.2-1.2) agrees
rmat22 khop-1 kleene 1 3720.2 31.0 (29.3-52.6) 52.1 (50.4-52.6) 5.8 (5.4-8.5) agrees
rmat22 khop-2 kleene 2403 - 57.4 (40.0-83.9) 49.6 (48.9-51.4) 5.5 (5.4-8.9) agrees
rmat22 khop-3 kleene 564006 - 442.2 (423.0-899.2) 58.7 (58.4-59.5) 14.9 (14.8-16.2) agrees
rmat22 khop-6 kleene 1624246 - 4481.8 (4240.9-4889.0) 76.9 (73.2-79.9) 29.1 (26.9-31.2) agrees
rmat22 khop-10 kleene 1624252 - 4254.3 (3971.4-4831.4) 82.3 (72.7-85.9) 33.9 (33.0-41.9) agrees
rmat22 bfs kleene 1624252 - 5000.7 (4919.8-5063.2) 74.7 (70.5-78.0) 30.4 (27.8-35.9) agrees
rmat22 wcc kleene 2185779 - 13927.1 (13380.5-17215.6) 78.0 (76.8-78.8) 35.0 (30.4-44.6) agrees
rmat24 khop-1 kleene 1 16811.6 35.1 (28.7-119.4) 184.5 (184.1-185.2) 14.4 (11.7-15.4) agrees
rmat24 khop-2 kleene 59 - 48.0 (36.2-74.5) 180.8 (179.6-183.9) 13.8 (12.9-21.2) agrees
rmat24 khop-3 kleene 68907 - 75.1 (69.0-165.6) 185.6 (185.0-194.2) 16.8 (14.7-19.3) agrees
rmat24 khop-6 kleene 5924351 - 15282.4 (14767.5-23103.6) 267.3 (265.8-270.0) 100.1 (85.3-110.2) agrees
rmat24 khop-10 kleene 5924758 - 17384.2 (14765.8-28996.2) 263.8 (254.1-291.0) 99.9 (91.7-106.5) agrees
rmat24 bfs kleene 5924758 - 23633.4 (20557.6-26352.6) 252.9 (248.9-253.3) 90.3 (79.6-93.9) agrees
rmat24 wcc kleene 9402277 - 61241.6 (57122.4-70671.8) 308.5 (294.9-330.1) 170.9 (154.8-187.6) agrees
road2048 khop-1 kleene 3 1179.6 49.7 (27.1-105.4) 26.6 (25.9-27.8) 7.1 (5.7-9.1) agrees
road2048 khop-2 kleene 7 - 41.5 (35.3-78.5) 28.5 (28.2-29.5) 5.5 (5.4-5.7) agrees
road2048 khop-3 kleene 14 - 64.9 (41.3-242.9) 26.4 (25.0-29.9) 8.0 (6.1-9.1) agrees
road2048 khop-6 kleene 48 - 69.5 (57.4-77.5) 25.9 (24.8-27.3) 8.0 (6.5-10.6) agrees
road2048 khop-10 kleene 129 - 109.9 (101.3-130.6) 29.6 (29.2-29.8) 8.2 (7.0-12.8) agrees

One machine and several

The same queries on one machine and over several. One machine is expected to be the fastest: a graph that fits in one machine's memory pays nothing for the network, and every round over machines adds an exchange. The comparison that counts is (2) against (3), kleene on several machines against PuppyGraph on several. PuppyGraph's free edition runs on one node only (a cluster is their Enterprise edition, under a licence); so (3) is their own published figure, marked as their claim and not measured here, until a measured cluster run replaces it. (4) is PuppyGraph on one node as measured on this page.

kleene on several machines: kleene on oden + loki + dwarf, Distributed v1.1 (17:06-17:18Z).

JOB V (Distributed v1.1) over oden + loki + dwarf, 17:06-17:18Z, oden load 120-245 (other sessions), loki 2.3-2.6, dwarf 15-36 (other sessions): R-MAT and zox-M with the whole graph on every machine, one search cut in slices 32,12,12 (the cores); road2048 split by row blocks, parts loaded ahead

kleene-ballista over oden + loki + dwarf (split whole:32,12,12, placement part p on machine p % M), scheduler http://192.168.1.144:50250; first = the graph's first query (loaded and split on the executors inside it), warm = 5 runs after it

road2048 khops, row blocks over oden + loki + dwarf, parts loaded ahead (run 17:16Z, oden load 164.65-170.77 other sessions); file rebuilt from the run output (the same name was written again by the bfs/wcc run)

Times in ms, warm: median (fastest-slowest).

graph query answer (1) kleene, one machine (oden) (2) kleene, several machines (3) PuppyGraph on 4 nodes (THEIR CLAIM, not measured here) (4) PuppyGraph, one node (measured here) check
zox-M khop-1 2 0.0 (0.0-0.0) 59.5 (42.7-92.1) - gremlin 200.2 (105.3-221.1); cypher 141.6 (125.1-157.6) agrees
zox-M khop-2 5 0.0 (0.0-0.0) 40.6 (35.4-68.4) - gremlin 95.3 (89.1-119.4); cypher 142.7 (133.5-152.7) agrees
zox-M khop-3 11 0.0 (0.0-0.0) 54.0 (40.7-83.5) - gremlin 149.3 (135.2-171.8); cypher 207.2 (169.1-230.7) agrees
zox-M khop-6 28 0.0 (0.0-0.0) 53.6 (44.7-80.7) - gremlin 499.4 (440.1-543.2); cypher 261.9 (239.0-315.6) agrees
zox-M khop-10 327 0.0 (0.0-0.0) 67.7 (56.3-130.0) 2260 (their claim; graph not named) cypher 428.9 (407.4-474.4) agrees
zox-M bfs 26758 0.9 (0.8-0.9) 43.5 (23.4-65.7) - gremlin 5905.4 (5848.1-5979.5) agrees
zox-M path-0 28 0.8 (0.8-4.2) failed: not run over machines yet: the core's per-part side for it is not there yet - cypher 727.1 (637.5-756.0) -
zox-M path-1 1 0.0 (0.0-0.1) failed: not run over machines yet: the core's per-part side for it is not there yet - cypher 227.9 (197.0-259.6) -
zox-M path-2 38 0.8 (0.7-0.8) failed: not run over machines yet: the core's per-part side for it is not there yet - cypher 191.3 (182.3-230.2) -
zox-M path-3 1 0.0 (0.0-0.0) failed: not run over machines yet: the core's per-part side for it is not there yet - cypher 370.5 (330.2-436.9) -
zox-M wcc 2965 1.2 (1.2-1.2) 23.8 (15.3-28.4) - cypher 7874.6 (7221.1-9559.8) agrees
rmat22 khop-1 1 5.8 (5.4-8.5) 28.5 (23.7-31.6) - gremlin 123.6 (113.2-148.7); cypher 161.1 (142.8-164.5) agrees
rmat22 khop-2 2403 5.5 (5.4-8.9) 26.6 (21.4-26.6) - gremlin 183.7 (175.8-230.5); cypher 177.1 (162.3-217.9) agrees
rmat22 khop-3 564006 14.9 (14.8-16.2) 156.2 (71.9-226.9) - gremlin 423.1 (398.5-558.0); cypher 385.9 (343.2-527.8) agrees
rmat22 khop-6 1624246 29.1 (26.9-31.2) 241.2 (152.2-305.3) - gremlin 2067.4 (2030.3-2156.2) agrees
rmat22 khop-10 1624252 33.9 (33.0-41.9) 312.0 (249.7-484.8) 2260 (their claim; graph not named) gremlin 6093.0 (5412.0-6903.1) agrees
rmat22 bfs 1624252 30.4 (27.8-35.9) 321.7 (220.0-374.1) - gremlin 57341.5 agrees
rmat22 path-0 4 41.0 (36.9-47.4) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat22 path-1 4 30.1 (27.4-32.5) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat22 path-2 5 28.3 (26.5-32.7) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat22 path-3 4 37.7 (35.8-56.2) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat22 wcc 2185779 35.0 (30.4-44.6) 62.2 (55.3-67.4) - cypher 36873.1 (30480.3-44907.1) agrees
rmat24 khop-1 1 14.4 (11.7-15.4) 24.6 (22.5-26.0) - gremlin 338.4 (298.1-455.6); cypher 135.3 (123.1-137.1) agrees
rmat24 khop-2 59 13.8 (12.9-21.2) 51.5 (28.6-135.7) - gremlin 232.9 (204.4-248.4); cypher 172.9 (152.7-178.5) agrees
rmat24 khop-3 68907 16.8 (14.7-19.3) 37.4 (30.3-60.9) - gremlin 526.8 (513.3-590.1); cypher 342.1 (304.3-381.0) agrees
rmat24 khop-6 5924351 100.1 (85.3-110.2) 479.0 (326.2-504.5) - gremlin 7413.2 (7088.9-8053.8) agrees
rmat24 khop-10 5924758 99.9 (91.7-106.5) 496.3 (435.8-598.8) 2260 (their claim; graph not named) - agrees
rmat24 bfs 5924758 90.3 (79.6-93.9) 593.4 (481.3-645.3) - - agrees
rmat24 path-0 4 141.1 (136.4-161.9) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat24 path-1 3 143.4 (122.4-166.5) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat24 path-2 3 119.5 (106.6-121.6) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat24 path-3 3 125.1 (116.6-134.9) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
rmat24 wcc 9402277 170.9 (154.8-187.6) 192.6 (187.0-207.5) - - agrees
road2048 khop-1 3 7.1 (5.7-9.1) 42.2 (36.6-156.4) - gremlin 85.1 (83.5-97.1); cypher 138.2 (129.2-145.1) agrees
road2048 khop-2 7 5.5 (5.4-5.7) 47.8 (43.3-50.6) - gremlin 182.9 (166.4-189.9); cypher 187.3 (173.2-205.5) agrees
road2048 khop-3 14 8.0 (6.1-9.1) 132.5 (49.8-172.4) - gremlin 285.9 (276.2-319.6); cypher 225.9 (205.0-232.5) agrees
road2048 khop-6 48 8.0 (6.5-10.6) 191.9 (143.3-317.7) - gremlin 645.3 (600.5-712.2); cypher 464.7 (459.6-474.1) agrees
road2048 khop-10 129 8.2 (7.0-12.8) 319.6 (277.4-343.9) 2260 (their claim; graph not named) gremlin 1084.4 (1003.6-1164.8); cypher 1698.8 (1657.0-2611.5) agrees
road2048 bfs 3977927 173.1 (150.8-304.0) 854.7 (713.6-966.8) - - agrees
road2048 path-0 731 122.9 (119.0-135.2) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
road2048 path-1 2207 149.9 (142.1-152.0) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
road2048 path-2 2040 119.5 (118.9-125.5) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
road2048 path-3 19 123.7 (119.7-127.2) failed: not run over machines yet: the core's per-part side for it is not there yet - - -
road2048 wcc 142085 42.0 (38.9-43.9) 243.8 (234.4-310.4) - - agrees

The paper's ten-hop figure

Four nodes against their four nodes (2026-11-29 21:20-22:01Z, method in bench/distributed.md, "The redo"): KleeneGraph on four machines with 6 cores each, the core limit set by taskset plus -c 6, the whole graph on each, warm median of 3: ten hops on rmat26 (533M edges) 0.88 s, on rmat28 (2.1 billion edges) 2.50 s; answers 21634047 and 79046257, equal to one machine's. PuppyGraph's cited figure is 2.26 s, with the size of their nodes not published.

arXiv 2609.01525 cites PuppyGraph answering a ten-hop query in 2.26 s on a four-node cluster. The figure is PuppyGraph's own (their pages say "10-hop neighbour query, 600M edges" in one place and "billions of edges" in another); neither the paper nor their pages name the dataset, the start vertex, the query text or the node size, so the run cannot be repeated as such. Theirs: 4 nodes; ours: 1 node. The closest public graph of that size class here is the suite's R-MAT at scale 26 (GAP's kron generator, seed 27491095: 67.1M vertices, 533M edges, reproducible by kleene benchmark); the "billions" class (twitter-2010, 1.47B edges) was not run. The same ten-hop count (distinct vertices within ten forward hops) is run on it by both engines below; 2.26 s is set beside it as cited, not measured here.

Ours: rmat24 (16777216 vertices, 132718372 edges), khop-10 (vertices within 10 hops of 3790722), on ONE node: oden (AMD Ryzen Threadripper PRO 3975WX 32-Cores), kleene 32 threads, PuppyGraph in a container capped at the same 5 CPUs. Load average on oden: kleene run 93.56; PuppyGraph run rmat24: load average 19.77 at its start; rmat24: load average 14.54 at its end.

engine nodes answer cold ms warm ms
PuppyGraph, paper figure (dataset not named) 4 - - 2260 (as cited)
PuppyGraph 1.21.0 gremlin 1 - GremlinServerError: 597: [DAE-05] Data access execution failed: Memory of default_wg exceed limit. Used: 12528357072, Limit: 12523615027. Mem usage has exceed the limit of query pool -
PuppyGraph 1.21.0 cypher 1 - HTTPError: HTTP Error 400: Bad Request -
K4: one part on oden through Ballista: kleene 1 5924758 - 4122.5 (3429.5-5335.6)
K4: 3 machines, id blocks: kleene 3 5924758 - 15839.8 (14750.8-16783.8)
K4: 3 machines, hash: kleene 3 5924758 - 17384.2 (14765.8-28996.2)
kleene on oden + loki + dwarf, Distributed v1.1 (17:06-17:18Z): kleene 3 5924758 - 496.3 (435.8-598.8)
kleene 1 5924758 263.8 (254.1-291.0) 99.9 (91.7-106.5)