Difference between revisions of "Multiple Instances"

From BiblePay Wiki
Jump to: navigation, search
(Created page with "Tested by InBlue: <br> (Inblue launched multiple biblepayd daemons with different -datadir switches) and then: I accessed the second CLI like this: <pre> [code]./biblepay-...")
 
Line 8: Line 8:
 
<pre>
 
<pre>
  
[code]./biblepay-cli -datadir=/home/inblue/.biblepaycore2 getmininginfo[/code]
+
./biblepay-cli -datadir=/home/inblue/.biblepaycore2 getmininginfo
  
 
(I put the listen=0 in the conf file)
 
(I put the listen=0 in the conf file)
Line 23: Line 23:
 
<pre>
 
<pre>
 
Running 1 biblepayd at genproclimit 20:
 
Running 1 biblepayd at genproclimit 20:
[glow=white,2,300]HPS: 52k
+
HPS: 52k
 
HPS2: 29k[/glow]
 
HPS2: 29k[/glow]
  
 
Running 2 biblepayd at genproclimit 10 each:
 
Running 2 biblepayd at genproclimit 10 each:
[glow=white,2,300]HPS: 29k + 28k = 57k
+
HPS: 29k + 28k = 57k
 
HPS2: 30k + 30k = 60k[/glow]
 
HPS2: 30k + 30k = 60k[/glow]
  
 
Running 4 biblepayd at genproclimit 5 each:
 
Running 4 biblepayd at genproclimit 5 each:
[glow=white,2,300]HPS: 15k + 14.5k + 14.5k + 14.5k = 58.5k
+
HPS: 15k + 14.5k + 14.5k + 14.5k = 58.5k
 
HPS2: 19k + 22k + 19k + 20k = 80k[/glow]
 
HPS2: 19k + 22k + 19k + 20k = 80k[/glow]
  
 
Running 10 biblepayd at genproclimit 2 each:
 
Running 10 biblepayd at genproclimit 2 each:
[glow=white,2,300]HPS: 6k x 10 = 60k
+
HPS: 6k x 10 = 60k
 
HPS2: 12k x 10 = 120k[/glow]
 
HPS2: 12k x 10 = 120k[/glow]
 
</pre>
 
</pre>
Line 46: Line 46:
  
 
This scenario gives:
 
This scenario gives:
[glow=white,2,300]HPS: 10k x 10 = 100k
+
HPS: 10k x 10 = 100k
 
HPS2: 17k x 10 = 170k[/glow]
 
HPS2: 17k x 10 = 170k[/glow]
  
Line 63: Line 63:
  
 
[b]Pool mining[/b]
 
[b]Pool mining[/b]
[glow=white,2,300]One 10-CPU machine with 1 miner gives 29k HPS2.
+
One 10-CPU machine with 1 miner gives 29k HPS2.
 
One 10-CPU machine with 10 miners gives 120k HPS2.
 
One 10-CPU machine with 10 miners gives 120k HPS2.
 
Ten 1-CPU machines with 1 miner each give 170k HPS2.[/glow]
 
Ten 1-CPU machines with 1 miner each give 170k HPS2.[/glow]
 
</pre>
 
</pre>

Revision as of 14:30, 28 September 2017

Tested by InBlue:


(Inblue launched multiple biblepayd daemons with different -datadir switches) and then: I accessed the second CLI like this:

./biblepay-cli -datadir=/home/inblue/.biblepaycore2 getmininginfo

(I put the listen=0 in the conf file)

RESULTS

All values are taken after about half an hour of mining. Type of computer: 10-CPU Xeon Skylake. [size=8pt]Note that for the pool to register more than one instance, every instance has to be a different worker.[/size]

Running 1 biblepayd at genproclimit 20:
HPS: 52k
HPS2: 29k[/glow]

Running 2 biblepayd at genproclimit 10 each:
HPS: 29k + 28k = 57k
HPS2: 30k + 30k = 60k[/glow]

Running 4 biblepayd at genproclimit 5 each:
HPS: 15k + 14.5k + 14.5k + 14.5k = 58.5k
HPS2: 19k + 22k + 19k + 20k = 80k[/glow]

Running 10 biblepayd at genproclimit 2 each:
HPS: 6k x 10 = 60k
HPS2: 12k x 10 = 120k[/glow]

So the conclusion is obvious - the HPS is about the same regardless of the number of daemons, but HPS2 rises considerably.


The next test I did was running 10 daemons on 10 [b]separate[/b] 1-CPU machines (the CPU is the same as in the 10-CPU machine) and also genproclimit 2 as before.

This scenario gives: HPS: 10k x 10 = 100k HPS2: 17k x 10 = 170k[/glow]

So this is even more than if you run 10 daemons on the same machine, which is 60k HPS and 120k HPS2, as noted above.

[hr] [size=12pt]Summary[/size]


[b]Solo mining[/b]
[glow=white,2,300]One 10-CPU machine with 1 miner gives 52k HPS.
One 10-CPU machine with 10 miners gives 60k HPS.
Ten 1-CPU machines with 1 miner each give 100k HPS.[/glow]

[b]Pool mining[/b]
One 10-CPU machine with 1 miner gives 29k HPS2.
One 10-CPU machine with 10 miners gives 120k HPS2.
Ten 1-CPU machines with 1 miner each give 170k HPS2.[/glow]