Anotheranonlol
|
|
June 12, 2014, 12:18:05 AM |
|
http://79.135.200.108/ Pool hasn't solved a block in 18 hours with 4.69MH. It seems more than variance. A side question; would anyone know the relative cost in BBR (spamming tx) to increase scratchpad size by around 2mb?
|
|
|
|
surfer43
Sr. Member
Offline
Activity: 560
Merit: 250
"Trading Platform of The Future!"
|
|
June 12, 2014, 12:21:54 AM |
|
|
|
|
|
cubydu
|
|
June 12, 2014, 12:34:01 AM |
|
When somebody finds block simpleminer restarts with startup settings.And spends a lot of time. Can somebody fix it ? 2014-Jun-12 02:20:26.653168 avg hr: 379282 [0/1921] 2014-Jun-12 02:20:35.599846 Share found: nonce=16164945 for job=210349022597074, diff: 2000000 , PoW:<3ef79d3d20a109b11a3f2ad3d850a2a2394f1a6c4b02749c5987f901d8020000>, height:17729, submitting... 2014-Jun-12 02:20:35.637711 ERROR /root/boolberry/contrib/epee/include/storages/http_abstract_invoke.h:112[bool epee::net_utils::invoke_http_json_rpc(const string&, const string&, t_request&, t_response&, t_transport&, unsigned int, const string&, const string&) [with t_request = mining::COMMAND_RPC_SUBMITSHARE::request; t_response = mining::COMMAND_RPC_SUBMITSHARE::response; t_transport = epee::net_utils::http::http_simple_client; std::string = std::basic_string<char>]]RPC call of "submit" returned error: -1, message: Block expired 2014-Jun-12 02:20:35.637778 Failed to submit share! disconnect and sleep.... 2014-Jun-12 02:20:36.637937 Getting next job... 2014-Jun-12 02:20:36.639125 ERROR /root/boolberry/contrib/epee/include/storages/http_abstract_invoke.h:112[bool epee::net_utils::invoke_http_json_rpc(const string&, const string&, t_request&, t_response&, t_transport&, unsigned int, const string&, const string&) [with t_request = mining::COMMAND_RPC_GETJOB::request; t_response = mining::COMMAND_RPC_GETJOB::response; t_transport = epee::net_utils::http::http_simple_client; std::string = std::basic_string<char>]]RPC call of "getjob" returned error: -1, message: Unauthenticated 2014-Jun-12 02:20:36.639182 Can't get new job! Disconnect and sleep.... 2014-Jun-12 02:20:37.639356 slow pool response 1002 ms 2014-Jun-12 02:20:37.639421 avg hr: 380410 2014-Jun-12 02:20:37.639514 Connecting 79.135.200.61:5555.... 2014-Jun-12 02:20:37.639792 Connected 79.135.200.61:5555 OK 2014-Jun-12 02:20:43.018281 Numbers of blocks added to scratchpad: 2
This is not tested well - can you try it out on your own pool for a bit before I submit a patch for it? I need to make it more robust before I actually submit a pull request for it, but if this basic change works, I'll do so tomorrow. --- a/src/miner/simpleminer.cpp +++ b/src/miner/simpleminer.cpp @@ -272,24 +272,23 @@ namespace mining //LOG_PRINT_L0("scratch_pad: " << currency::dump_scratchpad(m_scratchpad)); if(!epee::net_utils::invoke_http_json_rpc<mining::COMMAND_RPC_SUBMITSHARE>("/json_rpc", submit_reques { - LOG_PRINT_L0("Failed to submit share! disconnect and sleep...."); - m_http_client.disconnect(); - epee::misc_utils::sleep_no_w(1000); + /* Failed to submit a job. This can happen because of disconnection, + * server failure, or block expiry. In any event, try to get + * a new job. If the job fetch fails, get_job will disconnect + * and sleep for us */ + LOG_PRINT_L0("Failed to submit share! Updating job."); new_job_needed = true; break; } if(submit_response.status != "OK") { - LOG_PRINT_L0("Failed to submit share! (submitted share rejected) disconnect and sleep...."); - m_http_client.disconnect(); - epee::misc_utils::sleep_no_w(1000); + LOG_PRINT_L0("Failed to submit share! (submitted share rejected). Updating job."); new_job_needed = true; break; } LOG_PRINT_GREEN("Share submitted successfully!", LOG_LEVEL_0); new_job_needed = true; (*reinterpret_cast<uint64_t*>(&m_job.blob[1])) = (start_nonce + nonce_offset); - break; } }
Yes, 10 minutes
|
|
|
|
dga
|
|
June 12, 2014, 12:36:37 AM |
|
When somebody finds block simpleminer restarts with startup settings.And spends a lot of time. Can somebody fix it ? 2014-Jun-12 02:20:26.653168 avg hr: 379282 [0/1921] 2014-Jun-12 02:20:35.599846 Share found: nonce=16164945 for job=210349022597074, diff: 2000000 , PoW:<3ef79d3d20a109b11a3f2ad3d850a2a2394f1a6c4b02749c5987f901d8020000>, height:17729, submitting... 2014-Jun-12 02:20:35.637711 ERROR /root/boolberry/contrib/epee/include/storages/http_abstract_invoke.h:112[bool epee::net_utils::invoke_http_json_rpc(const string&, const string&, t_request&, t_response&, t_transport&, unsigned int, const string&, const string&) [with t_request = mining::COMMAND_RPC_SUBMITSHARE::request; t_response = mining::COMMAND_RPC_SUBMITSHARE::response; t_transport = epee::net_utils::http::http_simple_client; std::string = std::basic_string<char>]]RPC call of "submit" returned error: -1, message: Block expired 2014-Jun-12 02:20:35.637778 Failed to submit share! disconnect and sleep.... 2014-Jun-12 02:20:36.637937 Getting next job... 2014-Jun-12 02:20:36.639125 ERROR /root/boolberry/contrib/epee/include/storages/http_abstract_invoke.h:112[bool epee::net_utils::invoke_http_json_rpc(const string&, const string&, t_request&, t_response&, t_transport&, unsigned int, const string&, const string&) [with t_request = mining::COMMAND_RPC_GETJOB::request; t_response = mining::COMMAND_RPC_GETJOB::response; t_transport = epee::net_utils::http::http_simple_client; std::string = std::basic_string<char>]]RPC call of "getjob" returned error: -1, message: Unauthenticated 2014-Jun-12 02:20:36.639182 Can't get new job! Disconnect and sleep.... 2014-Jun-12 02:20:37.639356 slow pool response 1002 ms 2014-Jun-12 02:20:37.639421 avg hr: 380410 2014-Jun-12 02:20:37.639514 Connecting 79.135.200.61:5555.... 2014-Jun-12 02:20:37.639792 Connected 79.135.200.61:5555 OK 2014-Jun-12 02:20:43.018281 Numbers of blocks added to scratchpad: 2
This is not tested well - can you try it out on your own pool for a bit before I submit a patch for it? I need to make it more robust before I actually submit a pull request for it, but if this basic change works, I'll do so tomorrow. --- a/src/miner/simpleminer.cpp +++ b/src/miner/simpleminer.cpp @@ -272,24 +272,23 @@ namespace mining //LOG_PRINT_L0("scratch_pad: " << currency::dump_scratchpad(m_scratchpad)); if(!epee::net_utils::invoke_http_json_rpc<mining::COMMAND_RPC_SUBMITSHARE>("/json_rpc", submit_reques { - LOG_PRINT_L0("Failed to submit share! disconnect and sleep...."); - m_http_client.disconnect(); - epee::misc_utils::sleep_no_w(1000); + /* Failed to submit a job. This can happen because of disconnection, + * server failure, or block expiry. In any event, try to get + * a new job. If the job fetch fails, get_job will disconnect + * and sleep for us */ + LOG_PRINT_L0("Failed to submit share! Updating job."); new_job_needed = true; break; } if(submit_response.status != "OK") { - LOG_PRINT_L0("Failed to submit share! (submitted share rejected) disconnect and sleep...."); - m_http_client.disconnect(); - epee::misc_utils::sleep_no_w(1000); + LOG_PRINT_L0("Failed to submit share! (submitted share rejected). Updating job."); new_job_needed = true; break; } LOG_PRINT_GREEN("Share submitted successfully!", LOG_LEVEL_0); new_job_needed = true; (*reinterpret_cast<uint64_t*>(&m_job.blob[1])) = (start_nonce + nonce_offset); - break; } }
Yes, 10 minutes I edited my reply above a bit - I've made a more robust version of this in the patch I linked, but I also have some concerns about how it interacts with pool diff, as described above. Someone who knows the pool software needs to weigh in, or I can start looking into the pool a bit tomorrow.
|
|
|
|
cubydu
|
|
June 12, 2014, 12:47:55 AM |
|
dga 2014-Jun-12 03:54:54.342329 Getting next job... 2014-Jun-12 03:54:54.380641 Job didn't change 2014-Jun-12 03:54:54.380673 avg hr: 502522 2014-Jun-12 03:54:56.568385 Share found: nonce=5297906 for job=719585596956312, diff: 2163636 , PoW:<1682d83dc87086a49e5e733dcb151094201108692f04372e5e35dec293020000>, height:17793, submitting... 2014-Jun-12 03:54:56.608851 ERROR /root/boolberry/contrib/epee/include/storages/http_abstract_invoke.h:112[bool epee::net_utils::invoke_http_json_rpc(const string&, const string&, t_request&, t_response&, t_transport&, unsigned int, const string&, const string&) [with t_request = mining::COMMAND_RPC_SUBMITSHARE::request; t_response = mining::COMMAND_RPC_SUBMITSHARE::response; t_transport = epee::net_utils::http::http_simple_client; std::string = std::basic_string<char>]]RPC call of "submit" returned error: -1, message: Block expired 2014-Jun-12 03:54:56.608954 Failed to submit share! Updating job. 2014-Jun-12 03:54:56.608978 Getting next job... 2014-Jun-12 03:55:05.993519 Numbers of blocks added to scratchpad: 1 2014-Jun-12 03:55:05.993573 slow pool response 9385 ms 2014-Jun-12 03:55:05.993592 avg hr: 493589 2014-Jun-12 03:55:16.328378 Share found: nonce=5442027 for job=438867581263184, diff: 2163636 , PoW:<a76e47fbbd0822a37358801de9e9f3bcc8eae6e3327b27e0d8f41ce96a060000>, height:17793, submitting... 2014-Jun-12 03:55:16.330759 Share submitted successfully!
It's not restarts
|
|
|
|
33zer0w0lf
|
|
June 12, 2014, 01:35:05 AM |
|
no updated simpleminer for Linux?
|
|
|
|
cubydu
|
|
June 12, 2014, 01:41:19 AM |
|
|
|
|
|
cubydu
|
|
June 12, 2014, 01:53:39 AM Last edit: June 12, 2014, 02:08:03 AM by cubydu |
|
Someone mine with supercomputer
|
|
|
|
|
cubydu
|
|
June 12, 2014, 02:06:21 AM |
|
It's simpleminer with latest fix from dga It's not merged yet
|
|
|
|
baigreen
|
|
June 12, 2014, 02:16:02 AM |
|
Someone mine with supercomputer Someone mines with GPUs and someone else mines with Amazon ec2. There is no GPU miner soft. Am i right?
|
|
|
|
33zer0w0lf
|
|
June 12, 2014, 02:46:59 AM |
|
Someone mine with supercomputer Someone mines with GPUs and someone else mines with Amazon ec2. There is no GPU miner soft. Am i right? none that's been made public yet at least.
|
|
|
|
q327K091
Legendary
Offline
Activity: 1792
Merit: 1010
|
|
June 12, 2014, 04:13:06 AM |
|
Someone mine with supercomputer good luck
|
|
|
|
Anotheranonlol
|
|
June 12, 2014, 04:28:21 AM |
|
who can answer: what is the cost in BBR of increasing scratchpad size few MB. I will burn up to few thousand BBR if it is feasible
The pools are a joke. 23 hours no block with 3-4MH, earn more solo
|
|
|
|
surfer43
Sr. Member
Offline
Activity: 560
Merit: 250
"Trading Platform of The Future!"
|
|
June 12, 2014, 04:55:01 AM |
|
who can answer: what is the cost in BBR of increasing scratchpad size few MB. I will burn up to few thousand BBR if it is feasible
The pools are a joke. 23 hours no block with 3-4MH, earn more solo
Fee is 0.000001 per transaction. Max transaction size is 39400 bytes. To increase blockchain by 1 GB it will cost you ~0.03 BBR if my parameters are correct. Does scratchpad size depend on blockchain size, or just number of blocks?
|
|
|
|
Anotheranonlol
|
|
June 12, 2014, 06:42:48 AM |
|
who can answer: what is the cost in BBR of increasing scratchpad size few MB. I will burn up to few thousand BBR if it is feasible
The pools are a joke. 23 hours no block with 3-4MH, earn more solo
Fee is 0.000001 per transaction. Max transaction size is 39400 bytes. To increase blockchain by 1 GB it will cost you ~0.03 BBR if my parameters are correct. Does scratchpad size depend on blockchain size, or just number of blocks? I think latter. which is a shame for us cpu miners I feel that i need to have more clear description. Each block's entry in scratchpad is not depends of number of transactions included in it. It is fixed to about 320 bytes and use prev_id, merkle root, onetime coinbase key, and hashed coinbase outs (usually 8 ). I'll put more detailed description.
|
|
|
|
cubydu
|
|
June 12, 2014, 07:00:31 AM |
|
25 hours...and pool found block
|
|
|
|
|
loremipsum
|
|
June 12, 2014, 08:39:09 AM |
|
Someone mine with supercomputer Someone mines with GPUs and someone else mines with Amazon ec2. How can you tell if the increase in the hashrate is because of ec2 or GPU mining?
|
|
|
|
|
|