Bitcoin Forum
May 04, 2024, 11:19:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Am I missing something? You understand better!  (Read 1802 times)
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
August 19, 2016, 10:57:25 AM
Last edit: August 19, 2016, 11:21:48 AM by BTCIndia
 #1

I'm experimenting with Open Source code available on Github (https://github.com/UNOMP/unified-node-open-mining-portal) to run a mining pool.

We got everything working and started mining with everything deployed on Digital Ocean’s server having 20 CPUs and 64 GB RAM. But as soon as we connected enough miners to reach 1 PH/s, we started getting socket errors and the CPU usage crossed 80% and the miner connections started dropping off.

Next, we shifted the entire setup to AWS using a c4.8xlarge instance. Now we could reach only upto 800 workers (3.7PH/s) and similar problems started coming up.

I did a little digging into the setup and here is what it contains

1 Bitcoin Server (a full node which runs in the server mode and accepts connections through the RPC protocol) - runs using bitcoind - Is one of the concerns as it is single threaded and I am unable to run it in a multi-threaded way.
1 Node Stratum Server https://github.com/UNOMP/node-merged-pool - this connects to the bitcoin server above using rpc and this also eats up a lot of CPU
Node Servers for Frontend / Payments / etc - this works fine

Now, that we have the overview of the scenario and the problem.

Here are the questions that come up to mind:

1. Can we run bitcoind in a multi-threaded way?
2. Can we run bitcoind in a distributed setup (with multiple servers behind a load balancer)?
3. Can we run the node stratum miner in a distributed setup (with multiple servers behind a load balancer)?


Any expert who have come across same problem or understand the need  are welcome to help me. Answers, comments and thoughts are really appreciated.
Thanks in advance! Smiley

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
1714821574
Hero Member
*
Offline Offline

Posts: 1714821574

View Profile Personal Message (Offline)

Ignore
1714821574
Reply with quote  #2

1714821574
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 19, 2016, 12:29:30 PM
 #2

You're running shit pool software. Try ckpool (see my sig).

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
August 19, 2016, 12:33:02 PM
 #3

You're running shit pool software. Try ckpool (see my sig).


Well, I appreciate your inputs here. But, it seems conflict of interest to me. I'd be really thankful if you can help me point of mistake or comment of question raised.

Thanks ck!
BTCIndia

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 19, 2016, 12:34:57 PM
 #4

Conflict of interest to provide you with free software... okay  Roll Eyes

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
August 19, 2016, 01:09:06 PM
Last edit: August 19, 2016, 02:09:07 PM by BTCIndia
 #5

Conflict of interest to provide you with free software... okay  Roll Eyes


Hahaha! NO. Not with that...I'm sorry. I didn't knew it was free. I thought, you were inviting me for something else. Please accept my sincere apologies!


 P.S. Answers to questions are much appreciated considering your vast experience  and skills.

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
August 20, 2016, 06:56:55 AM
 #6

None with answers? Sad

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
moe7865
Full Member
***
Offline Offline

Activity: 218
Merit: 100


View Profile
August 20, 2016, 07:57:07 AM
 #7

None with answers? Sad

Hi
Try switching from UNOMP to MPOS. If in not mistaken UNOMP has poor worker management which might explain why you can only reach up to 800 workers. You should have a much better experience with MPOS.
bitsolutions
Sr. Member
****
Offline Offline

Activity: 261
Merit: 257



View Profile
August 21, 2016, 01:01:38 PM
 #8

None with answers? Sad
Switch to ckpool like -ck said. UNOMP is inefficient and not suitable for large farms.

Mining Software Developer.
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!