![]() |
|
|
#298 |
|
Feb 2010
7 Posts |
The OS is Windows Server 2008 Standard SP2. I'm not familiar with this OS, but it was already installed on the system I'm using. All components for factoring were installed and executed as Administrator. I'm familiar with permission based issues in Linux, but not in Windows. Perhaps it has to do with executing Python on Windows Server? I'll look into this.
Thank you, -Yogesh |
|
|
|
|
|
#299 |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
I doubt that it has anything to do with Python since the missing file is one that should be written by msieve before it returns to the Python code. Moreover, msieve is signalling an error of some kind when it finishes, which is consistent with an msieve issue of some kind. I am not familiar with the details of what msieve does when it terminates but Jason may be able to suggest some possible failures that could have occurred.
Brian |
|
|
|
|
|
#300 |
|
Tribal Bullet
Oct 2004
DD716 Posts |
I think the problem is just that the polynomial selection didn't find any polynomials. How large is the input number?
Edit: of course you're factoring an RSA key. Inputs like this are too large for msieve's polynomial selection unless you have the graphics card version, or have many machines. Even then finding even one polynomial will take several days. With limited resources you're better off using pol51 Last fiddled with by jasonp on 2010-03-09 at 12:57 |
|
|
|
|
|
#301 |
|
May 2008
Worcester, United Kingdom
22×7×19 Posts |
Jason, would it be possible to have some meaningful error return codes from msieve? I could then improve feedback to users when things seem to go wrong.
Brian |
|
|
|
|
|
#302 | |
|
Feb 2010
7 Posts |
Quote:
Thanks for your help, -Yogesh |
|
|
|
|
|
|
#303 | |
|
Oct 2004
Austria
248210 Posts |
Quote:
You will need 2 GB RAM for the matrix. Last fiddled with by Andi47 on 2010-03-10 at 18:10 |
|
|
|
|
|
|
#304 |
|
Tribal Bullet
Oct 2004
3·1,181 Posts |
I think now would be a good time to finally correct the error reporting in the library; will get to it as time allows.
|
|
|
|
|
|
#305 |
|
Sep 2009
977 Posts |
Agreed, for 512-bit RSA keys (well, that's what many GNFS tasks of difficulty 154-155 are
) in a 2 months, you need at least a dual-core CPU and 2 GB of RAM.As a complement to Andi's post: 3 GB of RAM would buy you more comfort (in case you end up with a 5M x 5M or larger matrix, or you simply need to use the computer for other tasks). |
|
|
|
|
|
#306 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Tired of seeing something like "Found 1952010 relations, 99.5% of the estimated minimum (1961927)." and it sieving a whole extra portion, I decided to make this little patch to make it do post-proc it if it's 95% or more, instead of 100% or more: (bold means new code)
Code:
# Set global flags to control operation
...
VERBOSE = True
FRACTION_OF_ESTIMATED = 0.95
...
cs = ('Found {0:d} relations, {1:2.1f}% of the estimated minimum ({2:d}).'
.format(curr_rels, pc, lats_p['minrels']))
write_string_to_log(cs)
print(cs)
if curr_rels > FRACTION_OF_ESTIMATED*lats_p['minrels']:
I think it'd be a good idea to implement this (though maybe with a different variable name, I just picked something so I could change it a bit more easily than re-finding that code) into the main releases of factmsieve.py. ![]() This change has had only minimal testing, (i.e. I resumed a test and it got 99.5% of the estimated relations, and it went straight to post-proc as expected) but it's so simple I don't foresee anything going wrong because of it. Last fiddled with by Mini-Geek on 2010-03-15 at 18:54 |
|
|
|
|
|
#307 |
|
May 2008
Worcester, United Kingdom
10248 Posts |
But this change is the same as reducing the minrels estimate. So I assume that you are, in effect, saying that the minrels estimate is 5% too high for the sort of numbers you are tackling. What are the lpbr/a values to which this 5% applies?
Brian |
|
|
|
|
|
#308 | ||
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10000101010112 Posts |
Quote:
Or, to look at the issue from another point of view, maybe the script could be modified to see this information: "Each section of work gets about x% of the estimate." and "I'm now much closer to the estimate than x%." And, instead of taking this action: "So I'll sieve another full section of work and overshoot 100% by a lot." Take this one: "So I'll sieve what I can expect will put me a little over 100% and then see if I'm there." e.g. if it goes from 84.5% to 99.5%, (15%) then it decides to only sieve 1/20th of the normal length, finishes at about 100.25%, (99.5%+15/20=100.25%) and continues to post-proc (or, in the event that it hasn't gone over 100%, the process repeats). Quote:
Code:
Large prime bits: 25/25 I'd have to run more tests to see just how few relations it can have at different sizes for it to still finish, but on a c92 I got to 95.7% and it still finished. ("Found 1677546 relations, 95.7% of the estimated minimum (1753486).") If you want me to run some trials to find the minimum relations for some size(s), let me know what size(s) and any other info I need. Last fiddled with by Mini-Geek on 2010-03-16 at 12:52 |
||
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msieve & ggnfs on MacOS | xilman | Msieve | 8 | 2017-05-20 00:12 |
| Factorizing with MSIEVE, GGNFS & Factmsieve.py | Romuald | Msieve | 24 | 2015-11-09 20:16 |
| Infinite loop for ggnfs or msieve | Greebley | Aliquot Sequences | 4 | 2013-02-06 19:28 |
| Error running GGNFS+msieve+factmsieve.py | D. B. Staple | Factoring | 6 | 2011-06-12 22:23 |
| A new driver? (or type of driver?) | 10metreh | Aliquot Sequences | 3 | 2010-02-15 15:57 |