Skip to content

bench: demonstrate tokio-uring thread-per-core execution in dfbench#21716

Closed
Dandandan wants to merge 2 commits intomainfrom
tokio-uring-benchmark-demo
Closed

bench: demonstrate tokio-uring thread-per-core execution in dfbench#21716
Dandandan wants to merge 2 commits intomainfrom
tokio-uring-benchmark-demo

Conversation

@Dandandan
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

Explores thread-per-core execution using tokio-uring in the benchmark harness. Each worker runs its own tokio_uring::start runtime (a current-thread Tokio reactor driven by io_uring), so Parquet I/O and decode can be scheduled on the same core that will consume the bytes — avoiding cross-thread hops that the default multi-threaded Tokio runtime introduces.

This is a demo / experiment intended to measure the impact of thread-per-core + io_uring on ClickBench, not a production path.

What changes are included in this PR?

Two commits:

  1. bench: demonstrate tokio-uring thread-per-core execution

    • util::tokio_uring_pool — spawns N OS threads, each running its own tokio_uring::start runtime. pool.spawn(|| async { ... }) ships a Send closure to a round-robin worker, where it can build a possibly-!Send future that runs locally on that worker's ring.
    • util::tokio_uring_store::TokioUringObjectStore — local ObjectStore whose get_opts / get_ranges drive reads through tokio_uring::fs::File::read_at, dispatched across the pool. Writes / list / copy / delete delegate to LocalFileSystem.
    • ClickBench uses the pool by default on Linux (one worker per CPU). Output partitions are pool.spawn-ed so plan execution itself happens on the io_uring runtimes. Top-level CoalescePartitionsExec / SortPreservingMergeExec are stripped so their N-partition children fan out across workers; SPM merge is rebuilt over a MemorySourceConfig and re-executed on one worker.
    • Enabled via --tokio-uring-workers N (default: available_parallelism() on Linux, disabled elsewhere; 0 forces the legacy tokio MT path).
  2. bench: keep tokio-uring reads local to the caller's worker

    • Adds an IN_WORKER thread-local set by run_worker.
    • Fast path in TokioUringObjectStore::read_ranges_uring uses tokio_uring::spawn on the current ring when in_worker() is true, skipping the round-robin mpsc + oneshot round-trip so bytes land on the same core that will consume them.
    • Round-robin path kept for callers on a non-uring runtime (planning on the main Tokio MT).

All changes are confined to benchmarks/ and Linux-only (#[cfg(target_os = "linux")]). No changes to the DataFusion core crates.

Are these changes tested?

Exercised via dfbench clickbench on Linux. No new unit tests — this is a benchmark harness wiring experiment.

Are there any user-facing changes?

No public API changes. New opt-in CLI flag --tokio-uring-workers on the benchmark binary (Linux only).

Dandandan and others added 2 commits April 18, 2026 14:10
Adds a demo integration of `tokio-uring` into `dfbench`:

* `util::tokio_uring_pool` — spawns N OS threads, each running its own
  `tokio_uring::start` runtime (a current-thread Tokio reactor driven
  by `io_uring`). `pool.spawn(|| async { ... })` ships a Send closure
  to a round-robin worker, where it builds a possibly-`!Send` future
  that runs locally on that worker's ring.

* `util::tokio_uring_store::TokioUringObjectStore` — local
  `ObjectStore` whose `get_opts` and `get_ranges` drive reads through
  `tokio_uring::fs::File::read_at`, dispatched across the pool so
  every read lands on the next worker's ring. Writes, list, copy, and
  delete delegate to `LocalFileSystem`.

* ClickBench uses the pool by default on Linux (one worker per CPU).
  Each output partition of the physical plan is `pool.spawn`-ed, so
  plan execution itself happens on the io_uring runtimes. Top-level
  `CoalescePartitionsExec` / `SortPreservingMergeExec` are stripped
  so their N-partition children fan out across workers; for SPM the
  merge is rebuilt over a `MemorySourceConfig` and re-executed on one
  worker.

Enabled via `--tokio-uring-workers N` (default: `available_parallelism()`
on Linux, disabled elsewhere; `0` forces the legacy tokio MT path).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
When the ObjectStore is called from inside a pool worker (the common
case — plan execution is already dispatched onto the pool), hop-free
local dispatch is strictly better than the round-robin `pool.spawn`:
bytes land on the same core that will consume them, and we skip the
mpsc + oneshot round-trip.

Adds an `IN_WORKER` thread-local set by `run_worker`, and a fast path
in `TokioUringObjectStore::read_ranges_uring` that uses
`tokio_uring::spawn` on the current ring when `in_worker()` is true.
The round-robin path is kept for callers on a non-uring runtime
(e.g. during planning on the main tokio MT).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmarks

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4273644303-1460-84k2v 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing tokio-uring-benchmark-demo (b127c03) to 3b5008a (merge-base) diff using: tpcds
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4273644303-1459-gvrdl 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing tokio-uring-benchmark-demo (b127c03) to 3b5008a (merge-base) diff using: clickbench_partitioned
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4273644303-1461-9pvtp 6.12.55+ #1 SMP Sun Feb 1 08:59:41 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing tokio-uring-benchmark-demo (b127c03) to 3b5008a (merge-base) diff using: tpch
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

Comparing HEAD and tokio-uring-benchmark-demo
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃            tokio-uring-benchmark-demo ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.20 / 4.48 ±6.42 / 17.33 ms │          1.23 / 4.50 ±6.38 / 17.25 ms │     no change │
│ QQuery 1  │        14.98 / 15.41 ±0.26 / 15.68 ms │                                  FAIL │  incomparable │
│ QQuery 2  │        43.98 / 44.23 ±0.19 / 44.49 ms │                                  FAIL │  incomparable │
│ QQuery 3  │        40.11 / 40.86 ±0.84 / 42.46 ms │                                  FAIL │  incomparable │
│ QQuery 4  │     283.61 / 287.78 ±2.80 / 292.40 ms │                                  FAIL │  incomparable │
│ QQuery 5  │     326.96 / 333.03 ±4.29 / 340.14 ms │                                  FAIL │  incomparable │
│ QQuery 6  │           5.43 / 6.35 ±0.52 / 6.88 ms │                                  FAIL │  incomparable │
│ QQuery 7  │        17.28 / 18.21 ±0.73 / 19.11 ms │                                  FAIL │  incomparable │
│ QQuery 8  │     402.33 / 413.43 ±6.73 / 421.85 ms │                                  FAIL │  incomparable │
│ QQuery 9  │     647.63 / 656.89 ±8.89 / 673.72 ms │                                  FAIL │  incomparable │
│ QQuery 10 │        91.68 / 93.47 ±1.53 / 95.91 ms │                                  FAIL │  incomparable │
│ QQuery 11 │     103.98 / 104.81 ±0.49 / 105.39 ms │                                  FAIL │  incomparable │
│ QQuery 12 │     336.23 / 338.25 ±1.58 / 340.38 ms │                                  FAIL │  incomparable │
│ QQuery 13 │    447.68 / 458.38 ±10.80 / 474.97 ms │                                  FAIL │  incomparable │
│ QQuery 14 │     343.67 / 347.50 ±3.30 / 353.13 ms │                                  FAIL │  incomparable │
│ QQuery 15 │    353.45 / 368.03 ±13.03 / 386.47 ms │                                  FAIL │  incomparable │
│ QQuery 16 │     704.06 / 713.53 ±8.72 / 730.00 ms │                                  FAIL │  incomparable │
│ QQuery 17 │     698.89 / 705.09 ±3.93 / 709.39 ms │                                  FAIL │  incomparable │
│ QQuery 18 │ 1426.08 / 1450.81 ±25.04 / 1490.70 ms │                                  FAIL │  incomparable │
│ QQuery 19 │        35.92 / 38.23 ±1.90 / 41.51 ms │        31.72 / 31.80 ±0.07 / 31.89 ms │ +1.20x faster │
│ QQuery 20 │    706.95 / 727.46 ±19.03 / 753.75 ms │                                  FAIL │  incomparable │
│ QQuery 21 │     758.98 / 762.86 ±3.26 / 767.83 ms │                                  FAIL │  incomparable │
│ QQuery 22 │  1135.70 / 1141.08 ±5.91 / 1151.98 ms │                                  FAIL │  incomparable │
│ QQuery 23 │ 3063.47 / 3103.55 ±22.37 / 3121.40 ms │ 3105.94 / 3213.57 ±66.39 / 3299.54 ms │     no change │
│ QQuery 24 │      99.63 / 101.47 ±1.39 / 103.03 ms │     476.50 / 484.82 ±6.02 / 492.20 ms │  4.78x slower │
│ QQuery 25 │     136.43 / 139.48 ±2.35 / 142.24 ms │     139.59 / 146.25 ±6.90 / 159.61 ms │     no change │
│ QQuery 26 │     100.71 / 102.32 ±1.10 / 104.16 ms │     497.92 / 501.55 ±2.98 / 504.32 ms │  4.90x slower │
│ QQuery 27 │     850.46 / 857.05 ±6.53 / 869.01 ms │                                  FAIL │  incomparable │
│ QQuery 28 │ 3254.98 / 3279.80 ±18.36 / 3310.15 ms │                                  FAIL │  incomparable │
│ QQuery 29 │        51.25 / 54.66 ±4.03 / 62.57 ms │                                  FAIL │  incomparable │
│ QQuery 30 │     360.53 / 365.65 ±4.93 / 374.61 ms │                                  FAIL │  incomparable │
│ QQuery 31 │     375.02 / 391.75 ±9.90 / 404.85 ms │                                  FAIL │  incomparable │
│ QQuery 32 │ 1204.07 / 1271.70 ±45.64 / 1322.28 ms │                                  FAIL │  incomparable │
│ QQuery 33 │ 1451.81 / 1481.03 ±41.12 / 1558.67 ms │                                  FAIL │  incomparable │
│ QQuery 34 │ 1460.99 / 1473.15 ±12.40 / 1496.72 ms │                                  FAIL │  incomparable │
│ QQuery 35 │     393.13 / 400.37 ±3.99 / 405.10 ms │                                  FAIL │  incomparable │
│ QQuery 36 │     120.25 / 122.36 ±2.35 / 126.41 ms │                                  FAIL │  incomparable │
│ QQuery 37 │        47.81 / 49.32 ±1.25 / 51.37 ms │                                  FAIL │  incomparable │
│ QQuery 38 │        75.39 / 79.77 ±5.48 / 90.58 ms │                                  FAIL │  incomparable │
│ QQuery 39 │     216.01 / 221.87 ±3.50 / 226.19 ms │                                  FAIL │  incomparable │
│ QQuery 40 │        23.38 / 26.83 ±1.90 / 28.71 ms │                                  FAIL │  incomparable │
│ QQuery 41 │        20.95 / 21.88 ±0.56 / 22.65 ms │                                  FAIL │  incomparable │
│ QQuery 42 │        19.99 / 20.53 ±0.44 / 21.22 ms │                                  FAIL │  incomparable │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                         ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 3489.52ms │
│ Total Time (tokio-uring-benchmark-demo)   │ 4382.49ms │
│ Average Time (HEAD)                       │  581.59ms │
│ Average Time (tokio-uring-benchmark-demo) │  730.42ms │
│ Queries Faster                            │         1 │
│ Queries Slower                            │         2 │
│ Queries with No Change                    │         3 │
│ Queries with Failure                      │        37 │
└───────────────────────────────────────────┴───────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 114.2s
Peak memory 36.4 GiB
Avg memory 26.5 GiB
CPU user 1070.7s
CPU sys 91.6s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 22.5s
Peak memory 19.8 GiB
Avg memory 19.2 GiB
CPU user 175.6s
CPU sys 16.8s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

Comparing HEAD and tokio-uring-benchmark-demo
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                     HEAD ┃               tokio-uring-benchmark-demo ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │              6.64 / 7.01 ±0.72 / 8.45 ms │              6.71 / 7.11 ±0.74 / 8.59 ms │     no change │
│ QQuery 2  │        147.66 / 149.45 ±1.14 / 151.26 ms │        146.55 / 147.63 ±0.94 / 149.26 ms │     no change │
│ QQuery 3  │        115.11 / 116.30 ±1.01 / 117.87 ms │        113.92 / 114.38 ±0.32 / 114.84 ms │     no change │
│ QQuery 4  │    1299.88 / 1321.44 ±12.74 / 1337.00 ms │    1254.65 / 1271.98 ±15.79 / 1301.36 ms │     no change │
│ QQuery 5  │        174.44 / 175.98 ±1.19 / 177.46 ms │        173.04 / 174.00 ±0.91 / 175.61 ms │     no change │
│ QQuery 6  │       834.86 / 850.38 ±20.87 / 891.43 ms │       809.95 / 861.94 ±29.92 / 896.94 ms │     no change │
│ QQuery 7  │        344.39 / 348.61 ±2.99 / 352.49 ms │        341.92 / 346.57 ±3.07 / 349.97 ms │     no change │
│ QQuery 8  │        117.45 / 119.48 ±1.36 / 121.04 ms │        113.39 / 115.63 ±1.76 / 118.37 ms │     no change │
│ QQuery 9  │        102.16 / 105.72 ±2.72 / 108.65 ms │        100.38 / 102.89 ±2.41 / 106.13 ms │     no change │
│ QQuery 10 │        107.75 / 108.92 ±0.63 / 109.58 ms │        106.21 / 106.77 ±0.55 / 107.78 ms │     no change │
│ QQuery 11 │       903.23 / 922.22 ±12.31 / 935.65 ms │        863.95 / 874.07 ±8.09 / 887.37 ms │ +1.06x faster │
│ QQuery 12 │           45.26 / 46.86 ±1.10 / 48.26 ms │           43.66 / 44.64 ±0.60 / 45.31 ms │     no change │
│ QQuery 13 │        398.91 / 403.64 ±3.34 / 407.20 ms │        395.74 / 398.32 ±1.56 / 400.65 ms │     no change │
│ QQuery 14 │     1018.09 / 1029.21 ±7.03 / 1039.91 ms │    1001.57 / 1010.80 ±10.52 / 1028.40 ms │     no change │
│ QQuery 15 │           15.38 / 17.11 ±1.16 / 18.54 ms │           15.56 / 16.81 ±1.40 / 18.74 ms │     no change │
│ QQuery 16 │              7.39 / 7.69 ±0.54 / 8.77 ms │              7.15 / 7.35 ±0.11 / 7.48 ms │     no change │
│ QQuery 17 │        227.92 / 231.47 ±2.15 / 234.20 ms │        226.94 / 230.51 ±2.33 / 234.00 ms │     no change │
│ QQuery 18 │        128.76 / 129.74 ±1.15 / 131.78 ms │        125.29 / 127.16 ±1.26 / 128.95 ms │     no change │
│ QQuery 19 │        158.31 / 159.35 ±1.06 / 161.01 ms │        152.53 / 155.17 ±1.80 / 157.44 ms │     no change │
│ QQuery 20 │           13.36 / 13.88 ±0.37 / 14.49 ms │           13.45 / 13.88 ±0.38 / 14.52 ms │     no change │
│ QQuery 21 │           19.61 / 20.00 ±0.25 / 20.37 ms │           19.00 / 19.60 ±0.44 / 20.10 ms │     no change │
│ QQuery 22 │        474.97 / 480.78 ±3.90 / 486.93 ms │       478.16 / 487.82 ±11.09 / 509.44 ms │     no change │
│ QQuery 23 │        869.20 / 874.44 ±3.24 / 878.10 ms │        857.69 / 864.75 ±8.50 / 879.79 ms │     no change │
│ QQuery 24 │        384.92 / 388.24 ±3.11 / 394.16 ms │        383.11 / 385.90 ±1.65 / 387.78 ms │     no change │
│ QQuery 25 │        341.06 / 344.28 ±2.18 / 347.23 ms │        340.48 / 342.36 ±1.61 / 344.61 ms │     no change │
│ QQuery 26 │           80.46 / 82.61 ±1.52 / 84.27 ms │           80.80 / 82.11 ±0.80 / 82.93 ms │     no change │
│ QQuery 27 │              6.80 / 7.43 ±0.97 / 9.35 ms │              6.71 / 7.23 ±0.54 / 8.07 ms │     no change │
│ QQuery 28 │        149.46 / 150.69 ±1.37 / 153.35 ms │        148.39 / 149.08 ±0.82 / 150.68 ms │     no change │
│ QQuery 29 │        282.73 / 284.76 ±1.39 / 286.35 ms │        283.98 / 284.84 ±0.62 / 285.91 ms │     no change │
│ QQuery 30 │           43.72 / 45.08 ±1.27 / 46.75 ms │           42.85 / 44.63 ±1.43 / 46.29 ms │     no change │
│ QQuery 31 │        171.84 / 174.01 ±1.81 / 176.15 ms │        169.49 / 171.55 ±1.46 / 172.80 ms │     no change │
│ QQuery 32 │           58.13 / 59.11 ±0.64 / 59.85 ms │           57.40 / 57.96 ±0.66 / 59.20 ms │     no change │
│ QQuery 33 │        142.76 / 144.48 ±0.98 / 145.78 ms │        139.51 / 142.41 ±1.84 / 144.02 ms │     no change │
│ QQuery 34 │              6.96 / 7.77 ±0.77 / 8.94 ms │              6.95 / 7.16 ±0.15 / 7.40 ms │ +1.08x faster │
│ QQuery 35 │        106.63 / 109.23 ±1.40 / 110.75 ms │        106.32 / 108.05 ±1.29 / 110.17 ms │     no change │
│ QQuery 36 │              6.42 / 7.07 ±0.82 / 8.67 ms │              6.51 / 6.66 ±0.16 / 6.93 ms │ +1.06x faster │
│ QQuery 37 │             8.44 / 9.43 ±0.83 / 10.85 ms │             8.13 / 8.98 ±0.79 / 10.33 ms │     no change │
│ QQuery 38 │           85.79 / 89.33 ±2.88 / 94.23 ms │           85.22 / 88.54 ±2.67 / 92.65 ms │     no change │
│ QQuery 39 │        124.23 / 128.51 ±3.10 / 132.77 ms │        122.64 / 125.22 ±2.55 / 129.34 ms │     no change │
│ QQuery 40 │        109.80 / 113.55 ±3.19 / 119.24 ms │        110.50 / 116.34 ±4.31 / 122.99 ms │     no change │
│ QQuery 41 │           14.42 / 15.13 ±0.43 / 15.68 ms │           14.15 / 14.75 ±0.53 / 15.65 ms │     no change │
│ QQuery 42 │        109.28 / 110.33 ±0.94 / 111.53 ms │        106.40 / 108.25 ±1.28 / 109.59 ms │     no change │
│ QQuery 43 │              6.00 / 6.08 ±0.12 / 6.32 ms │              6.08 / 6.20 ±0.14 / 6.46 ms │     no change │
│ QQuery 44 │           11.18 / 11.66 ±0.32 / 12.09 ms │           11.64 / 12.18 ±0.87 / 13.90 ms │     no change │
│ QQuery 45 │           51.04 / 51.82 ±0.57 / 52.46 ms │           50.78 / 51.57 ±0.45 / 52.00 ms │     no change │
│ QQuery 46 │              8.21 / 8.46 ±0.23 / 8.87 ms │              8.52 / 8.69 ±0.18 / 9.02 ms │     no change │
│ QQuery 47 │        692.79 / 700.46 ±4.46 / 706.10 ms │        691.64 / 697.51 ±4.17 / 704.38 ms │     no change │
│ QQuery 48 │        288.45 / 292.48 ±2.98 / 296.54 ms │        279.79 / 288.43 ±4.61 / 292.37 ms │     no change │
│ QQuery 49 │        250.77 / 254.92 ±2.58 / 257.83 ms │        250.37 / 253.85 ±2.10 / 256.68 ms │     no change │
│ QQuery 50 │        224.38 / 227.95 ±2.54 / 231.26 ms │        224.38 / 229.81 ±4.02 / 235.14 ms │     no change │
│ QQuery 51 │        183.51 / 185.31 ±1.72 / 188.27 ms │        183.44 / 185.40 ±2.47 / 190.26 ms │     no change │
│ QQuery 52 │        108.31 / 109.90 ±1.27 / 112.10 ms │        108.51 / 110.04 ±1.21 / 111.98 ms │     no change │
│ QQuery 53 │        103.08 / 104.43 ±0.88 / 105.62 ms │        104.68 / 106.23 ±1.11 / 107.84 ms │     no change │
│ QQuery 54 │        146.26 / 148.09 ±1.75 / 150.92 ms │        144.89 / 147.05 ±1.50 / 149.57 ms │     no change │
│ QQuery 55 │        108.60 / 109.87 ±1.01 / 110.96 ms │        107.05 / 108.61 ±1.49 / 110.88 ms │     no change │
│ QQuery 56 │        141.11 / 142.49 ±1.41 / 144.52 ms │        141.59 / 143.77 ±1.55 / 146.29 ms │     no change │
│ QQuery 57 │        176.46 / 177.44 ±0.82 / 178.78 ms │        175.90 / 178.44 ±1.54 / 180.27 ms │     no change │
│ QQuery 58 │        292.58 / 298.53 ±6.20 / 307.76 ms │        288.10 / 299.79 ±7.76 / 309.08 ms │     no change │
│ QQuery 59 │        199.62 / 201.64 ±1.20 / 203.16 ms │        198.58 / 200.49 ±1.59 / 203.01 ms │     no change │
│ QQuery 60 │        144.21 / 146.34 ±1.36 / 148.10 ms │        144.20 / 145.85 ±1.42 / 147.74 ms │     no change │
│ QQuery 61 │           13.03 / 13.39 ±0.31 / 13.91 ms │           12.97 / 13.30 ±0.48 / 14.24 ms │     no change │
│ QQuery 62 │       880.00 / 922.51 ±33.51 / 956.63 ms │       873.85 / 902.18 ±21.16 / 929.88 ms │     no change │
│ QQuery 63 │        106.98 / 107.24 ±0.42 / 108.08 ms │        104.52 / 105.62 ±0.65 / 106.36 ms │     no change │
│ QQuery 64 │        679.07 / 688.06 ±5.35 / 693.39 ms │        678.51 / 691.90 ±8.36 / 702.72 ms │     no change │
│ QQuery 65 │        248.41 / 254.67 ±4.10 / 258.33 ms │        249.17 / 254.51 ±3.69 / 260.19 ms │     no change │
│ QQuery 66 │       240.70 / 253.66 ±10.34 / 265.19 ms │        245.42 / 255.83 ±7.25 / 264.40 ms │     no change │
│ QQuery 67 │       303.78 / 316.93 ±10.73 / 334.45 ms │        313.79 / 319.01 ±5.09 / 328.65 ms │     no change │
│ QQuery 68 │            8.76 / 10.23 ±1.55 / 13.06 ms │            8.80 / 10.89 ±1.35 / 12.94 ms │  1.06x slower │
│ QQuery 69 │         99.95 / 103.56 ±2.18 / 105.52 ms │        100.94 / 103.68 ±1.57 / 105.58 ms │     no change │
│ QQuery 70 │       333.26 / 355.68 ±11.75 / 366.88 ms │       333.71 / 346.36 ±12.06 / 369.35 ms │     no change │
│ QQuery 71 │        136.12 / 138.12 ±1.28 / 139.40 ms │        133.85 / 136.66 ±3.28 / 142.67 ms │     no change │
│ QQuery 72 │        622.67 / 625.71 ±2.21 / 629.23 ms │        611.68 / 622.93 ±9.40 / 636.95 ms │     no change │
│ QQuery 73 │              6.63 / 7.58 ±0.77 / 8.91 ms │              6.82 / 7.76 ±0.80 / 9.14 ms │     no change │
│ QQuery 74 │        548.19 / 551.91 ±2.13 / 554.72 ms │        581.69 / 592.58 ±7.85 / 605.01 ms │  1.07x slower │
│ QQuery 75 │        273.39 / 277.54 ±2.11 / 279.26 ms │        276.05 / 277.50 ±1.26 / 279.29 ms │     no change │
│ QQuery 76 │        131.69 / 133.17 ±1.25 / 135.04 ms │        132.00 / 134.17 ±1.51 / 136.34 ms │     no change │
│ QQuery 77 │        189.78 / 192.41 ±3.39 / 198.81 ms │        187.60 / 190.17 ±2.09 / 193.08 ms │     no change │
│ QQuery 78 │        341.37 / 346.05 ±3.39 / 350.34 ms │        342.36 / 346.48 ±3.51 / 351.05 ms │     no change │
│ QQuery 79 │        234.37 / 236.48 ±1.66 / 238.26 ms │        231.31 / 233.65 ±1.41 / 235.57 ms │     no change │
│ QQuery 80 │        323.09 / 325.52 ±1.93 / 329.02 ms │        325.31 / 327.40 ±1.18 / 328.91 ms │     no change │
│ QQuery 81 │           26.01 / 26.75 ±0.70 / 28.05 ms │           25.67 / 27.11 ±1.21 / 29.23 ms │     no change │
│ QQuery 82 │        204.24 / 206.51 ±2.10 / 210.41 ms │        201.44 / 203.87 ±1.67 / 206.07 ms │     no change │
│ QQuery 83 │           37.23 / 39.14 ±1.56 / 41.92 ms │           38.89 / 39.70 ±0.93 / 41.39 ms │     no change │
│ QQuery 84 │           47.37 / 48.83 ±0.74 / 49.31 ms │           48.02 / 48.47 ±0.38 / 48.96 ms │     no change │
│ QQuery 85 │        148.72 / 150.75 ±2.65 / 155.89 ms │        147.07 / 148.11 ±0.96 / 149.27 ms │     no change │
│ QQuery 86 │           38.58 / 39.69 ±1.00 / 41.06 ms │           37.82 / 39.76 ±1.10 / 40.84 ms │     no change │
│ QQuery 87 │           87.74 / 91.51 ±2.32 / 94.11 ms │           82.70 / 87.57 ±3.79 / 94.11 ms │     no change │
│ QQuery 88 │        100.83 / 101.73 ±0.59 / 102.57 ms │         99.55 / 100.51 ±1.06 / 102.42 ms │     no change │
│ QQuery 89 │        120.46 / 121.66 ±1.01 / 123.13 ms │        120.17 / 120.97 ±0.62 / 121.95 ms │     no change │
│ QQuery 90 │           24.23 / 24.62 ±0.22 / 24.90 ms │           23.68 / 24.17 ±0.29 / 24.55 ms │     no change │
│ QQuery 91 │           61.20 / 64.03 ±1.65 / 66.28 ms │           61.19 / 64.06 ±1.94 / 66.45 ms │     no change │
│ QQuery 92 │           57.37 / 58.74 ±1.20 / 60.75 ms │           56.30 / 57.90 ±1.10 / 59.68 ms │     no change │
│ QQuery 93 │        188.79 / 189.65 ±0.75 / 190.98 ms │        186.99 / 188.41 ±1.34 / 190.03 ms │     no change │
│ QQuery 94 │           61.12 / 62.14 ±0.66 / 63.06 ms │           60.49 / 61.14 ±0.53 / 61.83 ms │     no change │
│ QQuery 95 │        129.24 / 130.50 ±0.92 / 131.54 ms │        128.24 / 130.21 ±1.58 / 132.51 ms │     no change │
│ QQuery 96 │           73.53 / 74.84 ±0.86 / 75.99 ms │           71.11 / 73.47 ±1.28 / 74.62 ms │     no change │
│ QQuery 97 │        127.07 / 129.76 ±2.68 / 134.07 ms │        127.66 / 128.99 ±0.70 / 129.55 ms │     no change │
│ QQuery 98 │        154.12 / 156.35 ±1.90 / 158.96 ms │        151.54 / 155.16 ±2.73 / 159.17 ms │     no change │
│ QQuery 99 │ 10738.52 / 10780.48 ±21.13 / 10794.06 ms │ 10632.23 / 10700.93 ±51.54 / 10775.79 ms │     no change │
└───────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                         ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 31446.73ms │
│ Total Time (tokio-uring-benchmark-demo)   │ 31198.76ms │
│ Average Time (HEAD)                       │   317.64ms │
│ Average Time (tokio-uring-benchmark-demo) │   315.14ms │
│ Queries Faster                            │          3 │
│ Queries Slower                            │          2 │
│ Queries with No Change                    │         94 │
│ Queries with Failure                      │          0 │
└───────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 157.6s
Peak memory 5.0 GiB
Avg memory 4.1 GiB
CPU user 260.4s
CPU sys 17.1s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 156.3s
Peak memory 5.2 GiB
Avg memory 4.1 GiB
CPU user 258.6s
CPU sys 16.9s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan Dandandan closed this Apr 18, 2026
@Dandandan Dandandan deleted the tokio-uring-benchmark-demo branch April 19, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants