mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2017-03-19, 04:44   #1
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

32·7·107 Posts
Default Prime95 version 29.1

Prime95 version 29.1 build 16(!) is available. I've upped the major version number as version 29 signifies AVX-512 support. However, I've only upgraded trial factoring for AVX-512 FFTs will follow (much later).

Who might consider upgrading? Users that do trial factoring with prime95. Users that have had difficulty getting prime95 to assign affinities properly. AMD Ryzen users.

From whatsnew.txt:

Code:
1)  Faster trial factoring for machines that support FMA (Haswell and later).  
    Multi-threaded trial factoring now supports more than one thread sieving for
    small primes.  Several tuning parameters added - see undoc.txt.
2)  The portable library, hwloc, for analyzing a machine's topology is now used.
    This replaces the buggy code prime95 used to detect hyperthreading.  It also
    eliminates the need for AffinityScramble2.  Running a benchmark will output
    this topology information to results.txt.
3)  AVX-512 trial factoring support added.
4)  Dialog box for benchmarking added.
5)  In the Test/Worker Windows dialog box you no longer choose how many threads
    each worker uses.  Instead, you choose how many CPU cores each worker uses.
    There affinity options have been removed.  There are two new options that
    will decide if each worker also uses hyperthreading.
This version is not heavily tested - consider it a beta version. Bug reports welcome!

Download links:
Windows 64-bit: ftp://mersenne.org/gimps/p95v291.win64.zip
Linux 64-bit: ftp://mersenne.org/gimps/p95v291.linux64.tar.gz
Mac OS X: ftp://mersenne.org/gimps/p95v291.MacOSX.zip
Windows 32-bit: ftp://mersenne.org/gimps/p95v291.win32.zip
Linux 32-bit: ftp://mersenne.org/gimps/p95v291.linux32.tar.gz
FreeBSD11 64-bit: ftp://mersenne.org/gimps/p95v291.FreeBSD11-64.tar.gz
Source: ftp://mersenne.org/gimps/p95v291.source.zip

Last fiddled with by Prime95 on 2017-04-23 at 01:54
Prime95 is offline   Reply With Quote
Old 2017-03-19, 04:45   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11010010101012 Posts
Default

1) Window 64-bit version can miss some factors doing TF on a machine with AVX2 support. Fixed in build 14.
2) Linux and FreeBSD versions did not create save files during a SIGTERM. Fixed in build 14.
3) Slowness in TF QA (compared to build 8). Fixed in build 15. To fix this the UseMaxSieverAllocs numbering was changed.
4) Crash bug with UseMaxSieverAllocs=0 and CoresPerTest >= 7. Fixed in build 15.
5) An LL job after a TF job used hyperthreading when it should not. Fixed in build 15.
6) Advanced/Time had a divide-by-zero problem. Fixed in build 15.
7) TF jobs can hang. Fixed in build 15.
8) Reducing the number of workers using Linux menus could led to too many cores allocated when accepting the default values. Build 15 now adjusts minimum and maximum core counts for each worker as data is entered. This makes getting the "too many cores" warning much harder.
9) Initial allocation of workers and cores-per-worker produced incorrect results. Fixed in build 15.
10) There is a potential hang after a TF factor is found. Fixed in build 16.
11) A potential hang bug when a factor below 2^44 is found. Fixed in build 16.

Last fiddled with by Prime95 on 2017-04-11 at 02:02
Prime95 is offline   Reply With Quote
Old 2017-03-19, 11:03   #3
kladner
 
kladner's Avatar
 
"Kieren, ktony"
Jul 2011

3·3,169 Posts
Default

Quote:
Originally Posted by Prime95 View Post
placeholder for bug reports
After a few days running, I have not seen any serious problems. From one launch, or pause-continue to the next, the threads selected may change. I have not seen it make a mistake in keeping worker threads to separate physical cores, however.
kladner is offline   Reply With Quote
Old 2017-03-19, 14:35   #4
Explorer09
 
May 2014

3×11 Posts
Default

@Prime95

Would you allow me to correct a small misalignment, here?

Code:
diff -r -u p95v291.source/linux64/menu.c p95v291.source-b/linux64/menu.c
--- p95v291.source/linux64/menu.c	2017-03-08 10:09:02.000000000 +0800
+++ p95v291.source-b/linux64/menu.c	2017-03-19 20:52:08.513890434 +0800
@@ -441,7 +441,7 @@
 	askNum ("Priority", &m_priority, 1, 10);
 
 	if (USE_PRIMENET) {
-		outputLongLine ("\nUse the following values to select a work type:\n  0 - Whatever makes the most sense\n  2 - Trial factoring\n 100 - First time primality tests\n  101 - Double-checking\n  102 - World record primality tests\n  4 - P-1 factoring\n  104 - 100 million digit primality tests\n  1 - Trial factoring to low limits\n  5 - ECM on small Mersenne numbers\n  6 - ECM on Fermat numbers\n");
+		outputLongLine ("\nUse the following values to select a work type:\n  0 - Whatever makes the most sense\n  2 - Trial factoring\n  100 - First time primality tests\n  101 - Double-checking\n  102 - World record primality tests\n  4 - P-1 factoring\n  104 - 100 million digit primality tests\n  1 - Trial factoring to low limits\n  5 - ECM on small Mersenne numbers\n  6 - ECM on Fermat numbers\n");
 	}
 
 	if (USE_PRIMENET || NUM_CPUS > 1) {
Explorer09 is offline   Reply With Quote
Old 2017-03-19, 15:30   #5
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
Ͳօɾօղէօ

1010110111002 Posts
Default

Not sure if it's in 29.1 or an earlier version, but here's a bug: http://www.mersenneforum.org/showpos...1&postcount=21
Mark Rose is offline   Reply With Quote
Old 2017-03-19, 15:41   #6
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

32·7·107 Posts
Default

Quote:
Originally Posted by Explorer09 View Post

Would you allow me to correct a small misalignment, here?
Easiest bug fix ever.
Prime95 is offline   Reply With Quote
Old 2017-03-19, 21:11   #7
bgbeuning
 
Dec 2014

3748 Posts
Default

I used "Options / Torture Test". It started 8 worker threads
on my 4 core machine.

When I tried "Help / Help Topics" it said "Failed to launch help"

Have Windows 64, prime95, v29.1, build 13.
bgbeuning is offline   Reply With Quote
Old 2017-03-20, 03:53   #8
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

674110 Posts
Default

If you are doing TF on an AVX2 capable Windows machine, please download build 14.

Last fiddled with by Prime95 on 2017-03-20 at 03:56
Prime95 is offline   Reply With Quote
Old 2017-03-20, 03:56   #9
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1A5516 Posts
Default

Quote:
Originally Posted by bgbeuning View Post
I used "Options / Torture Test". It started 8 worker threads
on my 4 core machine.
I assume a hyperthreaded machine. Prime95 has always done this -- maximum torture.

Quote:
When I tried "Help / Help Topics" it said "Failed to launch help"
Yeah, been broken for about a decade. Any volunteers for fixing it?
Prime95 is offline   Reply With Quote
Old 2017-03-20, 04:32   #10
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3×5×7×31 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Yeah, been broken for about a decade. Any volunteers for fixing it?
I don't know how the help is implemented, but Microsoft has been pushing people away from the old Windows Help stuff (.HLP files), to the point where it's not even there in Win10/Server2016.

Even with .CHM files I've still had trouble with some programs that rely on those... something to do with permissions and MS' increasing attempts to lock down regular users from doing anything useful.

Microsoft guidance is to move to HTML Help, available since Windows 7.
Madpoo is offline   Reply With Quote
Old 2017-03-20, 04:43   #11
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

11100001101012 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
Not sure if it's in 29.1 or an earlier version, but here's a bug: http://www.mersenneforum.org/showpos...1&postcount=21
Could this be related?

http://mersenneforum.org/showpost.ph...&postcount=269
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 27.3 Prime95 Software 148 2012-03-18 19:24
Prime95 version 26.3 Prime95 Software 76 2010-12-11 00:11
Prime95 version 25.5 Prime95 PrimeNet 369 2008-02-26 05:21
Prime95 version 25.4 Prime95 PrimeNet 143 2007-09-24 21:01
When the next prime95 version ? pacionet Software 74 2006-12-07 20:30

All times are UTC. The time now is 10:44.

Tue Mar 31 10:44:08 UTC 2020 up 6 days, 8:17, 0 users, load averages: 1.19, 1.18, 1.16

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.