Bitcoin Forum
March 28, 2024, 11:52:08 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How much does merged-mining cost?  (Read 1051 times)
markm (OP)
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 29, 2012, 10:28:55 AM
 #1

Its been a while now that people have been running merged mining of various numbers of blockchains.

So, anyone getting any decent ballpark estimates yet of how much per additional blockchain it is actually costing to mine more than just one blockchain?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
1711626728
Hero Member
*
Offline Offline

Posts: 1711626728

View Profile Personal Message (Offline)

Ignore
1711626728
Reply with quote  #2

1711626728
Report to moderator
1711626728
Hero Member
*
Offline Offline

Posts: 1711626728

View Profile Personal Message (Offline)

Ignore
1711626728
Reply with quote  #2

1711626728
Report to moderator
1711626728
Hero Member
*
Offline Offline

Posts: 1711626728

View Profile Personal Message (Offline)

Ignore
1711626728
Reply with quote  #2

1711626728
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
July 29, 2012, 10:49:16 AM
 #2

Why would it cost anything at all?

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
markm (OP)
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 29, 2012, 11:04:53 AM
 #3

I know that I have spent some time per chain setting them up and monitoring them, trying geistgeld a number of times and finally having to decide to run without it for now as it is too heavy on resources, trying RUCoin for a while and finding problems with that too thus dropping that too, having to get and compile and try new versions of I0Coin from time to time, and so on. If I was working for a company charging for my time ten or twenty years ago they would have been billing my time at at least twice as much per hour as they were paying me.

So I figure there would be some overhead of that kind in addition to the additional network bandwidth of running another chain, additional disk space usage, additional CPU time used and so on.

All that stuff is not free.

Basically I am trying to get some general idea of how much the transaction fees of a chain are going to have to add up to per month in order for pools and large mining institutions to be able to actually profit at least some tiny amount by adding that chain to their merged-mining lineup...

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
sd
Hero Member
*****
Offline Offline

Activity: 730
Merit: 500



View Profile
July 29, 2012, 06:28:02 PM
 #4

Why would it cost anything at all?

Your miners have to handle more Long Polls. This can reduce mining efficiency of the main chain.

It should be a really small overhead though.
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
July 29, 2012, 11:34:18 PM
 #5

There's also a cost in more possibility of orphans. Before submitting a result to the parent chain a number of requests are made to the auxiliary chains to see if they've been solved. The more auxiliary chains you have, the longer the delay before the parent chain is informed of the resulting hash. If the daemons for the auxiliary chains are overloaded then that delay can be even longer. If some other miner finds a result in that delay time you can be orphaned.

An attacker could work on giving a merge mining pool more orphans by overloading the auxiliary chains with transactions. Satoshidice caused overloading on the bitcoin chain. Imagine if each child chain a pool was merge mining was 'satoshidiced'. The load and delay would be magnified for each chain the pool was mining.
markm (OP)
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 30, 2012, 05:28:58 AM
 #6

Is it actually necessary to submit to aux chains first before submitting to main chain?

Shouldn't the submissions all be able to be done at once as distinct threads none having to wait for another?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
btharper
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
July 30, 2012, 06:24:47 AM
 #7

Is it actually necessary to submit to aux chains first before submitting to main chain?

Shouldn't the submissions all be able to be done at once as distinct threads none having to wait for another?

-MarkM-

Even if not, I'd much rather submit to important chains first (usually the ones with the highest difficulty). So you should never be stuck on an alt-chain if the program is made well.

"Solutions" are sent to alt-chains more often however since they usually have much lower difficulty.
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
July 30, 2012, 07:22:56 AM
 #8

Is it actually necessary to submit to aux chains first before submitting to main chain?

Shouldn't the submissions all be able to be done at once as distinct threads none having to wait for another?
The process of submitting to the aux chain involves a couple of RPC calls. One to the aux chain and one to the parent chain. This is repeated for all aux chains being mined. Then an RPC is done to the parent chain again to check if it solves the parent block. If the parent chain is done first then the call made as part of the aux chain check can become invalid (my understanding based on code inspection).
markm (OP)
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 30, 2012, 07:43:40 AM
 #9

Hmm so if you have such massive power that you solve a primary chain block very frequently compared to the few seconds needed for all those calls, those few seconds will be a significant fraction of the time. However if it is only once every ten minutes on average that you solve a primary block maybe a few seconds isn't really a large fraction so not a really bit hit on performance? Maybe you'd have to be a huge fraction of total hash power for those few seconds to be of much impact?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
markm (OP)
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
September 30, 2012, 06:30:08 PM
 #10

This is not really an abstract theoretical question, it is a practical question.

There are plenty of chains that are not currently being merged-mined much.

Some of them would like to find out how much it is going to cost them to correct that problem so they can properly set up business plans to include that cost.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!