Metraipolis › archive › dc_2a6c744a9d83

Parallelizing the Factorial Space: Multi-Core OpenMP Scaling and Scalable SIMD Acceleration of the Steinhaus-Johnson-Trotter Algorithm via Dual-Lane AVX2 Execution — arXiv:2609.07862

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.07862
License (as archived)
CC0-1.0
Archived
2026-10-16T15:31:52.009Z
SHA-256 of the archived text
421bfdc2cea766fc91c3134c89c8a1534583fd594df70357776f38e4ca6ad0d8
Stable URL of this page
https://metraipolis.com/documento/dc_2a6c744a9d83

How to cite

Parallelizing the Factorial Space: Multi-Core OpenMP Scaling and Scalable SIMD Acceleration of the Steinhaus-Johnson-Trotter Algorithm via Dual-Lane AVX2 Execution — arXiv:2609.07862 — arXiv (en), https://arxiv.org/abs/2609.07862 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2a6c744a9d83 (Metraipolis archive dc_2a6c744a9d83, sha256 421bfdc2cea766fc91c3134c89c8a1534583fd594df70357776f38e4ca6ad0d8)
BibTeX
@misc{dc2a6c744a9d83,
  title = {Parallelizing the Factorial Space: Multi-Core OpenMP Scaling and Scalable SIMD Acceleration of the Steinhaus-Johnson-Trotter Algorithm via Dual-Lane AVX2 Execution — arXiv:2609.07862},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.07862},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2a6c744a9d83; sha256 421bfdc2cea766fc91c3134c89c8a1534583fd594df70357776f38e4ca6ad0d8},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07862. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

This paper presents a high-performance SIMD acceleration framework for the Steinhaus-Johnson-Trotter algorithm, targeted at modern x86-64 architectures using the AVX2 instruction set. By exploiting a novel combinatorial space partitioning combined with single-cycle vector byte shuffling ($\texttt{\_mm256\_shuffle\_epi8}$), our dual-lane vectorized implementation processes two independent, concurrent permutation streams within a single 256-bit YMM register under a uniform execution mask. Empirical evaluations demonstrate a $3\times$ throughput increase over an optimized scalar baseline of Knuth's Algorithm P (accelerated by $3\times$ via isolated sweeping branches) and outperform the recent Ring-Cascade algorithm by Yusheng Hu, completely avoiding store-forwarding stalls during hot loops. To scale this engine across multi-core processors, we extend the framework into a highly concurrent environment via OpenMP using a localized mathematical state decoder and macro-period loop scheduling. The parallel performance is shown to scale strictly and linearly with the number of active physical processor cores ($\text{Speedup}(M) \approx M$) due to a lock-free thread-local accumulation pipeline that eliminates false sharing. On a 6-core processor, the multi-threaded engine delivers a $5.25\times$ throughput gain for $n=14$ ($3.25$ billion CPU cycles) and processes the massive $n=15$ space in just $16.0$ seconds, yielding a $5.25\times$ speedup over the sequential vector baseline, while Hyper-Threading virtual cores yield zero additional throughput due to physical SIMD port saturation.

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-09-09 in cs.DS).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2609.07862 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T15:15:08.348Z dalla pagina https://arxiv.org/catchup/cs.DS/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).