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
- Giorgi Rusiashvili
Institutions
- Caucasus International University (GE)
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