Powered by OpenAIRE graph
Found an issue? Give us feedback
addClaim

Bitwise Similarity Routing: Pathfinding Optimality via HBS-XNOR

Authors: Pirolo, Andrés Sebastián;

Bitwise Similarity Routing: Pathfinding Optimality via HBS-XNOR

Abstract

Standard implementations of Dijkstra's algorithm, while theoretically optimal in terms of path cost, are physically inefficient on modern hardware due to the "Memory Wall." In large-scale graphs (N ≥ 10⁶), the random memory access patterns inherent to blind traversal cause frequent cache misses, stalling the CPU pipeline and idling the processor for hundreds of cycles per node. This paper introduces HBS-XNOR, a hardware-native routing kernel designed to overcome this bottleneck by exploiting the bitwise structure of node identifiers. We propose a shift from theoretical optimality to Architectural Optimality, defined as the minimization of Time-to-Solution. HBS-XNOR utilizes a "Digital Compass" heuristic based on the XNOR bitwise equivalence operation: h(u,t) = popcount(~(u ⊕ t)), which executes in a single CPU cycle. By integrating this metric via Fused Multiply-Add (FMA) instructions—calculating priority as f(n) = fma(h, β, g)—the algorithm guides the search frontier to remain spatially localized. This localization maximizes L1/L2 cache residency, drastically reducing DRAM latency. Benchmarks on a Snapdragon 8 Gen 2 (ARM Cortex-X3) demonstrate that HBS-XNOR achieves a 2.6× average speedup and a 62.0% reduction in memory accesses compared to a highly optimized Dijkstra baseline, with peak speedups of 5.56×. Crucially, the algorithm exhibits graceful degradation: in worst-case topologies with zero identifier locality, it converges to the performance of standard Dijkstra but never underperforms it, offering a strict upgrade path. This technique provides a "zero-cost" latency optimization for critical infrastructure, including 5G packet routing, real-time navigation, and distributed graph databases.

Keywords

HBS-XNOR, 5G Routing, High-Performance Computing, Gps, Bitwise Heuristics, Von Neumann Bottleneck, Memory Wall, Hardware-Native Optimality, Fpga, Pathfinding, Hardware optimization

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Upload OA version
Are you the author of this publication? Upload your Open Access version to Zenodo!
It’s fast and easy, just two clicks!