20210329, 14:14  #1 
Mar 2021
111_{2} Posts 
$100k AWS credits  what are the odds
Hey folks,
So I have $100k in AWS credits that I need to find a good use for. I was tempted to just run folding@home but then I came across the EFF prize for the 100m digit prime and I have to admit it piqued my interest. Suppose I was to spin up a p4d.24xlarge ec2 instance, I could afford roughly ~3k hours  do you think that would have a decent shot at cracking it  or are there already supercomputers on the job? 
20210329, 14:49  #2 
Jun 2003
3^{2}·19·29 Posts 
That thing has 8x A100 GPUs and probably 2x 24core Xeons. Assuming A100 can complete a 100m digit test in 100 hours and 1 socket Xeon can do one in 10 days, you can do about 15 such tests in a week or about 300 in 20 weeks. You will have barely moved the probability needle.
Even if you could somehow reserve one instance for a year, that's still 15*50= 750 tests. Not a realistic way to win EFF prize. No one is actively pursuing the 100m digit EFF prize  it's a bit of quixotic effort at this point. Last fiddled with by axn on 20210329 at 14:49 
20210329, 14:52  #3 
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
41·113 Posts 
However, you are more than welcome to join our pursuit.

20210329, 15:51  #4  
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
1001111101110_{2} Posts 
Quote:
Run some rough numbers: The A100 is rated 746. GHD/d at https://www.mersenne.ca/cudalucas.php x8 gpus =5968. GHD/d at $32.77/hour https://aws.amazon.com/ec2/instancetypes/p4/ It takes ~411. GHD / 103M exponent primality test https://www.mersenne.ca/exponent/103214483 so ~14.52 103M exponents primality tested per day, at $786.48/day cost; $54.16 each exponent. That's far higher per exponent cost than one can achieve owning and running some equipment. Those that do this sort of thing (GIMPS cloud computing on AWS) would advise to use spot prices instead, which may cost much less. (Cost is about $1.85 per 103M exponent if you bought a Radeon VII new a couple years ago and live in an area with reasonable utility costs, which soundly beats the spot prices.) $100k AWS credit would be exhausted at ~1846. primality tests on the service you inquired about, if effort is spent optimally (not leaving a large number of tests partially completed when the credits are exhausted). Estimated average odds per 100M332M exponent primality test can be gauged as follows. Derived from http://hoegge.dk/mersenne/GIMPSstats.html As of 20210127 15:20 UTC Total number of prime exponents in the interval: 12,125,733 Survived the Mostly Optimal TF & P1 4,774,303 Mersenne primes expected ~ 3.085 (three) So estimated probability per TF/P1 survivor is 0.628ppm. Assume that near 100M those odds are doubled, 1.257ppm. Then the odds of at least one tested exponent of the 1846 being prime assuming close enough to perfect program execution so no errors hide a prime, is ~2319ppm. Finding a prime with that budget and that service is unlikely; ~0.232% chance. Even if the A100 GHD/d rating is too low by a factor of 2 or 3 the conclusion still holds. The chance with several alreadypurchased before the price increases Radeon VIIs and a similar budget at $.12/kw/hr is ~6.8%. Expected return (pretax) is ~0.068 * $3k GIMPS prize $100k cost = $204$100k = $99,796 for 103332M prime hunting (probability weighted loss). The only known winning economic situation is where someone else is paying the cost, as in Google Colab free. And it doesn't pay much per GIMPS hunter labor hour spent. We do it for other reasons, not for any reasonable expectation of profit. Last fiddled with by kriesel on 20210329 at 16:55 

20210329, 15:53  #5  
Mar 2021
7_{8} Posts 
Quote:


20210329, 16:00  #6  
Mar 2021
7 Posts 
Quote:
The credits were free through a startup accelerator (AWS Activate perk) but I think I might just have to go with Folding@Home on this one. They're expiring in a couple of months time and we've only used a fraction of the original allocation. Thanks a million for the breakdown though, really helps me appreciate the monstrous effort involved! Last fiddled with by CloudPrime on 20210329 at 16:01 

20210329, 16:08  #7  
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
2·2,551 Posts 
Yes. Patrick Laroche found one on his fourth test.
Quote:
Last fiddled with by kriesel on 20210329 at 16:11 

20210329, 16:19  #8  
Mar 2021
7 Posts 
Quote:
Part of me is very tempted to take a chance on ~1846 lucky long numbers, but at the same time it seems like an awful waste of electricity. Then again, someone's going to expend it eventually anyway right? 

20210329, 17:04  #9 
"Composite as Heck"
Oct 2017
2·397 Posts 
Speaking of wastes of electricity, you could burn through $100k of AWS credit by

20210329, 17:32  #10 
Mar 2021
7 Posts 
Against the TOS unfortunately! (AWS Activate specifically, you're free to launder crypto provided you're fronting the cash and not using credits)

20210329, 17:40  #11 
Oct 2007
Manchester, UK
2477_{8} Posts 
Use the credits to purchase one of their servers and run it forever.

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
so who got the $25,000 cut of the $100k EFF prize?  ixfd64  Lounge  10  20120922 15:55 
Question about credits  MooMoo2  Twin Prime Search  9  20110615 08:38 
A new termination below 100k  10metreh  Aliquot Sequences  0  20100311 18:24 
CREDITS GONE  pegaso56  Information & Answers  2  20091215 02:55 
How to create TWO fat CPU credits?  ET_  PrimeNet  12  20081103 22:11 