mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Aliquot Sequences

Reply
 
Thread Tools
Old 2009-06-16, 01:11   #221
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

10000101010112 Posts
Default

Quote:
Originally Posted by Greebley View Post
Ya, I think I understand the concept. The more curves run and fail, the greater the chances are that the factors are quite large and ecm is unlikely to work.
Well, technically, any particular number's factorization is already absolutely determined and has been from before the beginning of time, and any particular sigma value (the randomized value) on an ECM curve, as I understand it, either will or won't find the factors, so really the chances are either 0 or 1, but...well that's just being pedantic. I know what you mean, and it's right.
Quote:
Originally Posted by Greebley View Post
That is why I used the term "any benefit" - to clarify what I wanted to know. In this case I have a c120 so too few (and not finding one that I could) is worse than too many I am thinking.
Yeah, I definitely know the feeling, (even though I've never dealt with numbers quite that huge) but it's still best in the long run to only run the optimal number of curves. But that doesn't mean you have to take what aliqueit.exe suggests since it could very well be underestimating the optimal and causing you to run unnecessary GGNFSs, meaning you ought to run extra curves...or it could be overestimating it and causing you to waste time running unneeded curves, meaning you should skip straight to GGNFS while it still wants to ECM. The question is: which is it doing? I haven't the slightest clue, sorry!
Quote:
Originally Posted by Greebley View Post
The number 232800 is being very annoying. Its around size 123 with no driver, and it is looking like I need to run the second c120 through ggnfs after doing a ggnfs run: c120 = c19 x c102 only 4 iterations ago (and a c110 in between).
Are you saying you ran a GGNFS on 232800 index 809? I can factor it with ECM in 5 seconds at http://www.alpertron.com.ar/ECM.HTM, and 1.2 seconds of that was verifying the primality of the p102. By the way "cxx", like c102, means a composite with xx digits. "pxx", like p102, means a prime with xx digits. Assuming the number I linked earlier is the right one, it should be "c121 = p19 * p102". If you really missed a p19 factor in doing the ECM that aliqueit.exe would run on a number that large, (and you didn't somehow skip the ECM) you have insanely bad luck, if that's even possible at all.

To mklasson, two feature requests:
1. It'd be nice if the B2 values used in ECM/P-1/P+1 were recorded, even if only by another option in aliqueit.ini. That way you'd know what B2 values to put in to Syd's DB when reporting work. And,
2. An automated way to report factoring attempts to Syd's DB would be a nice complement to the new -s option. If it could be added automatically as part of the -s option, great, otherwise a separate option would do. I'm guessing that -s reads from the alq_xxx.elf file and not the .log file with the factoring records, so it might not really be feasible to make this part of the -s option.

Last fiddled with by Mini-Geek on 2009-06-16 at 01:27
Mini-Geek is offline   Reply With Quote
Old 2009-06-16, 01:45   #222
mklasson
 
Feb 2004

2×3×43 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
To mklasson, two feature requests:
1. It'd be nice if the B2 values used in ECM/P-1/P+1 were recorded, even if only by another option in aliqueit.ini. That way you'd know what B2 values to put in to Syd's DB when reporting work. And,
The problem is that I don't know the B2 before ecm runs. But maybe you just meant you'd like to see it in the log file? I guess I could parse the B2 values while checking the ecm tempfile for factors. Perhaps I could change the log output to:
Code:
[Jun 16 2009, 03:25:10] c126: running 904 ecm curves at B1=1e6...
[Jun 16 2009, xx:xx:xx] c126: ran 904 ecm curves at B1=1e6 B2=xxxxxx
That would help conjure automatic partial ecm work continuation into existence as well.

Quote:
Originally Posted by Mini-Geek View Post
2. An automated way to report factoring attempts to Syd's DB would be a nice complement to the new -s option. If it could be added automatically as part of the -s option, great, otherwise a separate option would do. I'm guessing that -s reads from the alq_xxx.elf file and not the .log file with the factoring records, so it might not really be feasible to make that part of it.
Is this something people would find useful? For the team crunching, I imagine? I could probably take care of that in some way.
mklasson is offline   Reply With Quote
Old 2009-06-16, 02:13   #223
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

426710 Posts
Default

Quote:
Originally Posted by mklasson View Post
The problem is that I don't know the B2 before ecm runs. But maybe you just meant you'd like to see it in the log file? I guess I could parse the B2 values while checking the ecm tempfile for factors. Perhaps I could change the log output to:
Code:
[Jun 16 2009, 03:25:10] c126: running 904 ecm curves at B1=1e6...
[Jun 16 2009, xx:xx:xx] c126: ran 904 ecm curves at B1=1e6 B2=xxxxxx
That would help conjure automatic partial ecm work continuation into existence as well.
Sounds fine to me. I was imagining it being on the same line as the "running" line, but that works too. Besides, if you really want the B2 from an in-progress ECM run, you can look in the aliqueit_ecm_temp.log file.
Quote:
Originally Posted by mklasson View Post
Is this something people would find useful? For the team crunching, I imagine? I could probably take care of that in some way.
I'm not sure how useful it would be to most people, it just seemed to me like something that ought to exist to me. Feel free to not put it in if you think it'd be too much work for the use it would have, I wouldn't mind very much.
Mini-Geek is offline   Reply With Quote
Old 2009-06-16, 02:22   #224
Greebley
 
Greebley's Avatar
 
May 2009
Dedham Massachusetts USA

3·281 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Are you saying you ran a GGNFS on 232800 index 809? I can factor it with ECM in 5 seconds at http://www.alpertron.com.ar/ECM.HTM, and 1.2 seconds of that was verifying the primality of the p102. By the way "cxx", like c102, means a composite with xx digits. "pxx", like p102, means a prime with xx digits. Assuming the number I linked earlier is the right one, it should be "c121 = p19 * p102". If you really missed a p19 factor in doing the ECM that aliqueit.exe would run on a number that large, (and you didn't somehow skip the ECM) you have insanely bad luck, if that's even possible at all.
It is more likely that I am mistaken about which one was hard and it was further back than I thought. In fact the when I look at it 2^6 seems wrong - there was a 2^5 factor, so I am not sure which it was.

- I found it 788 - a c56 x c65 which makes a lot more sense and I got farther than I had thought.

Edit: Oh and I wasn't commenting on whether aliqueit.exe's estimate was accurate - it is more a case of an aborted ecm at 650/1221, should I then skip ecm or not - so the choice is 650 or 1871. Stopping near 1221 would require I be there when it was reached which is not the case.

Last fiddled with by Greebley on 2009-06-16 at 02:46
Greebley is offline   Reply With Quote
Old 2009-06-16, 06:26   #225
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2·33·109 Posts
Default

i have noticed a bug in 64-bit linux(probably all linux)
aliqueit tries to using the command "del" to delete the gnfs folders
"del" doesnt exist on my 64-bit linux instalation
i think it is a windows thing
henryzz is online now   Reply With Quote
Old 2009-06-16, 06:29   #226
10metreh
 
10metreh's Avatar
 
Nov 2008

1001000100102 Posts
Default

Look in aliqueit.ini, spot the hashed alternative with "rm"
10metreh is offline   Reply With Quote
Old 2009-06-18, 05:28   #227
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

55348 Posts
Default Aliquiet improvement

i think, it would be helpful to see, which number of the curves an ECM run produced/found a factor, so the log-file should contain something like this:

Code:
c85: running 214 ecm curves at B1=5e4...
factor found in curve 23/214
Using B1=50000, B2=12746592, polynomial x^2, sigma=2218727820
Step 1 took 297ms
Step 2 took 312ms
********** Factor found in step 2: xxxxxxxx
some minds?

Last fiddled with by kar_bon on 2009-06-18 at 05:29
kar_bon is offline   Reply With Quote
Old 2009-06-18, 08:50   #228
mklasson
 
Feb 2004

2×3×43 Posts
Default

Quote:
Originally Posted by kar_bon View Post
i think, it would be helpful to see, which number of the curves an ECM run produced/found a factor, so the log-file should contain something like this:
I agree. It already would if gmp-ecm started printing "Run x out of y:" on the first curve instead of the second. I'll try to fix it anyhow.
mklasson is offline   Reply With Quote
Old 2009-06-18, 10:39   #229
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

Quote:
Originally Posted by kar_bon View Post
i think, it would be helpful to see, which number of the curves an ECM run produced/found a factor, so the log-file should contain something like this:

Code:
c85: running 214 ecm curves at B1=5e4...
factor found in curve 23/214
Using B1=50000, B2=12746592, polynomial x^2, sigma=2218727820
Step 1 took 297ms
Step 2 took 312ms
********** Factor found in step 2: xxxxxxxx
some minds?
Same, I thought of that too. I have no idea why I never mentioned it. (Actually, I often don't mention improvements I think of for both aliqueit and the database... I'll probably get around to posting them soon.)

Last fiddled with by 10metreh on 2009-06-18 at 10:39 Reason: Stupid me
10metreh is offline   Reply With Quote
Old 2009-06-18, 16:19   #230
Greebley
 
Greebley's Avatar
 
May 2009
Dedham Massachusetts USA

3·281 Posts
Default

Another possible item for your list of enhancements:

I had a case where ggnfs ran into an issue and didn't return the final factor (aborted early). Running ggnfs again however gave the correct answer.

It occurred to me that it would be nice to have an option where rather than running ecm forever, you could repeat the ggnfs attempt instead.

Note that this option should default to false because the most usual error is that ggnfs is not set up right and so calling it again won't do anything. But once I know ggnfs is set up correctly, I would like to be able to switch to retrying ggnfs because it is likely to succeed the second time.
Greebley is offline   Reply With Quote
Old 2009-06-18, 16:22   #231
10metreh
 
10metreh's Avatar
 
Nov 2008

2×33×43 Posts
Default

Quote:
Originally Posted by Greebley View Post
I had a case where ggnfs ran into an issue and didn't return the final factor (aborted early). Running ggnfs again however gave the correct answer.
How did ggnfs manage to abort early? Was it that "matrix must have more columns than rows" error?
10metreh is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resuming aliqueit johnadam74 Aliquot Sequences 4 2016-03-28 12:32
Apparent aliqueit issue with specifying factors pakaran Aliquot Sequences 2 2015-09-12 23:10
Using Several Instances of Aliqueit for a large gnfs job EdH Aliquot Sequences 6 2011-12-13 18:58
Setting up aliqueit science_man_88 Aliquot Sequences 185 2011-11-08 12:18
Tried out aliqueit.exe: ggnfs failing Greebley Aliquot Sequences 35 2010-02-13 15:23

All times are UTC. The time now is 09:56.


Fri Aug 6 09:56:26 UTC 2021 up 14 days, 4:25, 1 user, load averages: 4.31, 4.35, 4.09

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.