interplane.Get Omega
Read in your language

aien-receipts

Append-only AIEN verification receipts, indexed by repository and exact source commit. Read verdicts, signatures and retained logs before making a claim.

Brought by drakestapleton

branch main Branches Tags History

aien-receipts / audit / tls / omega-mv / bench / RESULTS.md

204 lines · 13222 bytes Raw Blame History Source

TlsProof HTTPS benchmark: results

All figures MEASURED on the DGX Spark (GB10) on 2026-10-26 under the frozen protocol (PROTOCOL.md sha256 fc351183906b97b9c3fb1bc90736b9943d91695af336fd06fafc4920684718b1, frozen 2026-10-26T21:25:43Z before any timed sample; FROZEN.sha256 lists every input and binary). Raw data: results/raw.jsonl (3000 client processes, all exit 0, all with the full sample count and the expected byte count for their workload); correctness gate results/gate.json (all 20 arm x suite x body cases matched the body sha256). Statistics: Wolfram (wolfram-cpu-.wl inputs, wolfram-out-*.json outputs): median of the 30 per-round values with a distribution-free 95.72% order-statistic CI (n = 30, ranks 10 and 21); "omega/arm" is the median of the 30 paired per-round ratios with the same CI.

Direction of the ratio, in words: for ms rows omega/arm > 1 means Omega is SLOWER; for MB/s rows omega/arm < 1 means Omega is SLOWER. "omega" is om/tls with the TCP_NODELAY fix (drivers/tls-nodelay.diff); "omega-asis" is om/tls exactly at PR #833 2d613b2d (code identical at the current head c4bf4150: 2d613b2d..c4bf4150 touches only .crumb, README.md and THREAT_MODEL.md).

Shared machine: load average 16.1-30.2 during the run (env rows in raw.jsonl), run under quiet-measure. Server: openssl s_server 3.0.13 on cpu 18 for every arm; it is the same for all arms, so its cost is in every number. Client CPU column: GNU time has 10 ms resolution, i.e. 0.25 ms per handshake at 40 handshakes per process; it includes process start-up and is coarse. Peak RSS is the whole client process (program + library + one connection at a time), not a per-connection figure. Omega's per-connection TLS state is fixed by layout: TLCSZ 119296 bytes plus a 262144-byte trust/scratch store (om/tls/tls.om constants; structural, not measured).

cpu 16 (X925), chacha

workloadarmmedian95% CIomega/arm (paired)95% CI
hs (ms)omega3.343.32–3.51——
hs (ms)omega-asis3.353.29–3.4610.995–1.01
hs (ms)openssl0.4690.448–0.5287.196.43–7.35
hs (ms)rustls-awslc0.290.281–0.34311.710.9–11.8
hs (ms)rustls-ring0.2930.286–0.31111.611.2–11.7
get1k (ms)omega3.533.39–3.82——
get1k (ms)omega-asis42.242–42.70.0830.08–0.0894
get1k (ms)openssl0.550.495–0.5966.696.42–6.9
get1k (ms)rustls-awslc0.3350.313–0.40710.59.8–10.8
get1k (ms)rustls-ring0.3250.32–0.3510.59.87–10.9
get1m (ms)omega8.658.36–8.97——
get1m (ms)omega-asis47.747.1–48.30.1780.177–0.181
get1m (ms)openssl1.441.39–1.65.935.71–6.12
get1m (ms)rustls-awslc1.211.17–1.317.136.84–7.24
get1m (ms)rustls-ring1.21.18–1.297.086.95–7.14
bulk16k (MB/s)omega211210–211——
bulk16k (MB/s)omega-asis142141–1431.481.47–1.49
bulk16k (MB/s)openssl12161202–12230.1740.173–0.176
bulk16k (MB/s)rustls-awslc12361216–12410.1710.169–0.171
bulk16k (MB/s)rustls-ring12311207–12400.1710.171–0.172
bulk1k (MB/s)omega158156–158——
bulk1k (MB/s)omega-asis116115–1161.361.35–1.36
bulk1k (MB/s)openssl338293–4080.4540.378–0.537
bulk1k (MB/s)rustls-awslc315296–3390.5010.466–0.536
bulk1k (MB/s)rustls-ring301277–3290.5160.479–0.573
armpeak RSS KiB (get1m process) median [CI]client CPU ms per handshake incl. startup/40, median [CI]
omega1440 [1440–1440]3 [3–3]
omega-asis1440 [1436–1440]3 [3–3]
openssl6428 [6420–6428]0.25 [0.25–0.25]
rustls-awslc4264 [4264–4284]0.5 [0.5–0.5]
rustls-ring3708 [3408–3728]0 [0–0]

cpu 16 (X925), aes128gcm

workloadarmmedian95% CIomega/arm (paired)95% CI
hs (ms)omega3.433.35–3.49——
hs (ms)omega-asis3.383.34–3.481.010.993–1.01
hs (ms)openssl0.4710.46–0.4967.237.06–7.44
hs (ms)rustls-awslc0.2950.281–0.30711.811.4–12
hs (ms)rustls-ring0.2930.285–0.30511.711.5–11.8
get1k (ms)omega3.523.44–3.82——
get1k (ms)omega-asis42.342–42.90.08330.0817–0.0906
get1k (ms)openssl0.5180.5–0.5726.776.56–7.05
get1k (ms)rustls-awslc0.3270.318–0.35610.910.8–11.1
get1k (ms)rustls-ring0.3360.327–0.36210.79.75–10.9
get1m (ms)omega24.424.3–24.7——
get1m (ms)omega-asis6362.9–63.10.3880.385–0.389
get1m (ms)openssl1.091.03–1.1922.620.8–23.9
get1m (ms)rustls-awslc0.8510.813–0.9172926.6–30.1
get1m (ms)rustls-ring0.8730.802–0.92428.926.7–30.5
bulk16k (MB/s)omega50.750.5–50.8——
bulk16k (MB/s)omega-asis45.445.3–45.51.121.11–1.12
bulk16k (MB/s)openssl20902039–21510.02420.0235–0.0249
bulk16k (MB/s)rustls-awslc21382068–21910.02380.0232–0.0244
bulk16k (MB/s)rustls-ring21372080–21660.02380.0234–0.0244
bulk1k (MB/s)omega41.841.7–41.8——
bulk1k (MB/s)omega-asis38.138.1–38.21.11.09–1.1
bulk1k (MB/s)openssl367338–4630.110.09–0.124
bulk1k (MB/s)rustls-awslc349340–3670.1180.114–0.123
bulk1k (MB/s)rustls-ring356334–3750.1170.11–0.125
armpeak RSS KiB (get1m process) median [CI]client CPU ms per handshake incl. startup/40, median [CI]
omega1440 [1436–1440]3 [3–3]
omega-asis1440 [1440–1440]3 [3–3]
openssl6428 [6424–6428]0.25 [0.25–0.25]
rustls-awslc3714 [3708–4216]0.5 [0.5–0.5]
rustls-ring3676 [3164–3676]0 [0–0]

cpu 2 (A725), chacha

workloadarmmedian95% CIomega/arm (paired)95% CI
hs (ms)omega7.317.25–7.35——
hs (ms)omega-asis7.277.26–7.310.997–1.01
hs (ms)openssl0.8860.875–0.98.238.15–8.33
hs (ms)rustls-awslc0.4730.457–0.47615.615.4–15.9
hs (ms)rustls-ring0.4640.46–0.47215.815.4–16
get1k (ms)omega7.517.39–7.57——
get1k (ms)omega-asis42.842.8–42.90.1750.173–0.177
get1k (ms)openssl0.9670.947–0.9797.837.7–7.96
get1k (ms)rustls-awslc0.5310.514–0.54214.114–14.4
get1k (ms)rustls-ring0.5230.516–0.5314.314–14.5
get1m (ms)omega18.318.2–18.3——
get1m (ms)omega-asis53.953.8–53.90.340.339–0.342
get1m (ms)openssl2.862.79–2.96.456.25–6.56
get1m (ms)rustls-awslc2.232.14–2.318.157.79–8.63
get1m (ms)rustls-ring2.192.12–2.248.418.25–8.63
bulk16k (MB/s)omega98.297.6–98.7——
bulk16k (MB/s)omega-asis81.781–81.91.21.2–1.21
bulk16k (MB/s)openssl610606–6190.1610.157–0.162
bulk16k (MB/s)rustls-awslc712706–7230.1370.136–0.139
bulk16k (MB/s)rustls-ring705695–7240.1390.135–0.142
bulk1k (MB/s)omega76.476–76.8——
bulk1k (MB/s)omega-asis66.165.9–66.21.161.15–1.16
bulk1k (MB/s)openssl302291–3070.2540.249–0.264
bulk1k (MB/s)rustls-awslc190188–2220.3990.342–0.404
bulk1k (MB/s)rustls-ring189187–2080.4010.368–0.407
armpeak RSS KiB (get1m process) median [CI]client CPU ms per handshake incl. startup/40, median [CI]
omega1412 [1412–1412]7 [7–7]
omega-asis1412 [1412–1412]7 [7–7]
openssl6428 [6428–6428]0.75 [0.5–0.75]
rustls-awslc3708 [3708–4216]1 [1–1.25]
rustls-ring3660 [3164–3676]0.25 [0.25–0.25]

cpu 2 (A725), aes128gcm

workloadarmmedian95% CIomega/arm (paired)95% CI
hs (ms)omega7.467.41–7.57——
hs (ms)omega-asis7.437.37–7.521.010.999–1.02
hs (ms)openssl0.9450.913–0.9948.187.74–8.58
hs (ms)rustls-awslc0.4870.467–0.50515.915.1–16.2
hs (ms)rustls-ring0.4790.47–0.51315.714.9–16.1
get1k (ms)omega7.767.59–8.08——
get1k (ms)omega-asis42.842.1–42.90.1830.179–0.192
get1k (ms)openssl1.040.976–1.117.597.24–8.2
get1k (ms)rustls-awslc0.5710.546–0.59114.213.1–14.8
get1k (ms)rustls-ring0.5430.531–0.59714.413.8–14.6
get1m (ms)omega49.548.9–50.5——
get1m (ms)omega-asis84.484–84.70.580.572–0.592
get1m (ms)openssl2.051.9–2.324.423.2–26.8
get1m (ms)rustls-awslc1.551.44–1.733228.3–34.3
get1m (ms)rustls-ring1.451.38–1.634.631.5–36.4
bulk16k (MB/s)omega24.322.3–24.9——
bulk16k (MB/s)omega-asis23.922.8–24.21.030.988–1.06
bulk16k (MB/s)openssl14291341–15060.01680.0159–0.0185
bulk16k (MB/s)rustls-awslc15091373–15550.01570.0148–0.017
bulk16k (MB/s)rustls-ring14841372–15690.01620.0155–0.0165
bulk1k (MB/s)omega20.619.8–21——
bulk1k (MB/s)omega-asis19.719.2–20.11.040.997–1.07
bulk1k (MB/s)openssl232206–3220.07550.0613–0.0979
bulk1k (MB/s)rustls-awslc208201–2500.08890.0653–0.101
bulk1k (MB/s)rustls-ring207201–2380.09420.0688–0.104
armpeak RSS KiB (get1m process) median [CI]client CPU ms per handshake incl. startup/40, median [CI]
omega1466 [1424–1468]7 [7–7.25]
omega-asis1462 [1424–1472]7 [7–7]
openssl6418 [6416–6424]0.75 [0.75–0.75]
rustls-awslc3686 [3396–3696]1.25 [1–1.25]
rustls-ring3140 [2976–3156]0.25 [0–0.25]

Why Omega loses, per row (each cause MEASURED or MODELED as labelled)

  1. Handshake (Omega 7.2-11.8x slower on X925): two P-256 ECDSA verifications (certificate signature and CertificateVerify) cost 1.361 ms each in om/tls (MEASURED: ec driver, 500 verifies of one CAVP P-256 vector, 680588757 ns, cpu 16; /tmp/tlsproof/prof) against 0.0391 ms in OpenSSL 3.0.13 (MEASURED: openssl speed ecdsap256, cpu 16, 25587 verify/s): 34.8x. X25519 costs 0.17 ms per call (MEASURED, RFC 7748 1000-iteration vector, 0.17 s) against 0.0229 ms (OpenSSL speed, 43615.5 op/s): 7.4x. MODELED (Wolfram, 20.17 + 21.361 = 3.06 ms): 92% of the 3.34 ms Omega handshake is these four public-key operations. ec.om uses a generic multi-curve big-integer path and is verify-only. Fix: P-256-specific field arithmetic (64-bit limbs with UMULH, fast reduction) - shareable with the constant-time P-256 ECDH being built by TlsProof.ApprovedMode.
  2. First request after the handshake (as shipped, +35 to +39 ms on every HTTPS GET; Wolfram: 42.2-3.53, 42.3-3.52, 42.8-7.51): Nagle's algorithm. om/tls sends ChangeCipherSpec, Finished and the request as three separate small writes and never set TCP_NODELAY, so the request waited for the server's delayed ACK (strace, MEASURED earlier; get1k omega-asis 42.2 ms vs omega 3.53 ms on X925). Fixed by one setsockopt in tcp_open4; the bulk rows of omega-asis also contain this stall (the timer starts at the request write).
  3. ChaCha20-Poly1305 bulk (Omega 0.17x of OpenSSL/rustls at 16 KiB records on X925): om/tls computes ChaCha20 and Poly1305 with scalar 32/64-bit code; OpenSSL, AWS-LC and ring use NEON vector code. [INFERENCE: library internals not profiled here.]
  4. AES-128-GCM bulk (Omega 0.024x on X925): om/tls AES is bitsliced and GHASH is computed bit by bit, with no use of the AESE/AESMC/PMULL instructions this CPU has (/proc/cpuinfo: aes pmull). The other arms use them (OPENSSL_armcap=0xfd). Fix proposed to OmegaNext: crypto-extension host words (omeganext-crypto-hostwords.md), keeping the bitsliced path as reference and fallback.
  5. 1 KiB records: the per-record cost (header, nonce, tag, one read per record) weighs more; the gap narrows for ChaCha (0.45-0.52x on X925) because the other arms also pay it.

Where Omega is ahead: peak memory. Omega's client process peaks at ~1.4 MiB against 3.1-4.3 MiB (rustls) and 6.4 MiB (OpenSSL) for the same 1 MiB GET (MEASURED, whole process, see tables).