Beyond Worst-Case Asymptotics: Memory-Bandwidth Roofline Modeling, Smoothed Complexity, and Cache-Resident RNS/Primorial Architectures

Classical algorithm analysis in computational number theory and cryptographic engineering relies predominantly on worst-case asymptotic operation counts, implicitly assuming uniform memory access costs. Yet as modern multi-core and hardware-accelerated computing demonstrates—from large-scale parallel graph traversal (Graph 500) to post-quantum polynomial convolutions—real execution throughput is governed not by raw arithmetic operation counts, but by memory bandwidth limits (DRAM bottlenecks), arithmetic intensity (operations per byte transferred), and cache hierarchy residency. Synthesizing Freeman Dyson’s epistemological duality between unifying theoretical "birds" and constructive algorithmic "frogs" with Spielman–Teng smoothed complexity and the Roofline performance model, this paper bridges three previously disconnected layers of our modular arithmetic research program: (1) the variational Duality Invariant I(N) ≤ 2.00 in the integer field, (2) the cache-local primorial Gap-Jump Sieve, and (3) Boolean circuit depth lower bounds (ACC⁰[q] vs. TC⁰) for Residue Number Systems (RNS). We formulate a hardware-aware Memory-Hierarchy Roofline Model demonstrating why classical bitmask sieves and wide-modulus RNS bases stall against the DRAM bandwidth ceiling (~50 GB/s), whereas confining the primorial jump table (480 bytes for P_5# = 2310) to the L1 cache and 10-bit Entropy-Cascade RNS lookup tables (≤ 1 KB per channel) to the L2 cache raises effective arithmetic intensity (3.00 operations/byte) and unlocks multi-hundred-GOps/s throughput without uint32 register overflow.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24671455
Primary Topic
Cryptography and Residue Arithmetic
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Beyond Worst-Case Asymptotics: Memory-Bandwidth Roofline Modeling, Smoothed Complexity, and Cache-Resident RNS/Primorial Architectures

Giorgi Rusiashvili
Zenodo (CERN European Organization for Nuclear Research)
Cryptography and Residue Arithmetic
preprint

Beyond Worst-Case Asymptotics: Memory-Bandwidth Roofline Modeling, Smoothed Complexity, and Cache-Resident RNS/Primorial Architectures

Giorgi Rusiashvili
preprint en

Abstract

Classical algorithm analysis in computational number theory and cryptographic engineering relies predominantly on worst-case asymptotic operation counts, implicitly assuming uniform memory access costs. Yet as modern multi-core and hardware-accelerated computing demonstrates—from large-scale parallel graph traversal (Graph 500) to post-quantum polynomial convolutions—real execution throughput is governed not by raw arithmetic operation counts, but by memory bandwidth limits (DRAM bottlenecks), arithmetic intensity (operations per byte transferred), and cache hierarchy residency. Synthesizing Freeman Dyson’s epistemological duality between unifying theoretical "birds" and constructive algorithmic "frogs" with Spielman–Teng smoothed complexity and the Roofline performance model, this paper bridges three previously disconnected layers of our modular arithmetic research program: (1) the variational Duality Invariant I(N) ≤ 2.00 in the integer field, (2) the cache-local primorial Gap-Jump Sieve, and (3) Boolean circuit depth lower bounds (ACC⁰[q] vs. TC⁰) for Residue Number Systems (RNS). We formulate a hardware-aware Memory-Hierarchy Roofline Model demonstrating why classical bitmask sieves and wide-modulus RNS bases stall against the DRAM bandwidth ceiling (~50 GB/s), whereas confining the primorial jump table (480 bytes for P_5# = 2310) to the L1 cache and 10-bit Entropy-Cascade RNS lookup tables (≤ 1 KB per channel) to the L2 cache raises effective arithmetic intensity (3.00 operations/byte) and unlocks multi-hundred-GOps/s throughput without uint32 register overflow.

Zenodo (CERN European Organization for Nuclear Research)
Caucasus International University (GE)
Cryptography and Residue Arithmetic
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon