![]() |
![]() |
#45 |
A Sunny Moo
Aug 2007
USA (GMT-5)
11000011010012 Posts |
![]()
At last, the results are in for the comparison of Prime95 v25.11 vs. v26.3 for 289184*5^477336-1 on my Core 2 Duo. We have:
v25.11 started at [Thu Oct 21 14:29:35 2010], finished at [Thu Oct 21 15:30:55 2010] --> total 1:01:20 = 3680 sec. v26.3 started at [Thu Oct 21 15:53:16 2010], finished at [Thu Oct 21 16:38:05 2010] --> total 0:44:49 = 2689 sec. So it would seem that PFGW 3.4.0 (32-bit, as all of these were) is the only one of the triumvirate that exhibits a slowdown going to gwnum v26. Note, however, that the individual gwnum minor versions of the programs used for these tests do not all line up; I tested PFGW 3.3.6 vs. 3.4.0 (gwnum 26.2), LLR 3.8.1 vs. 3.8.2 (gwnum 26.2), and Prime95 25.11 vs. 26.3 (gwnum 26.3). For that reason, I will follow this up shortly with a rerun of 289184*5^477336-1 using PFGW 3.4.2. Stay tuned... |
![]() |
![]() |
![]() |
#46 |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]()
Holy cow! It would seem that 3.4.2 actually chooses an entirely different FFT size for 289184*5^477336-1 than 3.4.1 (which I understand is the same as 3.4.0 on 32-bit--I deleted my copy of 3.4.0, stupid me, and could only get my hands on 3.4.1). Behold:
Code:
$ ./pfgw341.exe -F -q289184*5^477336-1 PFGW Version 3.4.1.32BIT.20100927.Win_Dev [GWNUM 26.2] Special modular reduction using zero-padded Core2 type-3 FFT length 128K, Pass1=128, Pass2=1K on 289184*5^477336-1 Special modular reduction using zero-padded Pentium4 type-1 FFT length 144K, Pass1=96, Pass2=1536 on 289184*5^477336-1 Special modular reduction using zero-padded Pentium4 type-3 FFT length 160K, Pass1=640, Pass2=256 on 289184*5^477336-1 Special modular reduction using zero-padded Pentium4 type-3 FFT length 192K, Pass1=256, Pass2=768 on 289184*5^477336-1 Special modular reduction using zero-padded Pentium4 type-3 FFT length 224K, Pass1=896, Pass2=256 on 289184*5^477336-1 Special modular reduction using zero-padded Pentium4 type-3 FFT length 240K, Pass1=320, Pass2=768 on 289184*5^477336-1 $ ./pfgw.exe -F -q289184*5^477336-1 PFGW Version 3.4.2.32BIT.20101019.Win_Dev [GWNUM 26.4] Special modular reduction using Core2 type-3 FFT length 112K, Pass1=448, Pass2=256 on 289184*5^477336-1 This would seem to invalidate 3.4.2 for use in trying to nail down this mystery. However, at this point it would seem rather unnecessary, as whatever happened, it has apparently been fixed in 3.4.2. ![]() Thanks for taking the time to look into this (and for whatever you guys did to fix it)! ![]() |
![]() |
![]() |
![]() |
#47 |
"Mark"
Apr 2003
Between here and the
11011001100002 Posts |
![]()
I didn't do anything, but George might have. I find it interesting that the old version specified Pentium4 and the new one specified Core 2.
|
![]() |
![]() |
![]() |
#48 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
186916 Posts |
![]() Quote:
BTW: why exactly would it give 6 FFT choices like that? Shouldn't it boil down to exactly one choice just like it would for the real test? (Or might this, whatever the cause, be the reason for the strange slowdown?) Last fiddled with by mdettweiler on 2010-10-22 at 01:09 |
|
![]() |
![]() |
![]() |
#49 | |
"Mark"
Apr 2003
Between here and the
24·3·5·29 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#50 |
"Mark"
Apr 2003
Between here and the
24·3·5·29 Posts |
![]()
You can d/l the latest release for Windows, MacIntel, and Linux from here: http://sourceforge.net/projects/openpfgw/
The updates are for 64-bit PFGW users. A bug was found and fixed in the factoring code. For linux, the binary is now statically linked. |
![]() |
![]() |
![]() |
#51 | |
P90 years forever!
Aug 2002
Yeehaw, FL
23·1,019 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#52 | |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
19×232 Posts |
![]() Quote:
***WARNING! file sr_10.pfgw line 2378 does not match what is expected. Expecting: 10001001*10^11441+1 File contained: 1001001*10^25534+1 Starting over at the beginning of the file 10001001*10^25535+1 is composite: RES64: [AD505C1D89295440] (24.7044s+0.0002s) ... Starting over at the beginning of the file, of course, is the usual and in this case desired effect. But it doesn't, it only says that it will, and instead goes from the middle of the file (i.e. the line is not zeroed). This seems to be new (something unitialized in 64-bit version?), -- it worked fine before. |
|
![]() |
![]() |
![]() |
#53 | |
"Mark"
Apr 2003
Between here and the
24·3·5·29 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#54 |
"Mark"
Apr 2003
Between here and the
24×3×5×29 Posts |
![]()
You can d/l the latest release for Windows, MacIntel, and Linux from here: http://sourceforge.net/projects/openpfgw/
This fixes a factoring problem on Win64 and fixes the ABC resume problem. I believe that there is still an ABC2 crashing problem, but I can't recall how to produce it. I had to revert that change to correct the ABC resume problem. |
![]() |
![]() |
![]() |
#55 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
19×232 Posts |
![]()
In PFGW, the N-1 Brillhart-Lehmer-Selfridge implements eponymous 1975 algorithm, but would it be hard to extend it with the third-magnitude stage Konyagin-Pomerance extension (as in pages 176-178 of Crandall/Pomerance PN-ACP, Theorem 4.1.6)? Part (1) seems no different from the square test of the second-magnitude stage, and the same code would be called six times with minor variations, but part (2) needs a bit of implementation. There's a GP prototype available, needs a polroots() for a cubic poly and contfrac() rewritten.
Was this ever requested before? Could I possibly help? (with a disclaimer that familiarizing with the code could take much more time than "just doing it" for an experienced developer, i.e. Mark ![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A possible bug in LLR/PFGW while using GWNUM (no bug in P95) | Batalov | Software | 77 | 2015-04-14 09:01 |
PFGW 3.2.0 has been Released | rogue | Software | 94 | 2010-09-14 21:39 |
PFGW 3.2.3 has been Released | rogue | Software | 10 | 2009-10-28 07:07 |
PFGW 3.2.1 has been released | rogue | Software | 5 | 2009-08-10 01:43 |
PFGW 3.1.0 has been Released | rogue | Software | 25 | 2009-07-21 18:13 |