mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2018-04-01, 00:51   #1
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

20516 Posts
Default Pump up GIMPS power? (Wishful thinking)

https://github.com/ethereum/EIPs/iss...ment-377734068

The cryptocurrency space is going through a bit of a crisis, maybe we can convince them that elliptic curve factoring candidates for us is more valuable and to build dedicated factoring hardware for high bitrates isn’t likely to have big advantages over commodity GPUs and CPUs!

Last fiddled with by kladner on 2018-05-02 at 23:28 Reason: corrected all caps, and returned title to the original, informative one
airsquirrels is offline   Reply With Quote
Old 2018-04-01, 09:41   #2
0PolarBearsHere
 
0PolarBearsHere's Avatar
 
Oct 2015

4128 Posts
Default

Quote:
Originally Posted by airsquirrels View Post
https://github.com/ethereum/EIPs/iss...ment-377734068

The cryptocurrency space is going through a bit of a crisis, maybe we can convince them that elliptic curve factoring candidates for us is more valuable and to build dedicated factoring hardware for high bitrates isn’t likely to have big advantages over commodity GPUs and CPUs!
Is it be more useful to disprove by finding a factor (using for example ECM), or to prove using LL calculations? Should we instead be trying to get someone to come up with a coin that requires large FFT calcs that we can exploit?

Last fiddled with by 0PolarBearsHere on 2018-04-01 at 09:43
0PolarBearsHere is offline   Reply With Quote
Old 2018-04-01, 12:01   #3
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

3B616 Posts
Default

I've thought about factoring as PoW for a cryptocurrency and it is an interesting idea:
  • The PoW needs to rely on the previous block to form a chain. Lets say the choice of candidates to try and factor is dependent on the hash of the previous block.
  • Previous factoring results should not be re-usable (for efficiency we don't want to redo work, and it's also insecure if the work can be skipped). So we need a massive set of candidates (2^128 say) such that caching is ineffective. I've gone back-and-forth over using a hash map with a more reasonable number of candidates (2^28 say), but that incentivises caching from external sources (GIMPS, factordb, wherever) and disincentivises publishing of results.
  • As complete a list of candidates with known factors as possible is baked in from the offset, minimising repeated work from external sources. Results already encoded in the blockchain are also skipped
  • A traditional blockchain aims to emit a block at regular intervals. It does this by looking at the recent history of block times (as a gauge of hash power) and adjusting a difficulty number to increase/decrease the average block time as desired. The difficulty in this case could be used to adjust how many candidates we are allowing to be searched to create the next block.
Block times is a potential stumbling block. We can't accept "no factors found with these parameters" as PoW as there's no proof, the only proof is in finding a factor. To maintain a healthy average block time, you need a minimum rate of hashpower to find factors quick enough. Maybe it's not such a problem as if hashpower is low enough, the difficulty will drop to the point where trial-factoring takes over as more efficient at finding factors we're interested in than ECM (the number of permissible candidates increases, increasing the chance of landing on a candidate that has not been trial-factored to a high bit-depth). I don't think there's a need to lock down the algorithm used for finding factors, just the candidates.

Quote:
Originally Posted by 0PolarBearsHere View Post
Is it be more useful to disprove by finding a factor (using for example ECM), or to prove using LL calculations? Should we instead be trying to get someone to come up with a coin that requires large FFT calcs that we can exploit?
I can't see a way to use LL as PoW, the only proof is in finding a prime and that would make for some rather excessive block times :P Verifying part of a DC with "I agree", or saying "this LL that took 5 seconds came out as composite check out this totally-real residue" is too easy to fake.
M344587487 is offline   Reply With Quote
Old 2018-04-01, 12:41   #4
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

11×47 Posts
Default

Most of the crypto algorithms now are a bunch of work, memory hard or computationally hard, with a simple efficient hash function at the end of the solution to store the signature of that work in the next block.

The hard part would be taking the previous hash and incorporate it into the work, such that work couldn’t be prepared ahead of time.
airsquirrels is offline   Reply With Quote
Old 2018-04-01, 13:10   #5
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

32·131 Posts
Default

MersenneCoin?
ECMcoin?
FFTcoin?
VictordeHolland is offline   Reply With Quote
Old 2018-04-02, 15:38   #6
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

24×199 Posts
Default

We find Mersenne primes too irregularly to make even pooled mining a thing.

Making TF coins could be a thing though. Hmmm...
Mark Rose is offline   Reply With Quote
Old 2018-04-03, 00:08   #7
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

22·3·112 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
We find Mersenne primes too irregularly to make even pooled mining a thing.

Making TF coins could be a thing though. Hmmm...
An MTF (Mersenne Trial Factoring) proof-of-work would be excellent. It needs a clear proposal.

If adopted as PoW in some popular coin (ethereum) that would be sweet, but it may be not easy to get the stakeholders' agreement.

MTF could also be the base for a stand-alone crypto coin. This would allow a quantitative incentive for TF (similar to the monetary incentive for LL, the 100M-digit prime prize).
preda is offline   Reply With Quote
Old 2018-04-03, 00:18   #8
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

22·3·112 Posts
Default

Quote:
Originally Posted by preda View Post
An MTF (Mersenne Trial Factoring) proof-of-work would be excellent.
"Prime Coin" :)

Edit: oops, it seems that name is taken... well then, back to Mersenne coin.

Last fiddled with by preda on 2018-04-03 at 00:26
preda is offline   Reply With Quote
Old 2018-04-03, 01:18   #9
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

11·47 Posts
Default

Figure out the algorithm and we could do it!

Requirements:
Input: 32 byte header hash of proposed block, nonce (64 bit worker specific attempt)

Algorithm: ??? Test a range of bits on some candidates???

Output:
List of factors found +
32 byte hash whose 256 bit value is < target

How do you ensure each hash attempt is on previously unfactored candidates?

Perhaps each block includes a range of candidates from a pre-determined pools, iterating through the pool every block? The hash would have to be the mod sum of candidate attempts or some other not so fakeable values. Perhaps nonce represents the low order bits and high order ranges are checked?
airsquirrels is offline   Reply With Quote
Old 2018-04-03, 01:55   #10
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

The major problem with this is that it's ASIC-able. There will be too much centralization.
Dubslow is offline   Reply With Quote
Old 2018-04-03, 02:14   #11
GP2
 
GP2's Avatar
 
Sep 2003

1010000111102 Posts
Default

Quote:
Originally Posted by Dubslow View Post
The major problem with this is that it's ASIC-able.
That's only a problem for the currency itself. It would be a boon to the project's goal of finding factors with low power expenditure.

In fact, why not make the whole thing a scam by design. It would hardly be the first cryptocurrency to fit that description. Deliberately make it ASIC-able, albeit in a non-obvious way. After the dust settles, we buy up the ASICs at fire-sale prices and use them for our own purposes to find factors. The ASIC designers might even put extra R&D effort into it because of the durable hobbyist aftermarket for their product even after the currency itself fails.
GP2 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thinking of Joining GPU to 72 jschwar313 GPU to 72 3 2016-01-31 00:50
Thinking about lasieve5 Batalov Factoring 6 2011-12-27 22:40
Thinking about buying a panda jasong jasong 1 2008-11-11 09:43
Lateral thinking puzzle for you Bundu Puzzles 30 2005-11-26 10:33
Latteral thinking puzzle Uncwilly Puzzles 5 2004-09-01 14:38

All times are UTC. The time now is 15:03.


Fri Jul 7 15:03:16 UTC 2023 up 323 days, 12:31, 0 users, load averages: 1.69, 1.37, 1.21

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔