mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2016-12-11, 06:42   #12
GP2
 
GP2's Avatar
 
Sep 2003

1010000110012 Posts
Default

Quote:
Originally Posted by lycorn View Post
Are you then considering to start looking for first factors? That would be good, as they are becoming increasingly difficult to find for exponents this small. All helping hands are welcome...
Found a first factor for M33871, namely 13749988937505141870311843033629075511 with 38 digits.
GP2 is offline   Reply With Quote
Old 2016-12-12, 08:22   #13
lycorn
 
lycorn's Avatar
 
"GIMFS"
Sep 2002
Oeiras, Portugal

27018 Posts
Default

Wow! Good catch.
How long did it take, in actual clock time?
I´ve never used GMP for P-1 but I´ll probably give it give it a go one of these days.
lycorn is offline   Reply With Quote
Old 2016-12-12, 09:34   #14
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Quote:
Originally Posted by lycorn View Post
How long did it take, in actual clock time?
204 minutes for stage 1, and 760 minutes for stage 2, so a bit more than 16 hours in all, using a single core.

Edit: I forgot to mention, peak memory usage during stage 2 was 54881 MB.

Last fiddled with by GP2 on 2016-12-12 at 09:44
GP2 is offline   Reply With Quote
Old 2016-12-12, 23:22   #15
Gordon
 
Gordon's Avatar
 
Nov 2008

50110 Posts
Default

Quote:
Originally Posted by GP2 View Post
204 minutes for stage 1, and 760 minutes for stage 2, so a bit more than 16 hours in all, using a single core.

Edit: I forgot to mention, peak memory usage during stage 2 was 54881 MB.
I ran 400 curves at 3M/400M on that one...

How did you get it to use 54 gig without crashing? I have to restrict it to maxmem 14000 on a 32 gig machine (Win 7 Pro).
Gordon is offline   Reply With Quote
Old 2016-12-13, 01:28   #16
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Quote:
Originally Posted by Gordon View Post
I ran 400 curves at 3M/400M on that one...

How did you get it to use 54 gig without crashing?
I am using AWS (Amazon cloud) for almost everything, other than one home machine.

In this case I recently started trying out the x1.16xlarge instance, which has 32 cores and 976 GiB of memory. At spot instance prices it costs about $1 / hour.

Needless to say, it is very labor intensive to try to constantly juggle multiple jobs on it to try to get your money's worth out of those cores and memory, so I'm looking forward to the recently announced AWS Batch, which will simply let you specify a batch job, and Amazon themselves schedules and runs it. However it's not yet available.

PS,
there is also an x1.32xlarge instance with double the cores and memory of the x1.16xlarge.

PPS, there are also r3 instances (and very soon r4), for instance r3.2xlarge with 4 cores and 61 GiB of memory, for a correspondingly hourly cost. However, the r3 instances only have about 15 GiB per core whereas the x1 instances have about 30 GiB per core, and in general the x1's have the lowest price per GiB of memory. So they are more cost effective, but you do have to queue up a bunch of work all at once in order to use them cost-effectively. I run a bunch of P−1 stage 1 on other machines beforehand.

PPPS, one huge potential issue is that this is only remotely affordable at spot instance prices, since the on-demand price is about four or five times more. However, spot prices can spike unexpectedly and terminate your instance with only two minutes notice. I don't think gmp-ecm lets you save and checkpoint during stage 2, not to mention the infeasibility of trying to write about 1 TB from RAM to disk in less than two minutes. Fortunately spot prices are relatively flat for the time being, but that can change unexpectedly at any time, and flush several days' worth of incomplete calculations down the drain... again, AWS Batch may be a godsend when it becomes available.

Last fiddled with by GP2 on 2016-12-13 at 02:25
GP2 is offline   Reply With Quote
Old 2016-12-17, 08:34   #17
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Found another first factor:

M39409 has the 42-digit factor 811625603090654894157972094386309926337383

Peak memory was 63793MB, this time stage 2 took only 250 minutes because it completed after k = 1 of an expected total of 3.

Anyway, any further discussion can go in the thread in the Data forum. For the purposes of the Software forum, it has been established that an P−1 savefile from mprime can be converted into a form suitable for stage 2 by gmp-ecm, in much the same way as for ECM files.

Last fiddled with by GP2 on 2016-12-17 at 09:00
GP2 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I be concerned about CPU fan continuing to run? icestationzebra GPU Computing 3 2013-04-22 03:28
On a continuing indefinitely sequence of Mersennes. David John Hill Jr Miscellaneous Math 112 2010-07-15 22:59
Continuing to Stage 2 p-1 with save file. jasong Factoring 5 2007-11-20 21:23
Continuing math education questions jasong Math 31 2006-08-18 22:49
Problem with mprime (Fixed with mprime -d) antiroach Software 2 2004-07-19 04:07

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


Sun Aug 1 17:48:21 UTC 2021 up 9 days, 12:17, 0 users, load averages: 2.26, 2.09, 1.81

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.