mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2010-11-23, 21:55   #430
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Oh, and here are your factors ;)

PRP54 = 365849225019517205174093887335805855153215240857413517
PRP41 = 19321365350538234231209779178972686869757
bsquared is offline   Reply With Quote
Old 2010-11-23, 22:02   #431
richs
 
richs's Avatar
 
"Rich"
Aug 2002
Benicia, California

23·3·5·11 Posts
Default

Thanks for the factors, Ben. I look forward to testing the next version.

Rich
richs is offline   Reply With Quote
Old 2010-11-24, 02:02   #432
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3×1,181 Posts
Default

Can the msieve QS code benefit from your fixes?
jasonp is offline   Reply With Quote
Old 2010-11-24, 02:26   #433
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by jasonp View Post
Can the msieve QS code benefit from your fixes?
No, this was something I bolted on. The fix just gets rid of some of the original awkwardness that I created when integrating your postprocessing code .
bsquared is offline   Reply With Quote
Old 2010-11-24, 16:40   #434
bchaffin
 
Sep 2010
Portland, OR

22×3×31 Posts
Default

Has anyone done any benchmarking to determine what composite size is the right switchover point from YAFU SIQS to ggnfs is with YAFU v1.20?

The question is complicated on a multi-core system where YAFU's instant use of all threads vs. the single-threaded polyfind step means it sometimes wins in wall-clock time but loses in CPU time. But here I'm asking just about single-threaded performance.

Aliqueit recommends using ggnfs for 89 digits and above, but I just tried a couple c90s and found YAFU to be 3.3x faster both times. I haven't yet zeroed in on the break-even point, but was wondering if anyone else has.

P.S. I saw a wicked speedup on i7 with version 1.20 -- nice work, BB!
bchaffin is offline   Reply With Quote
Old 2010-11-24, 17:15   #435
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

16FF16 Posts
Default

Quote:
Originally Posted by bchaffin View Post
Has anyone done any benchmarking to determine what composite size is the right switchover point from YAFU SIQS to ggnfs is with YAFU v1.20?

The question is complicated on a multi-core system where YAFU's instant use of all threads vs. the single-threaded polyfind step means it sometimes wins in wall-clock time but loses in CPU time. But here I'm asking just about single-threaded performance.

Aliqueit recommends using ggnfs for 89 digits and above, but I just tried a couple c90s and found YAFU to be 3.3x faster both times. I haven't yet zeroed in on the break-even point, but was wondering if anyone else has.

P.S. I saw a wicked speedup on i7 with version 1.20 -- nice work, BB!
There is no definitive line as each pc is different. Operating systems also make a huge difference as ggnfs doesn't get any improvement from running 64-bit windows over 32-bit while it does for 64-bit linux.
henryzz is online now   Reply With Quote
Old 2010-11-24, 19:21   #436
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·3·587 Posts
Default

Quote:
Originally Posted by bsquared View Post
I've verified the problem, and I have a fix. This fix drastically reduces the amount of memory consumed during post-processing, which was a problem noted in a different thread. 32bit system should now be usable for larger problems and not limited by memory during post-processing.

I'll try to get the fixed version posted in the next day or so.
Ok, I've posted binaries on my website as release 1.20.1.

Let me know if anyone is still seeing problems.

- ben.
bsquared is offline   Reply With Quote
Old 2010-11-24, 19:27   #437
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101110000102 Posts
Default

Quote:
Originally Posted by bchaffin View Post
Has anyone done any benchmarking to determine what composite size is the right switchover point from YAFU SIQS to ggnfs is with YAFU v1.20?

The question is complicated on a multi-core system where YAFU's instant use of all threads vs. the single-threaded polyfind step means it sometimes wins in wall-clock time but loses in CPU time. But here I'm asking just about single-threaded performance.

Aliqueit recommends using ggnfs for 89 digits and above, but I just tried a couple c90s and found YAFU to be 3.3x faster both times. I haven't yet zeroed in on the break-even point, but was wondering if anyone else has.

P.S. I saw a wicked speedup on i7 with version 1.20 -- nice work, BB!
I did a while back, maybe around 1.15 or so. I found that the crossover was at 88 digits on a linux64 system (which can take advantage of the faster ggnfs sievers), and 95+ digits on windows 64bit. Didn't test 32 bit windows, but I'd suspect its between 90 and 95 digits (because yafu is slightly slower on 32bit, but ggnfs is mostly the same). Since 1.20 is faster, especially on 64 bit windows systems, the crossover may be higher yet, but can't give an exact figure.

I was using the CPU poly select functionality of msieve (probably 1.43), not the GPU, which may also change the crossover.

p.s. thanks for the comments!

Last fiddled with by bsquared on 2010-11-24 at 19:28
bsquared is offline   Reply With Quote
Old 2010-12-06, 16:45   #438
Tyra
 

1001101101102 Posts
Default

Advice please! Which startup options YAFU?
C155
how to use multiCPU?
Turn off the electricity. How to resume work from Stop?
THANK YOU.
  Reply With Quote
Old 2010-12-06, 18:33   #439
bchaffin
 
Sep 2010
Portland, OR

22·3·31 Posts
Default

Quote:
Originally Posted by bsquared View Post
Ok, I've posted binaries on my website as release 1.20.1.

Let me know if anyone is still seeing problems.

- ben.
With 1.20.1 I get an error looking for the libgmp.so.1 shared library (on linux, obviously). I also notice that the executable is much smaller than 1.20. Did you maybe link earlier versions statically and this one dynamically? Thanks!
bchaffin is offline   Reply With Quote
Old 2010-12-06, 19:18   #440
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×587 Posts
Default

Quote:
Originally Posted by bchaffin View Post
With 1.20.1 I get an error looking for the libgmp.so.1 shared library (on linux, obviously). I also notice that the executable is much smaller than 1.20. Did you maybe link earlier versions statically and this one dynamically? Thanks!
1.20.1 is linked with GMP-ECM 6.3, which itself was built with GMP-5.0.1. 1.20 on the other hand was built with GMP-ECM 6.2.3 and GMP-4.2.3. That's the only difference I can see. Both yafu versions were statically linked to libecm.a. All of the above were built on a RH Enterprise Linux 5 box with gcc version 4.1.2.

[edit]
I see that there are different versions of libgmp.so.*, which appear in the gmp/lib/ folder, between the different versions of GMP. So even though libecm is linked statically to yafu, the libecm library in turn probably depends on different dynamic libgmp libraries. I could provide you with the GMP-5.0.1 libgmp.so.10 and libgmp.so.10.0.1 files if you like.

Last fiddled with by bsquared on 2010-12-06 at 19:27 Reason: correct library name
bsquared is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
Yafu bug. storflyt32 YAFU 2 2015-06-29 05:19
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 20:46.


Fri Aug 6 20:46:23 UTC 2021 up 14 days, 15:15, 1 user, load averages: 2.36, 2.45, 2.64

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.