Cost of both signature verifiers: 2026-10-27, ARM build machine
Cost of checking every signature with both verifiers since v0.10.0, AWS-LC / OpenSSL and qanum-pqverify, on an aarch64 machine, with raw data.
This page reproduces docs/benchmarks/2026-10-27_arm_first-verifier/README.md from qanum-core v0.11.0 (release tag). Links to files that are not published on this site are shown as plain text until the source repository is public.
Contents
Produced by examples/pq_first_bench on the aarch64 machine of
../2026-10-21_arm_second-verifier/,
with the same plan, rounds and records as pq_dual_bench there. It measures
what the node pays for checking every post-quantum signature with two
independent verifiers, now that the first verifier is AWS-LC (ML-DSA) and
OpenSSL (SLH-DSA) instead of liboqs; the second is qanum-pqverify. The
x86-64 run of the same day is in
../2026-10-27_x86-64_first-verifier/.
The .jsonl files are the raw output; this page is a summary of those files.
Machine and method
| Gold core | Silver core | |
|---|---|---|
| Files | gold-core6.jsonl |
silver-core2.jsonl |
Core (taskset -c) |
6 (CPU part 0xd0d) |
2 (CPU part 0x805) |
| Max frequency during the run | 2.42 GHz | 1.80 GHz |
| Run time | 31 s | 107 s |
- Machine: the same aarch64 big.LITTLE development machine as
2026-10-21_arm_second-verifier, governorschedutil, compilerrustc 1.98.1 (48a229cea 2026-09-01). First verifieraws-lc 5.11.0 + openssl 3.5.9,qanum-pqverify0.1.0. Load and per-core frequency before and after each run are in the.env.txtfiles. - Build:
cargo build --release --locked --example pq_first_bench. - Command:
taskset -c <core> pq_first_bench --out <file>.jsonl, undernice -n 10, one run after the other. - Four ways of checking the same valid signatures, interleaved, three
rounds each:
first(FirstVerifier, AWS-LC / OpenSSL, alone),qanum-pqverifyalone,dual enforce(DualVerifierin enforce mode: mainnet, regtest) anddual shadow(testnet). - Statistics: median of all samples of the three rounds for valid signatures; invalid signatures are one round. Largest spread between rounds of the same way: 192 basis points (Gold), 49 (Silver).
- No disagreement: each run made 28,868 checks with
qanum-pqverifyand the two verifiers never disagreed.
Valid signatures
Median time per valid signature, Gold / Silver.
| Suite | First verifier | qanum-pqverify alone |
dual enforce |
|---|---|---|---|
| ML-DSA-44 | 56.7 µs / 184 µs | 85.8 µs / 312 µs | 142 µs / 509 µs |
| ML-DSA-87 | 162 µs / 525 µs | 220 µs / 790 µs | 380 µs / 1.35 ms |
| SLH-DSA-128s | 1.01 ms / 3.41 ms | 812 µs / 2.76 ms | 1.82 ms / 6.19 ms |
| SLH-DSA-256s | 2.10 ms / 6.97 ms | 1.70 ms / 5.74 ms | 3.82 ms / 12.74 ms |
A valid signature costs the sum of both verifiers. dual shadow gives the
same times within 1 % (see the .jsonl files).
Invalid signatures (one byte flipped)
Median per invalid signature, Gold / Silver.
| Suite | First verifier | dual enforce | dual shadow |
|---|---|---|---|
| ML-DSA-44 | 56.7 µs / 184 µs | 56.6 µs / 182 µs | 142 µs / 510 µs |
| ML-DSA-87 | 162 µs / 525 µs | 161 µs / 523 µs | 380 µs / 1.35 ms |
| SLH-DSA-128s | 1.01 ms / 3.48 ms | 1.01 ms / 3.47 ms | 1.83 ms / 6.31 ms |
| SLH-DSA-256s | 2.15 ms / 7.25 ms | 2.13 ms / 7.23 ms | 3.80 ms / 13.24 ms |
In enforce mode the second verifier is skipped when the first rejects, so an invalid signature costs what the first verifier costs.
Verify Units under enforce mode
Estimate = ceil(100 × median / median of ML-DSA-44), both through
dual enforce. Gold / Silver.
| Suite | Estimate | Consensus VU |
|---|---|---|
| ML-DSA-44 | 100 / 100 | 100 |
| ML-DSA-87 | 269 / 266 | 290 |
| SLH-DSA-128s | 1284 / 1218 | 1600 |
| SLH-DSA-256s | 2697 / 2505 | 3600 |
Every constant covers its estimate on both cores. ML-DSA-87 has the least room (269 of 290), as with liboqs.
Worst-case block estimate
A block holding as many signatures of one suite as MAX_BLOCK_VERIFY_UNITS
(200,000) allows, times the median of one signature, on one core. This is
an estimate, not a measured block. Block validation spreads signatures over
all cores, so a node with several cores takes less. Gold / Silver.
| Suite (signatures) | First verifier | dual enforce |
|---|---|---|
| ML-DSA-44 (2000) | 114 ms / 369 ms | 284 ms / 1,018 ms |
| ML-DSA-87 (689) | 112 ms / 362 ms | 262 ms / 933 ms |
| SLH-DSA-128s (125) | 126 ms / 427 ms | 228 ms / 775 ms |
| SLH-DSA-256s (55) | 116 ms / 384 ms | 211 ms / 701 ms |
On the slowest core the worst block takes about 1.02 s of signature checks with both verifiers (1.06 s with liboqs as the first verifier, stage 4 of 2026-10-21).
Against the liboqs measurement of 2026-10-21
Stage 4 of
../2026-10-21_arm_second-verifier/
(liboqs and the same qanum-pqverify code), Gold at 2.42 GHz in both.
First verifier alone, median per valid signature, Gold / Silver:
| Suite | liboqs (2026-10-21) | AWS-LC / OpenSSL (2026-10-27) |
|---|---|---|
| ML-DSA-44 | 59 µs / 188 to 192 µs | 56.7 µs / 184 µs |
| ML-DSA-87 | 166 µs / 541 to 565 µs | 162 µs / 525 µs |
| SLH-DSA-128s | 0.92 ms / 3.02 to 3.13 ms | 1.01 ms / 3.41 ms |
| SLH-DSA-256s | 1.90 ms / 6.35 to 6.72 ms | 2.10 ms / 6.97 ms |
dual enforce, Gold / Silver:
| Suite | 2026-10-21 (liboqs) | 2026-10-27 (AWS-LC / OpenSSL) |
|---|---|---|
| ML-DSA-44 | 145 µs / 527 µs | 142 µs / 509 µs |
| ML-DSA-87 | 389 µs / 1.40 ms | 380 µs / 1.35 ms |
| SLH-DSA-128s | 1.73 ms / 5.80 ms | 1.82 ms / 6.19 ms |
| SLH-DSA-256s | 3.63 ms / 12.23 ms | 3.82 ms / 12.74 ms |
ML-DSA is slightly faster with AWS-LC; SLH-DSA is slightly slower with OpenSSL. The liboqs Silver column is a range because liboqs was measured in four runs on 2026-10-21.