Kumo Engine Benchmarks
The chart compares neighborhood retrieval on the October 21, 2026 synthetic commerce graph: 50 billion nodes and 175.5 billion edges. Kumo Engine and both DuckDB representations ran on the same AWS i4i.32xlarge, with 128 vCPUs, 1 TiB RAM, and 30 TB local NVMe.
Values are normalized seconds per million seed evaluations, derived from warm sampling throughput. They exclude graph preparation, seed mapping, worker initialization, and model training. Lower is faster. The sections below describe this experiment and separate training, prediction, and framework comparisons.
Context Neighborhood Generation
Context generation retrieves connected records and their raw features for each starting entity, or seed. These neighborhoods supply model inputs for graph models, transformers, and in-context learning workloads. The Kumo Engine and DuckDB results below are from the October 21, 2026 trial.
This experiment used a synthetic commerce graph with 50 billion nodes, 175.5 billion edges, seven tables, and nine foreign keys. The source contained 2.8 TB of uncompressed data, stored as 500 GiB of Parquet files. DiskGraph’s 2.6 TiB index exceeded the Kumo host’s 1 TiB RAM.
The methods used different data representations:
- Kumo Engine: Reads the DiskGraph index from local NVMe storage.
- Prepared DuckDB: Reads native on-disk tables and key-and-time-sorted lookup tables prepared from Parquet.
- DuckDB on Parquet: Reads source Parquet files directly.
- Polars GPU: Queries sorted Parquet files with GPU execution.
Neighborhood Retrieval Time
These are normalized seconds per million seed evaluations, calculated as one million divided by measured seeds per second. They exclude graph preparation, seed mapping, worker initialization and model training. Kumo Engine and both DuckDB representations used warm passes that repeated the same seeds immediately after a cold pass. The index exceeded RAM, so warm does not mean the complete index was memory resident.
At these two-to-four-hop depths, Kumo Engine achieved 2.4 to 8.9 times the warm sampling throughput of prepared DuckDB. The Polars GPU column is a prior report on different hardware, without matching raw GPU records for verification.
Neighborhood checks matched node identities for 300 seeds each at two and three hops; the checks do not establish equality for every timed seed or for four hops.
Context benchmark methodology
The October 21 trial used Engine revision 392c25ed and DuckDB 2.0.0.
Kumo used 16 processes with eight threads each, batches of 512, 256 and 128, and 1,000,000, 300,000 and 200,000 seed evaluations at two, three and four hops.
The harness repeated a 200,000-seed map where necessary.
DuckDB used eight processes with 16 threads each and 800,000, 400,000 and 160,000 seed evaluations.
Both used temporal-most-recent sampling with the corresponding prefix of fanout 24,8,6,8,6,8 and fetched raw node rows.
The earlier comparison used DuckDB 1.5.6 and DiskGraph revision cf37f8b8.
Rounded normalized timings of 5, 19 and 39 seconds for Kumo versus 4.0, 5.3 and 6.5 minutes for prepared DuckDB produced the reported 10 to 48 times range.
Download Kumo scripts, a synthetic data generator, run instructions and measured reference records.
Both downloads on this page generate synthetic data with the benchmark schema. The original dataset is not included, so new runs will have different timings.
One-Time Graph Preparation
These retrieval timings exclude the initial preparation step:
DiskGraph took longer to prepare than the tested DuckDB and Polars representations, then retrieved neighborhoods faster. Repeated sampling can amortize that preparation cost.
Graph Database Comparison
This experiment compares Kumo Engine with DuckDB and two other graph databases, called Graph Database A (on disk) and Graph Database B (in memory), on temporal neighborhood sampling at 1 billion, 10 billion, and 50 billion nodes. It uses a regenerated synthetic commerce graph in which the timestamp issues of the October 21 dataset are fixed, so these results supersede the earlier timings for the engines they cover.
Setup
Each seed is a customer at a point in time. For every seed, the engine samples the customer’s related rows, their related rows, and so on, using only rows that existed at the anchor time, and returns every column of every sampled node. All engines used the same temporal most-recent rule with fanout 24,8,6,8,6,8 for hops one to six.
The graph has seven tables: two entity tables (customers and merchants) and five timestamped event tables (purchases, merchant views, searches, favorites, and reviews). Seeds are distinct customers anchored at December 18, 2024, 23:59:59. Each hop depth used 1,000,000, 300,000, 200,000, 60,000, and 60,000 seeds at two, three, four, five, and six hops.
Two AWS machines ran one engine at a time: an i4i.32xlarge (128 vCPUs, 992 GiB RAM, 28 TB local NVMe) and an i7ie.48xlarge (192 vCPUs, 1,488 GiB RAM, 109 TB local NVMe). Each cell ran a cold pass first, after dropping the page cache and starting fresh processes, then a warm pass over the same seeds.
The metric is seeds per second: complete neighborhoods, sampled and with every column delivered, per second. Higher is faster. It excludes graph preparation, tensor encoding, and model training.
Throughput Results
The charts and tables below show the i4i.32xlarge results. Every reported cell matched a hop by hop check of 300 seeds against the source Parquet data.
Warm Neighborhood Retrieval Time
The charts show normalized seconds per million seed evaluations, calculated as one million divided by measured warm seeds per second, for two to four hops. They exclude graph preparation and process setup. Lower is faster.
Graph Database B appears only at 1B because it does not fit in memory at larger sizes. Neither graph database ran at 50B (see Scale Limits). The tables below add five and six hops and the cold cache results.
Throughput Tables
Each cell is warm / cold seeds per second.
1B Nodes
10B Nodes
50B Nodes
The prepared DuckDB database at 50B (1.24 TB) is larger than the i4i.32xlarge RAM, which is why its two hop warm result is below its three hop result.
i7ie.48xlarge results
Each cell is warm / cold seeds per second.
1B Nodes
10B Nodes
50B Nodes
What the Results Show
- Two to four hops, warm: Kumo Engine was fastest at every size, and its throughput stayed nearly flat as the graph grew. On the i7ie.48xlarge at two hops, it sampled 414,000, 401,000, and 382,000 seeds per second at 1B, 10B, and 50B. Prepared DuckDB 2.0.0 slowed as the graph grew, so the Kumo Engine lead widened from about 1.6 times at 1B to about 3 times at 10B and about 10 times at 50B.
- Five and six hops: The engines converge, because each seed expands to hundreds of thousands of rows and producing the output dominates. Prepared DuckDB 2.0.0 was a few percent ahead at 1B and 10B. Kumo Engine was about 1.4 times ahead at 50B.
- Cold cache: Every engine slows by 10 times or more once the data outgrows RAM. Kumo Engine stayed fastest at large sizes: about 1.5 to 2 times prepared DuckDB 2.0.0 at 10B for two to four hops, and about 3 to 7 times at 50B. At 1B, where the data nearly fits in RAM, DuckDB was level or slightly faster.
- DuckDB versions: DuckDB 2.0.0 was 2 to 8 times faster than 1.5.6. Querying Parquet directly was 2 to 4 times slower than the prepared database up to four hops, and dropped to 127 to 192 seeds per second at five and six hops at 50B.
- Graph Database A: Close to Kumo Engine only at six hops on 1B. At 10B it was up to about 11 times slower warm and about 4 to 9 times slower cold.
- Graph Database B: Because it keeps everything in RAM, it has no cold penalty, but it was about 16 times slower than Kumo Engine at two hops.
Preparation and Storage
Preparation is the one-time cost from source Parquet to a graph ready to query, measured on the i4i.32xlarge.
Prepared DuckDB builds faster and stores about half as much as Kumo Engine. Graph Database A used about 4.5 times the disk of Kumo Engine at 10B, and loading took 3.6 to 5.2 hours across the two machines, compared with about 11 to 13 minutes for Kumo Engine.
Scale Limits
- Graph Database A at 50B: The tested edition could not store the 50B graph. Its store format is capped at about 34 billion nodes and 34 billion relationships, and the 50B graph has 50.0 billion nodes and 87.8 billion relationships.
- Graph Database B at 10B and 50B: It stores everything in RAM and used about 372 GiB at 1B. Extrapolating, 10B needs about 3.6 TiB and 50B about 18 TiB, against 0.97 and 1.45 TiB of RAM on these machines. It ran only at 1B.
Graph database methodology and caveats
Kumo Engine used 8 threads per process with batches of 512, 256, 128, 64, and 64 at two to six hops. DuckDB used 16 threads per process. Both ran at the harness defaults, with processes equal to vCPUs divided by threads. The two graph databases used the best concurrency from a search per machine and graph size, so they received tuning that Kumo Engine and DuckDB did not.
Graph Database A loaded through its bulk import tool, then built one composite index per foreign key on key and time, with the page cache sized from the vendor’s memory recommendation. Graph Database B loaded from Parquet in its bulk load mode, built descending key-and-time indexes, then wrote one snapshot. Both setups were reviewed for fairness before any timed run.
- Seeds per second measures sampling plus delivery of every column of every sampled node. It is not training throughput. For Kumo Engine, the columns come from the index column store rather than the source rows.
- Cold means the page cache was dropped and processes were fresh. For Graph Database A, the server restarted with an empty page cache, which includes runtime warm-up. Graph Database B is in memory, so its later cold passes query the resident store.
- Neighborhood correctness accepts any tie break at the same timestamp.
- Differences between runs on the same machine are about 10 percent.
- The graph databases ran faster with more seeds per cell, so the concurrency search cells, which used 10 percent of the seeds, differ from the timed cells by up to about 2 times in either direction.
- DuckDB 2.0.0 hit two transient internal errors at 50B. Both passed on a rerun on the same data. The default storage timeout of Graph Database B breaks index builds at 1B, so it was raised.
Versions: Kumo Engine from the main branch at revision 86dc74de (November 2, 2026), and DuckDB 1.5.6 and 2.0.0. Both graph databases were current releases at the time of the run, driven from Python clients.
Commerce Training and Prediction Workflow
This October 10, 2026 experiment measured Kumo Engine training and batch prediction on the 50-billion-node synthetic commerce graph, using one AWS g6e.48xlarge with 192 vCPUs, 1.5 TiB RAM, eight available L40S GPUs and local NVMe scratch.
Training Pipeline
Kumo Engine trained a six-hop model in approximately 5.2 hours, including graph ingestion and training-table generation:
Training completed one epoch of 7,000 steps at batch size 64, consuming 448,000 training seeds. The fitting duration includes validation, test evaluation and fit setup/shutdown. The 61-minute ingestion measurement belongs to this training experiment; the 49.1-minute index build above belongs to the separate context-generation experiment. The recorded validation and test MAP@10 were 0.513 and 0.511, respectively.
Reuse Across Tasks
The reported run covers one recommendation task. Other tasks can reuse the same snapshot of unchanged data, with their own training tables and model configurations.
Batch Prediction
The commerce graph included 1,392,680,000 unique customers among its 50 billion nodes. Batch prediction ran on a subset of 5 million customers using one g6e.48xlarge.
Training and prediction methodology
The trial used runtime build 20261009+9a0321c and Torch 2.9.1.
The six-hop fanout was 24,8,6,8,6,8, with seed 1, eight loader workers, 700 validation steps, 700 test steps and explanations disabled.
Prediction used anchor 2024-12-25 23:59:59.
The source was 338.1 GiB of Parquet; the context trial used the same generated rows re-encoded as 497.9 GiB of Snappy Parquet.
Download the graph definition, synthetic generator and training/prediction runner.
Graph ML Framework Comparison
These experiments used a citation graph with 111 million nodes, 1.616 billion citation edges (3.23 billion including reverse edges), and 128-dimensional node features. The prediction task had 172 classes and 1.55 million labeled nodes across the official training, validation, and test splits.
PyG on Matched Hardware
Kumo Engine and an in-memory PyG implementation used the same model modules and matched training settings. Both ran for 15 epochs on one g5.16xlarge with one A10G GPU, 256 GiB RAM, and local NVMe.
Kumo Engine completed training and validation in 41 minutes 14 seconds, compared with 64 minutes 13 seconds for PyG, a 36% reduction. Its observed training-container memory was also lower:
Kumo Engine’s full workflow included ingestion, training, evaluation, and model publication. Its test accuracy was 0.67 percentage points lower in this run, alongside the lower training time and observed memory use.
GraphStorm on Larger Hardware
GraphStorm is an AWS open-source framework for graph neural network training and deployment. The configurations below stored graph data in RAM and used the same 111-million-node citation graph.
Graph construction ran on a separate r5.24xlarge with 768 GiB RAM. Distributed training used four g5.48xlarge instances; the single-node training configuration used one g5.16xlarge.
Distributed GraphStorm completed training faster than Kumo Engine, using more training hardware. Its graph-construction stage took longer than Kumo Engine’s full 55-minute workflow. The single-node GraphStorm run failed while loading the graph and features into RAM.
Additional Storage Examples
Separate workload examples illustrate the storage configurations used for different datasets:
These examples use different datasets and do not establish a relative capacity limit. They are separate from the commerce and citation-graph experiments above.
Comparison with a DuckDB Feature-Engineering Pipeline
This experiment compares two complete modeling workflows: Kumo Engine learning from connected records, and a model trained on features engineered with DuckDB. Both pipelines ran from raw Parquet to a trained model on the same 50-billion-node synthetic commerce dataset, using one AWS g6e.48xlarge per pipeline.
The DuckDB pipeline constructed model inputs with hand-written aggregates and multi-table joins. Features included column means, standard deviations, modes, and multi-hop signals such as co-purchase, co-view, and similar-customer features. Kumo Engine retrieved connected records and raw features for its graph model.
The DuckDB approach required task-specific labels, temporal windows, candidate sets, and feature logic.
The DuckDB trial used version 1.5.5 and completed on October 11, 2026. Its 9.9-hour total sums source loading through model fitting, excluding later batch scoring. The workflows use different model families and training budgets, so this is a complete-workflow comparison rather than a matched-model training test. The downloadable commerce folder runs the Kumo workflow; external DuckDB comparison software is not included.
Instance Compute Cost
Because both pipelines used the same instance type, their elapsed times imply approximately 1.9 times the instance compute cost for the DuckDB pipeline, at the same hourly rate. This comparison covers instance compute only.
Plan Your Evaluation
Use a representative task and dataset, then:
- Measure source ingestion and index preparation separately from repeated sampling, training, and prediction.
- Record hardware, software versions, sampling settings, model configuration, and the full training budget.
- Compare runtime and memory alongside held-out prediction quality, using the same evaluation population and metrics.
See the Model Plan Guide and the Kumo Engine Overview.