mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2011-04-18, 16:31   #562
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2·5,393 Posts
Default

Quote:
Originally Posted by bchaffin View Post
I was under the impression that the python version of factMsieve was more widely used than the perl version, but maybe that's not the case. Is one of them considered more up-to-date than the other?

Anyway the python version seems to have a pretty good estimate of minimum relations; for most factorizations up to 130 digits I find that it usually runs filtering only once or twice. In fact that was my main reason for switching to it.
The Python version appears to be more suitable for Windoze systems and the Perl version for Unix-like systems.

That said, the Python version running on my Win7 consistently underestimates the number of relations required. Perhaps I need to upgrade to a more recent version.

Paul
xilman is offline   Reply With Quote
Old 2011-04-19, 00:29   #563
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

F0016 Posts
Default

Quote:
Originally Posted by xilman View Post
The Python version appears to be more suitable for Windoze systems and the Perl version for Unix-like systems.

That said, the Python version running on my Win7 consistently underestimates the number of relations required. Perhaps I need to upgrade to a more recent version.

Paul
I'm running the Python version on several WinXP (2) and Ubuntu (4) machines via Aliqueit and they rarely need extra relations, although almost all my work has been <110 digits. There was a lot of effort put into refining the estimated number a little while ago. The info can be found in this thread starting at around post #386. Perhaps it is an issue of not being up-to-date, but if it is still not sufficient, Brian Gladman should be let know in that thread.
EdH is offline   Reply With Quote
Old 2011-04-19, 10:04   #564
chris2be8
 
chris2be8's Avatar
 
Sep 2009

24·131 Posts
Default

Quote:
Originally Posted by xilman View Post
Work around I discovered is to rename the foo.fb and foo.ini files out of the way. The filtering code then fails to run and the sieving continues.

When you think you really have enough relations, rename them back again.

Paul
The designed way is to set up a file called MINRELS.txt with a suitable number in it. factMsieve.pl will get at least that many relations before trying filtering.

Chris K
chris2be8 is offline   Reply With Quote
Old 2011-04-19, 10:08   #565
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2×5,393 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
The designed way is to set up a file called MINRELS.txt with a suitable number in it. factMsieve.pl will get at least that many relations before trying filtering.

Chris K
Ah, I didn't know that one. Thanks.

Paul
xilman is offline   Reply With Quote
Old 2011-04-19, 10:10   #566
chris2be8
 
chris2be8's Avatar
 
Sep 2009

24·131 Posts
Default

Quote:
Originally Posted by bchaffin View Post
I was under the impression that the python version of factMsieve was more widely used than the perl version, but maybe that's not the case. Is one of them considered more up-to-date than the other?

Anyway the python version seems to have a pretty good estimate of minimum relations; for most factorizations up to 130 digits I find that it usually runs filtering only once or twice. In fact that was my main reason for switching to it.
I've been updating the perl version because I know perl but don't know python. I'll have a look at factmsieve.py to see if I can tell how it estimates minimum relations.

I'll be happy with a number near enough for msieve to estimate how many more it needs reasonably accurately.

Chris K
chris2be8 is offline   Reply With Quote
Old 2011-04-19, 10:13   #567
chris2be8
 
chris2be8's Avatar
 
Sep 2009

24×131 Posts
Default

Quote:
Originally Posted by jasonp View Post
That's unavoidable; you can't come up with a decent estimate of the remaining work to do, when singleton removal destroys the entire dataset. Any choice of answer at this stage will work, but the danger is that you will be working on a small problem and asking for much more than 1M relations will cause too much work to be done. Agreed that for a large job asking for 1M more relations means you'll be running the filtering once per day, uselessly for the first two weeks :)
Even a rough estimate would help. Eg the number of entries in the factor base, that scales with problem size so is less likely to ask for far to many relations.

Chris K
chris2be8 is offline   Reply With Quote
Old 2011-04-19, 10:21   #568
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

10248 Posts
Default

Quote:
Originally Posted by EdH View Post
I'm running the Python version on several WinXP (2) and Ubuntu (4) machines via Aliqueit and they rarely need extra relations, although almost all my work has been <110 digits. There was a lot of effort put into refining the estimated number a little while ago. The info can be found in this thread starting at around post #386. Perhaps it is an issue of not being up-to-date, but if it is still not sufficient, Brian Gladman should be let know in that thread.
Yes, I'm happy to update the estimates it uses if people can provide better data or algorithms for making such estimates.
Brian Gladman is offline   Reply With Quote
Old 2011-04-19, 11:03   #569
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2·1,303 Posts
Default

here is a few other that might help you, ranging from 85 to 118 digits
Attached Files
File Type: zip relations.zip (19.6 KB, 87 views)

Last fiddled with by firejuggler on 2011-04-19 at 11:03
firejuggler is offline   Reply With Quote
Old 2011-04-22, 09:30   #570
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

B0E16 Posts
Default

More relations.
Attached Files
File Type: zip relations.zip (14.1 KB, 81 views)
em99010pepe is offline   Reply With Quote
Old 2011-04-24, 06:25   #571
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default 15e, SVN413 x64: endless loop?

I just downloaded SVN 413 from Jeff's page. Is it intended, that the 15e binary says that it is SVN 406?

Edit: the 15e x64 binary seems to have entered an endless loop (or being otherwise extremely slow); I killed it after 15 minutes:

Code:
gnfs-lasieve4I15e -v -M1 -a alq4788.2661.poly -o alq4788_test.out -f  16000000 -c 1000
gnfs-lasieve4I15e: L1_BITS=15, SVN $Revision: 406 $
 Warning:  lowering FB_bound to 15999999.
FBsize 1030098+0 (deg 5), 2063688+0 (deg 1)
total yield: 72, q=16000081 (8.10293 sec/rel) <-- 15 minutes after the run was started on an intel i7

Last fiddled with by Andi47 on 2011-04-24 at 06:44
Andi47 is offline   Reply With Quote
Old 2011-04-24, 10:22   #572
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
The designed way is to set up a file called MINRELS.txt with a suitable number in it. factMsieve.pl will get at least that many relations before trying filtering.

Chris K
The issue I've been facing due to lack of knowledge on the subject is to understand how much raw relations are needed per SNFS job*. For SNFS difficulty of 180-182 and for any type of composite size at least 22-23M raw relations are needed to build a matrix. I really would like to understand this more accurate and not by test experience. Can someone point me to some papers regarding this matter?
In the attachment you will find my SNFS jobs done so far (excel spreadsheet). The file is my guide to estimate how many raw relations are needed.

* 2^LP/(LP ln(2)-1) always gives underestimated number of raw relations, where LP means large prime bits.

PS: xilman and wblipp have been helping me a lot. Thank you both!
Attached Files
File Type: zip relations.zip (4.6 KB, 97 views)

Last fiddled with by em99010pepe on 2011-04-24 at 10:39
em99010pepe is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of GGNFS LegionMammal978 Msieve 17 2017-01-20 19:49
Running other programs while running Prime95. Neimanator PrimeNet 14 2013-08-10 20:15
Error running GGNFS+msieve+factmsieve.py D. B. Staple Factoring 6 2011-06-12 22:23
GGNFS or something better? Zeta-Flux Factoring 1 2007-08-07 22:40
ggnfs ATH Factoring 3 2006-08-12 22:50

All times are UTC. The time now is 15:48.


Fri Aug 6 15:48:27 UTC 2021 up 14 days, 10:17, 1 user, load averages: 2.04, 2.25, 2.46

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.