![]() |
![]() |
#1 |
"Ben"
Feb 2007
2×35×7 Posts |
![]()
Just curious, has anyone had a chance to confirm/deny the timings of my SIQS relative to msieve? I'm mostly interested in the performance on 64bit linux systems, core2 or otherwise.
p.s. there is a new version on my page, with a few bugfixes and a couple percent improvement over v1.0's SIQS timings for large factorizations. Thanks, - ben. |
![]() |
![]() |
![]() |
#2 |
Mar 2007
Germany
23·3·11 Posts |
![]()
Hi @ all!
I have tested the new Version Yafu 1.0.1. It works fine with small numbers - but now I tried a 83 digit Number only for Testing and Yafu didn`t get a result. The same Number was factoring with Msieve1.38 without Problems. I used the win32 bin Version from Yafu That`s the output from Yafu: Code:
Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, starting SIQS on c83: 47400378883230338232775581390792470724641097776632053645187932911870219271898236101 Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, n = 83 digits, 277 bits Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, ==== sieve params ==== Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, factor base: 50538 primes (max prime = 1318211) Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, large prime cutoff: 125230045 (95 * pmax) Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, sieve interval: 14 blocks of size 32768 Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, polynomial A has ~ 11 factors Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, using multiplier of 5 Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, using small prime variation, with initial value 8 Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, bucket sieving beyond prime 49157 Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, trial factoring cutoff at 109 bits Wed Oct 29 2008 10:33:23 v1.0.1 @ LAPPIE, ==== sieving started ==== Wed Oct 29 2008 10:54:41 v1.0.1 @ LAPPIE, sieve time = 424.1220, relation time = 154.4950, poly_time = 679.4220, reload_time = 0.0000 Wed Oct 29 2008 10:54:41 v1.0.1 @ LAPPIE, 50600 relations found: 25511 full + 25089 from 269700 partial, using 238090 polys Wed Oct 29 2008 10:54:41 v1.0.1 @ LAPPIE, 1444563 relations checked for completeness Wed Oct 29 2008 10:55:34 v1.0.1 @ LAPPIE, Lanczos elapsed time = 39.3140 seconds. Wed Oct 29 2008 10:55:34 v1.0.1 @ LAPPIE, Sqrt elapsed time = 5.3270 seconds. Wed Oct 29 2008 10:55:34 v1.0.1 @ LAPPIE, Total elapsed time = 1331.7420 seconds. Wed Oct 29 2008 10:55:34 v1.0.1 @ LAPPIE, Wed Oct 29 2008 10:55:34 v1.0.1 @ LAPPIE, Greeting from Germany |
![]() |
![]() |
![]() |
#3 |
Jun 2007
Moscow,Russia
7·19 Posts |
![]()
Heh, nice program with sence of humour.
When typing: rsa(123498768976896897689976968098709879087907890789078097812349876769876891234213412341234123421341234) it replies: "bitlength to small" :) BTW: What about primality proof algorithm including? Is it difficult to implement fast method of determine primality testing? |
![]() |
![]() |
![]() |
#4 |
Tribal Bullet
Oct 2004
353610 Posts |
![]()
People occaisionally ask for some kind of primality proving algorithm; implementations of these are much more unusual than implementations of factoring. The algorithms are fairly involved, which is why few have bothered. Primo is the implementation of choice (it uses elliptic curve primality proving), and also ppsiqs has APRCL code. The source for the latter is available.
Ben, congratulations on a major QS speedup. The performance increase is so large that there's no point in my trying to catch up :) |
![]() |
![]() |
![]() |
#5 | |
"Ben"
Feb 2007
2×35×7 Posts |
![]() Quote:
The input gets cast to an int, which is a large negative number in this case, hence the output. I've built in checks on the input size now, thanks for your test. As far as primalty proofs, I just haven't delved much into that area. It may be sacriligious to say on this forum but large primes just don't excite me as much as factoring, so that's where I've spent my time/energy. Yafu does have an LLT implementation, because it's so easy to do, but it is extremely slow for large inputs (I have only N^2 multiplication). Thanks for your interest, - ben. |
|
![]() |
![]() |
![]() |
#6 |
"Ben"
Feb 2007
2·35·7 Posts |
![]()
This was a bug in the program, but I thought I fixed it. I haven't been able to reproduce it here using 1.0.1. If you still have the relations for that job (you haven't tried to factor anything else by SIQS since then), then maybe try it again. The particular version of msieve I'm using sometimes only finds 10 or fewer dependencies in the matrix, and when that happens I've seen it only find one factor before. Maybe here it just didn't find any.
I'll continue to test large inputs using the windows code to see if I can also see the problem. Thanks for your interest and feedback, - ben. |
![]() |
![]() |
![]() |
#7 |
Tribal Bullet
Oct 2004
67208 Posts |
![]()
I first got interested in computational number theory because of LL tests and large primes, but I feel exactly the same way. We should be fine as long as the sacrilege is limited to the factoring subforum :)
|
![]() |
![]() |
![]() |
#8 |
Jun 2007
Moscow,Russia
7·19 Posts |
![]()
The only thing of using such inputes -to see if program is able to catch different kind of exceptions smoothly :)
|
![]() |
![]() |
![]() |
#9 |
"Ben"
Feb 2007
2×35×7 Posts |
![]() |
![]() |
![]() |
![]() |
#10 | |
"Ben"
Feb 2007
2×35×7 Posts |
![]() Quote:
And by the way, msieve still rules on opterons. I haven't figured out yet why I get such a performance hit between core2 and amd. Anyway, as you say, happy factoring! - ben. Last fiddled with by bsquared on 2008-10-30 at 03:54 |
|
![]() |
![]() |
![]() |
#11 |
Nov 2008
232210 Posts |
![]()
I think I have found a bug in yafu:
When I execute "factor(2^70-1)", the factors come out as follows: prime: [3 1] [11 1] [31 1] [43 1] [71 1] [127 1] [281 1] prp: [5 1] composite: [2002290899 1] What appeared as 5 x 2002290899 should have been 86171 x 122921. The bug appears to be in the rho method. ![]() P.S. It would be good to add algebraic factors to yafu. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |