NFS@Home

From BOINC Projects
Jump to navigation Jump to search



NFS@Home
Project
StatusActive
CategoryMathematics: integer factorization
ComputeCPU and GPU
Development
SponsorCalifornia State University, Fullerton
MaintainerGreg Childers (project administrator)
Initial releaseSeptember 5, 2009  (17 years ago) (public beta)
Repositorylasieve5, cuda-sieve, gpusieve
Software
Operating systemWindows, Linux, macOS (varies by application)
BOINC statistics
Stats as of18 November 2026, 15:38 UTC[1]
Performance256.10 TFLOPS (project-wide estimate)
Active users1,511
Total users21,775
Active hosts8,044
Total hosts362,325
Analytics
Credit/day63,725,656
Metadata
Websitehttps://escatter11.fullerton.edu/nfs/
LicenseVaries by component

NFS@Home is a volunteer computing project that finds the prime factors of integers hundreds of digits long. Hosted at California State University, Fullerton, it uses BOINC to distribute the lattice sieving stage of the number field sieve. A typical volunteer computer searches a small part of the problem and returns mathematical records called relations, rather than a finished factor. Combining relations from many computers makes it possible to find the factors.[2][3]

Many of its targets come from the Cunningham Project, which has collected factorizations since 1925. Others come from investigations of aliquot sequences, Fibonacci numbers and Lucas numbers. Originally a CPU project, NFS@Home added GPU sieving in 2026 and continues to distribute CPU work.[2][3][4][1]

History

Greg Childers opened NFS@Home for public beta testing on 5 September 2009. Its first target was the Cunningham table entry 2,2214L. On 11 September the project reported that the remaining composite part, called the cofactor, had split into two primes, one with 87 digits and the other with 104.[4][5]

A separate BOINC project, RSA Lattice Siever (RSALS), initially worked on the validation keys of Texas Instruments graphing calculators and later took on numbers of mathematical interest. The two projects ran alongside each other. In August 2012 NFS@Home incorporated the RSALS job tracker and welcomed its volunteers to the 14e sieve. On 18 September the RSALS operators confirmed the transfer. Lionel Debroux continued to manage the former RSALS workload.[6][4]

Research goals

The Cunningham tables cover bn−1 and bn+1 for bases b∈{2,3,5,6,7,10,11,12}. An entry can name the entire expression even when only a cofactor remains to be split. In the tables, for example, c221 denotes a 221-digit composite and p90 a 90-digit prime.[7][8]

In an aliquot sequence, knowing the factors serves a different purpose: it lets researchers calculate the next term. Each term is the sum of the positive divisors of the previous term other than the term itself, or s(n)=σ(n)−n. For example, 10 is followed by 1+2+5=8. The GPU tracker records a much larger example: BOINC users sieved a 179-digit cofactor of an aliquot sequence, and Kyle Askine's post-processing log gives the two resulting primes, of 68 and 112 digits.[9][3]

How the sieve works

NFS@Home uses both the general number field sieve (GNFS) and the special number field sieve (SNFS). The general method does not require a special pattern in the integer. The special method takes advantage of one. For example, when factoring N=21061−1, the project could use the simple polynomial x6−2: setting x=2177 gives x6=21062≡2(modN).[10][11]

A sieve searches for pairs of integers (a,b) for which values derived from both polynomials break down into primes within chosen size limits. Such values are called smooth relative to the chosen bounds. Different computers can search different ranges without communicating with one another. Once enough relations have been collected, post-processing filters them and uses sparse linear algebra to find combinations whose prime exponents are even. The final square-root step can produce a congruence x2≡y2(modN) for which the greatest common divisor gcd⁡(x−y,N) is a factor other than 1 or N.[10][11]

Project applications

CPU sieving

The CPU applications search lattice regions of different sizes. For example, the 16e sieve used for the 1061-bit Mersenne number searched rectangles measuring 216×215 points.[11] NFS@Home added the two smaller-number queues in September 2020 to match jobs more closely to the size of the input and keep memory use and run time manageable. The project maintains a separate progress table for each CPU queue.[4][2][1]

Sieve Main application Smaller-number application
14e lasieved Not listed separately
15e lasievee lasievee_small
16e lasieve5f (16e Lattice Sieve V5); the 16e progress table is headed lasievef lasievef_small

On 5 November 2026 the project announced updated 64-bit Windows CPU sievers that use AVX-512 when available, and Mac CPU sievers built as universal binaries for Intel and Apple silicon. The Mac CPU versions require macOS 10.13 or later on Intel, or macOS 11 or later on Apple silicon.[4]

GPU sieving

Gigabyte GeForce GTX 970 graphics card with three cooling fans
The GeForce GTX 970 was one of the cards named when NFS@Home extended cuda-sieve support to the Maxwell generation. Photo: TheStriker, CC BY-SA 4.0.

cuda-sieve is the project's two-sided GPU sieve. The project announced its first BOINC test on 17 August 2026 for NVIDIA Ampere or newer GPUs on 64-bit x86 Linux. It searches both polynomials for one target number and writes relations in a format that Msieve can read. Despite its name, the BOINC application is not limited to NVIDIA cards:[4][12]

GPU Operating system Announced support
NVIDIA (CUDA) Linux and Windows On 12 September 2026, support extended back to Maxwell, including the GTX 970, with at least 4 GB of GPU memory.[4]
AMD (HIP) Windows The 12 September announcement included RDNA graphics cards, Radeon RX 5000 series or newer, with at least 4 GB of GPU memory.[4]
Apple silicon (Metal) macOS On 17 September the project released a test version for the integrated GPU in M1 and newer Macs and requested testing across chip generations.[4]

The BOINC server lists three queues for this sieve: cudasieve, cudasieve30 (moderate numbers) and cudasieve31 (larger numbers). At 15:38 UTC on 18 November 2026, the first two had 1,471 and 4,238 tasks in progress respectively. The larger-number queue had none.[1]

gpusieve for NFS Factory stores is a separate application. Instead of collecting both sides for one number, it sieves the polynomial side shared by several numbers. The resulting store of pairs can be reused: only the other side needs to be checked for each target. As of 18 November 2026 the project download directory listed Factory builds only for NVIDIA GPUs on 64-bit x86 Linux: version 1.0 dated 16 November and version 1.01 dated 17 November. At 15:38 UTC on 18 November the server showed 690 Factory tasks in progress and 118 ready to send.[13][14][1]

Software and licensing

The project's early BOINC binaries adapted the lattice sieve written by Jens Franke and Thorsten Kleinjung; Franke's siever was also distributed with GGNFS. For the 1061-bit factorization, Jason Papadopoulos's Msieve library handled filtering, linear algebra and the square-root stage.[11][15]

The lasieve5 repository includes the GNU GPL version 2; cuda-sieve uses CC0 except for identified third-party code, and the gpusieve repository uses the MIT License.

Selected results

Portrait of Donald Knuth
Donald Knuth in 2011, the year before NFS@Home volunteers solved his textbook puzzle. Photo: Alex Handy, CC BY-SA 2.0.
  • A Mersenne number. In a report dated 4 August 2012, Childers gave the complete factorization of 21061−1, a 320-digit number with no previously known factor. Its two prime factors have 143 and 177 digits. Volunteers contributed about 300 CPU-years of sieving and found 671,385,523 distinct relations. The linear algebra took a further 35 CPU-years, split between the Trestles cluster in San Diego and the Lonestar cluster in Texas.[11][5]
  • A Bernoulli numerator. In August 2012 NFS@Home helped finish the factorization of the numerator of the Bernoulli number B200. After yoyo@home tried elliptic curve factorization, Shi Bai found a polynomial and NFS@Home volunteers sieved the remaining 204-digit cofactor using GNFS. It split into a 90-digit prime and a 115-digit prime. Emmanuel Thomé and Paul Zimmermann completed the post-processing with CADO-NFS on Grid'5000.[16][4]
  • A quotation hidden in a textbook. On 14 September 2012 Donald Knuth learned that Childers and about 500 NFS@Home volunteers had recovered the message in exercise 4.5.4-47 of Seminumerical Algorithms, volume 2 of The Art of Computer Programming. Knuth had set the exercise in 1997. The message was a quotation from G. K. Chesterton's The Tremendous Adventures of Major Brown. Knuth subsequently lengthened the cipher and public key by 50 percent for future readers.[17][4]
  • A Cunningham record. On 23 July 2026 the project reported splitting a 327-digit cofactor of 3709+1 into 159-digit and 168-digit primes. The 159-digit factor set a Cunningham record for the largest penultimate prime factor: the second-largest prime in the full factorization. It surpassed the project's own record announced on 8 April, when a 335-digit cofactor of 12311−1 split into 155-digit and 181-digit primes.[4][18][19]

Scientific publications

Project report
  1. Greg Childers (2012), Factorization of a 1061-bit number by the Special Number Field Sieve, Cryptology ePrint Archive, report 2012/444 (full text). Childers describes reducing the relations to a matrix with 90.3 million rows and using 576 processor cores for the linear algebra. He notes that the special form of the 1061-bit number made it easier to factor than the smaller RSA-768 challenge number.[11]
Research using NFS@Home calculations
  1. Andrew R. Booker and Sean A. Irvine (2016), The Euclid-Mullin graph, Journal of Number Theory, volume 165, pages 30-57. The authors proved that the graph is not a tree: different choices of prime factor can lead back to the same integer. They credit NFS@Home with additional factorizations used in their investigation.[20]
  2. Barry Mazur and William Stein (2016), Prime Numbers and the Riemann Hypothesis, Cambridge University Press. The authors had asked for the numerator of B200 to be factored. An endnote reproduces Bill Hart's account, credits the volunteer sievers and verifies the factors in SageMath.[16]
Independent papers citing project results
  1. Shi Bai, Pierrick Gaudry, Alexander Kruppa, Emmanuel Thomé and Paul Zimmermann (2016), Factorisation of RSA-220 with CADO-NFS. This is a report on the authors' own RSA-220 calculation. For comparison they cite NFS@Home's February 2015 GNFS result for the 221-digit cofactor of 3697+1. NFS@Home lists the three prime factors of that cofactor as having 67, 76 and 78 digits.[5][19]
  2. Kannan Balasubramanian and Mohana Priya Pitchai, A survey of Fermat factorization algorithms for factoring RSA composite numbers, Multidisciplinary Science Journal, volume 6 (2024), article 2024ss0101, published online on 15 December 2023. The survey discusses NFS@Home's factorization of a 310-digit cofactor of 7889+1 and cites Childers's Mersenne result. It is a survey, not the original report of either calculation.[21]

Participation and support

Entrance to the Humanities and Social Sciences building at Cal State Fullerton
The Humanities and Social Sciences building at Cal State Fullerton, the university that hosts NFS@Home. Photo: Vercillo, CC BY-SA 3.0.

Volunteers can select NFS@Home from the project list in BOINC. Project preferences let them choose which applications to run. The public progress tables distinguish numbers still being sieved from those awaiting post-processing and those already factored. A work unit can therefore be complete well before the project's table shows factors for its number.[2][4][3]

At 15:38 UTC on 18 November 2026, the project reported 21,775 users and 362,325 computers that had earned BOINC credit. Of these, 1,511 users and 8,044 computers had earned credit recently. The server estimated the combined computing rate at 256.10 TFLOPS and reported 63,725,656 credits granted in the preceding 24 hours.[1]

NFS@Home credits Cori with its logo and favicon, Sean Wellman with managing work queues and contributing computing time, and members of MersenneForum with helping to turn sieving results into factors. The project also credits the US National Science Foundation for partial support through ACCESS allocation DMS100027, with resources from the Texas Advanced Computing Center, the San Diego Supercomputer Center, the National Center for Supercomputing Applications and Purdue University.[22][2]

See also

External links

References

  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 Project status: computing status and tasks by application. NFS@Home. Retrieved 2026-11-18.
  2. ↑ 2.0 2.1 2.2 2.3 2.4 About NFS@Home. NFS@Home. Retrieved 2026-11-18.
  3. ↑ 3.0 3.1 3.2 3.3 Detailed status of cudasieve. NFS@Home. Retrieved 2026-11-18.
  4. ↑ 4.00 4.01 4.02 4.03 4.04 4.05 4.06 4.07 4.08 4.09 4.10 4.11 4.12 NFS@Home news archive. NFS@Home. Retrieved 2026-11-18.
  5. ↑ 5.0 5.1 5.2 Status of numbers processed by NFS@Home. NFS@Home. Retrieved 2026-11-18.
  6. ↑ (2012).RSA Lattice Siever (2.0): merger announcements and closure notice. RSA Lattice Siever. Internet Archive, capture of 13 September 2014.
  7. ↑ Introduction to the Cunningham Project. Purdue University.
  8. ↑ Sam Wagstaff.Note to newcomers: notation on the Cunningham pages. Purdue University.
  9. ↑ Aliquot sequence. Wikipedia. Retrieved 2026-11-18.
  10. ↑ 10.0 10.1 General number field sieve. Wikipedia. Retrieved 2026-11-18.
  11. ↑ 11.0 11.1 11.2 11.3 11.4 11.5 Childers, Greg.(2012-08-04).Factorization of a 1061-bit number by the Special Number Field Sieve. Cryptology ePrint Archive, report 2012/444.
  12. ↑ cuda-sieve: GPU lattice sieving for the number field sieve. GitHub. Retrieved 2026-11-18.
  13. ↑ (2026-11-17).gpusieve: BOINC branch and factorization factory documentation. GitHub.
  14. ↑ Project download directory: gpusieve builds. NFS@Home. Retrieved 2026-11-18.
  15. ↑ Monico, Chris.GGNFS: A Number Field Sieve implementation. Texas Tech University.
  16. ↑ 16.0 16.1 "How not to factor the numerator of a Bernoulli number". In:Barry Mazur and William Stein.(2016).Prime Numbers and the Riemann Hypothesis. Cambridge University Press. ISBN 9781107499430.
  17. ↑ Knuth, Donald E.(2012).A New Secret Message. Stanford University.
  18. ↑ (2026-11-15).Cunningham Project, page 149, entries 6876 and 6883. Purdue University.
  19. ↑ 19.0 19.1 List of recent champions for factoring Cunningham numbers. Purdue University. Retrieved 2026-11-18.
  20. ↑ Andrew R. Booker and Sean A. Irvine.(2016).The Euclid-Mullin graph. Journal of Number Theory. pp. 30-57. DOI: 10.1016/j.jnt.2016.01.013.
  21. ↑ Kannan Balasubramanian and Mohana Priya Pitchai.(2023-12-15).A survey of Fermat factorization algorithms for factoring RSA composite numbers. Multidisciplinary Science Journal. DOI: 10.31893/multiscience.2024ss0101.
  22. ↑ Special contributions. NFS@Home. Retrieved 2026-11-18.