Over the years, Prime95 has become extremely popular among PC enthusiasts and overclockers as a stability testing utility. It includes a “Torture Test” mode designed specifically for testing PC subsystems for errors in order to help ensure the correct operation of Prime95 on that system. This is important because each iteration of the Lucas-Lehmer depends on the previous one; if one iteration is incorrect, so will be the entire primality test.
The stress-test feature in Prime95 can be configured to better test various components of the computer by changing the fast fourier transform (FFT) size. Three pre-set configurations are available: Small FFTs and In-place FFTs, and Blend. Small and In-place modes primarily test the FPU and the caches of the CPU, whereas the Blend mode tests everything, including the memory.
By selecting Custom, the user can gain further control of the configuration. For example, by selecting 8-8 kB as the FFT size, the program stresses primarily the CPU. By selecting 2048-4096 kB and unchecking the “Run FFTs in-place” checkbox, providing the maximum amount of RAM free in the system, the program tests the memory and the chipset. If the amount of memory to use option is set too high, then the system will start using the paging file and the test will not stress the memory.
On an absolutely stable system, Prime95 would run indefinitely. If an error occurs, at which point the stress test would terminate, this would indicate that the system may be unstable. There is an ongoing debate about terms “stable” and “Prime-stable”, as Prime95 often fails before the system becomes unstable or crashes in any other application. This is because Prime95 is designed to subject the CPU to an incredibly intense workload, and to halt when it encounters even one minor error, whereas most normal applications do not stress the CPU anywhere near as much, and will continue to operate unless they encounter a fatal error.
In the overclocking community, a rule of thumb is often used to determine how long to run Prime95: test the CPU (8 kB FFT) for 10 hours and the memory (4096 kB FFT) for 10 hours, and if the system passes, there is a high chance that it is stable. Twenty-four hours of testing is recommended to be sure, as errors may show up after 16 or more hours of testing (compared to, say, just four hours of testing). Moreover, a large proportion of system overclockers and enthusiasts favor Prime95 over other benchmarking suites because Prime95 pushes the CPU’s floating point units extremely hard, causing the CPU to become extremely hot. In addition, Prime95 stresses a computer far more than the majority of software based torture-suites. The nature of this is because the operating system usually shuts down the floating-point unit when unused by other programs, whereas Prime95 is well-optimized to continuously and effectively thread the FPU, causing it to be deeply pipelined, thereby generating significantly more heat because of elevated power consumption under the massive workload conditions. In CPUs which are not adequately cooled, errors are likely to occur. Prime95 also constantly accesses main memory at up to 60 MB per second. This constant activity will detect memory problems that other programs will not.
Lastly, power supply units of any machine running Prime95 are subject to the consistent ramifications of such harsh conditions. Power must be maintained clean, while providing adequate voltage, particularly to the CPU, RAM, and chipsets (mainboard chipsets such as the Northbridge where the memory controller may or may not reside; see Athlon 64 or Intel Core i7 for on-die memory controllers) to provide peak performance while maintaining stability. Cray Research used programs similar to Prime95 for over a decade for the purpose of stability testing.
30.6 Build 2 (April 22nd, 2021)
- P+1 factoring. A worktodo.txt entry looks like this:
Unlike P-1, the fact that factors of Mersenne numbers is 1 mod 2p is of no value.
Thus, P-1 is vastly more effective at finding factors. A P+1 run is about as valuable as running one ECM curve. P+1 stage 1 is 50% slower than P-1 stage 1 but several times faster than ECM stage 1. P+1 stage 2 is a little faster than P-1 stage 2 which in turn is a little faster than ECM stage 2.
Unlike P-1, P+1 has only a 50% chance of finding a factor if factor+1 is B1/B2 smooth. Thus, it makes sense to do 1 or 2 (maybe 3) runs. That is what the nth_run argument is for. There are two special starting values for P+1 that have a slightly higher chance of finding a factor. These special starting values correspond to nth_run=1 and nth_run=2.
Like P-1, if how_far_factored is specified, prime95 will ignore B2 and calculate the best B2 value for the given B1.
- Faster ECM stage 1 when factoring exponents near the limit of an FFT size.
- Gwnum library new functions give a programmer more tools to reduce normalized adds.
A tutorial.txt file is now available to help a programmer use the gwnum library.
Remark: Best old school OC stability testing tool
4/28/2021 9:39 PM 7282669 p95v306b4.linux64.tar.gz 4/28/2021 9:34 PM 10298758 p95v306b4.win64.zip