English

Memory Efficient Multithreaded Incremental Segmented Sieve Algorithm

Performance 2023-10-30 v1 Distributed, Parallel, and Cluster Computing

Abstract

Prime numbers are fundamental in number theory and play a significant role in various areas, from pure mathematics to practical applications, including cryptography. In this contribution, we introduce a multithreaded implementation of the Segmented Sieve algorithm. In our implementation, instead of handling large prime ranges in one iteration, the sieving process is broken down incrementally, which theoretically eliminates the challenges of working with large numbers, and can reduce memory usage, providing overall more efficient multi-core utilization over extended computations.

Keywords

Cite

@article{arxiv.2310.17746,
  title  = {Memory Efficient Multithreaded Incremental Segmented Sieve Algorithm},
  author = {Evan Ning and David Kaeli},
  journal= {arXiv preprint arXiv:2310.17746},
  year   = {2023}
}

Comments

10 pages