![]() |
![]() |
#1 |
"Mark"
Apr 2003
Between here and the
1B3216 Posts |
![]()
I have posted the latest Windows and MacIntel distributions at these links:
http://openpfgw.svn.sourceforge.net/...1_20090708.zip http://openpfgw.svn.sourceforge.net/...1_20090708.zip This marks the first release of PFGW for MacIntel. Enhancements to: v3.1.0 RC 1b
The two biggest changes of interest to casual users is that PFGW should now be faster than LLR for bases that are not powers of 2. I suspect Jean Penne will make the appropriate changes to LLR to take advantage of the same modular code that PFGW is now using. I have not compared base 2 tests between the two programs. The other is that the -a switch is not required for GFN factoring and that PFGW will now tell you if an error occurred during GFN factoring. Many thanks to George for his enhancements to gwnum that were done specifically for PFGW. I do have a volunteer for building on linux, so hopefully I can make a linux distribution available in the near future. I will be on vacation for a few days, so please be patient if you run into any issues that need to be addressed. Enjoy, Mark |
![]() |
![]() |
![]() |
#2 |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]()
A couple questions:
-For non-power-of-2 bases, for which PFGW now does PRP tests faster than LLR, does PFGW provide a residual of the same length as LLR/Phrot? Or does it still only give a shorter one, like older versions did? -When will a new version of the PRPnet client be released to use PFGW by default instead of LLR for non-power-of-2 PRP tests? ![]() |
![]() |
![]() |
![]() |
#3 | |
"Mark"
Apr 2003
Between here and the
2·592 Posts |
![]() Quote:
I don't have an answer for the second question. I could make the change fairly easily, but I expect Jean to modify LLR to take advantage of George's new code. I do not know when that will happen. I haven't heard from Jean, but am willing to help him with the changes when he is ready (presuming he needs any help). |
|
![]() |
![]() |
![]() |
#4 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
624910 Posts |
![]() Quote:
![]() At any rate, yes, I agree that it would probably be better to simply wait for the updated version of LLR (assuming it comes out soon, and the changes are not delayed until version 3.7.1d which I hear has been in the works for a while and hasn't yet materialized) rather than updating PRPnet. That way the whole thing with the residues should be no big deal at all. Last fiddled with by mdettweiler on 2009-07-09 at 03:00 |
|
![]() |
![]() |
![]() |
#5 |
A Sunny Moo
Aug 2007
USA (GMT-5)
624910 Posts |
![]()
I've done some benchmarks to compare LLR 3.7.1c, Phrot 0.70, PFGW 3.1.0, and Prime95 25.11 on a Riesel base 3 PRP test:
Code:
17589196*3^78001-1 is composite: RES64: [229FF2F0D0593F25] (33.5454s+0.0024s) 17589196*3^78001-1 is not prime. RES64: E29FF2F0D0593F25 OLD64: A7DFD8D2710BBD6C Time : 93.840 sec. 17589196*3^78001-1 is composite LLR64=e29ff2f0d0593f25. (e=0.09375 (0.160502~4.7607e-016@0.000) t=77.53s) 17589196*3^78001-1 is not prime. RES64: E29FF2F0D0593F25. Wd1: 41B08704,00000000 I'm surprised at just how much of a speed boost there was--the programs utilizing the new gwnum 25.11 (PFGW and Prime95) all had about a 64% speed increase over LLR 3.7.1c (i.e. gwnum 24.14). Compared to Phrot, there was a 57% speed increase. Interestingly enough, I discovered that PFGW *does* give full 16 character residues now, and not just by zero-padding a smaller one. However, quite oddly, the PFGW residue matches all of the others, except for the first character! And it's reproducible, too, so this is not just some exceedingly improbable fluke. I'm going to try running some further tests with PFGW to see if the residue goof appears in other numbers as well. Meanwhile, for people testing non-power-of-2 k*b^n+-c numbers right now, I would recommend using Prime95 v25.11, at least until an updated LLR comes out. Prime95 has all the same speed boosts in it as PFGW, yet it doesn't suffer from the weird residue glitch. For instructions on how to use Prime95 to do PRP tests, see this post. (The last part about Prime95's speed relative to LLR can be ignored, since it relates specifically to base 2 numbers, which the speed boosts do not affect.) |
![]() |
![]() |
![]() |
#6 | |
"Mark"
Apr 2003
Between here and the
1B3216 Posts |
![]() Quote:
BTW, PRPNet ignores the first non-zero character because it knows about this limitation with PFGW. My recommendation is still to use PFGW since it supports ABC and NewPGen input files. |
|
![]() |
![]() |
![]() |
#7 | |
"Mark"
Apr 2003
Between here and the
2·592 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
37×163 Posts |
![]()
Would it be possible for PFGW to use Prime95's P-1 code?
If it could then output factors in srsieve's factors.txt format that would be brill. |
![]() |
![]() |
![]() |
#9 |
Banned
"Luigi"
Aug 2002
Team Italia
3×1,619 Posts |
![]() |
![]() |
![]() |
![]() |
#10 |
"Mark"
Apr 2003
Between here and the
2·592 Posts |
![]() |
![]() |
![]() |
![]() |
#11 | |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
603110 Posts |
![]() Quote:
also from memory compiling gmp-ecm with gwnum is a massive exercise both programs also output in convoluted ways which would require a script to extract the factors why waste time having a complicated script when it could be done even easier by pfgw? |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PFGW 4.0.4 (with gwnum v30.10) Released | rogue | Software | 545 | 2023-01-20 14:12 |
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.2 has been Released | rogue | Software | 20 | 2009-08-23 12:14 |
PFGW 3.2.1 has been released | rogue | Software | 5 | 2009-08-10 01:43 |