![]() |
|
|
#1 |
|
Jan 2015
2×127 Posts |
Hi,
So I'm working on a new on-prem private cloud redesign POC and I have an opportunity to run whatever the hell tickles my fancy to test it out, and I want to produce something of interest (we use gimps for stability testing on idle hardware, but I want to do something more ram/storage intensive than cranking out a bunch of LL's). I was thinking of running that software that was in the news somewhere in a post on here (that now I can't find) that generated a record number of digits of pi using several nodes and ~170TB of storage over a month. If anyone knows where that post/software is that'd be nice, but I also am open to ideas on what else would be cool. Once it gets off the ground (will be months from now) I'll likely have 6 nodes split cross-country with a 64c EPYC2 cpu, multi-terabytes of RAM, fast 100+Gbit interconnect, and a fast NVMe fabric with anywhere from several to a few hundred TBs of storage. I don't do a lot of HPC stuff but I'm definitely looking into their playground to steal ideas. |
|
|
|
|
|
#2 |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
45368 Posts |
You could run PRP tests without reducing the exponentiation via modular arithmetic.
This will enable you to perform tests on multiple candidates at 1/gazillions of The time it would take you to redo the modular arithmetic otherwise. Please let me know if you are interested. |
|
|
|
|
|
#3 |
|
Apr 2019
CD16 Posts |
Good news, the dev posts on this forum and it even has its own subforum:
https://mersenneforum.org/forumdisplay.php?f=159 |
|
|
|
|
|
#4 | |
|
Jan 2015
2×127 Posts |
Quote:
noice...noiiiiiice |
|
|
|
|
|
|
#5 | |
|
Jan 2015
2×127 Posts |
Quote:
So I'm a bit of an outsider here in that I'm not a math nerd at all, so I have no idea what you just said. edit: You'd have to explain it like I'm five, sans the sesame street characters. Last fiddled with by aurashift on 2019-06-28 at 00:21 |
|
|
|
|
|
|
#6 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
95E16 Posts |
Quote:
Suppose you want to see if p=5 is prime. You would use the formula: p | b^(p-1)-1 b is just any integer other than 1 or p and coprime to p, say 2. So 5 divides 2^4-1=15 This tells you that 5 is a probable prime. And then you would perform a deterministic test if you could to prove it prime once and for all. Now suppose you want to test a larger candidate say one with 1M decimal digits. The formula is the same but raising b to the power of (p-1) will take perhaps a few hours and the result will not fit in any (in the market PC) RAM. The remedy is to perform modular Arithmetic which still takes hours but needs only enough RAM to keep track of the reminder of b^(p-1)/p which is always smaller than p and sufficient information for the test. Now let's say you wanted to test a number of candidates which are close enough such that once you did one exponentiation you could get the next one quickly by a single multiplication. Modular Arithmetic does not allow for this but if you had unlimited RAM you could register the whole number rather than just the reminder and the multiplication to get the next exponentiation would work. Since there is no such thing as unlimited RAM, you could perform tests without Modular arithmetic only as much as your RAM would allow. But with Arbitrary-Precision programs used for large numbers the more RAM you have the bigger the numbers you could test without Modular Arithmetic. Last fiddled with by a1call on 2019-06-28 at 01:07 |
|
|
|
|
|
|
#7 | |
|
Jan 2015
2×127 Posts |
Quote:
And lets say you were swapping that to storage due to lack of RAM, what kind of numbers there? That might be harder to do, but maybe not. |
|
|
|
|
|
|
#8 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17×487 Posts |
|
|
|
|
|
|
#9 |
|
Jan 2015
111111102 Posts |
|
|
|
|
|
|
#10 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
2×11×109 Posts |
Quote:
The smallest Top-10 Twin-Prime has 52k decimal digits as of now: My apologies, you would need virtually unlimited RAM for that. Wolfram Alpha doesn't even dignify that calculation with a sane result. ![]() https://www.wolframalpha.com/input/?i=2%5E(10%5E52000) Should have done the math before I posted.
Last fiddled with by a1call on 2019-06-28 at 01:41 |
|
|
|
|
|
|
#11 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
17·487 Posts |
Quote:
log2 (500 terrabytes) = log2 (500 * 10^12 * 8 bits) Thus, numbers about 55 bits long. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Some ideas regarding NFS... | paul0 | Factoring | 3 | 2015-03-14 19:55 |
| Prime search in a cloud-based server (VM)... | iParadase | PrimeNet | 8 | 2013-03-06 17:13 |
| two ideas for NPLB | TimSorbet | No Prime Left Behind | 16 | 2008-03-01 23:32 |
| GROUP IDEAS | TTn | 15k Search | 15 | 2003-09-23 16:28 |
| Domain name ideas... | Xyzzy | Lounge | 17 | 2003-03-24 16:20 |