Bitcoin Forum
October 14, 2024, 10:04:17 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 [410] 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805552 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 26, 2012, 11:32:50 PM
 #8181

Are you sure it's not an issue of share leakage?

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
The00Dustin
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
November 26, 2012, 11:36:42 PM
 #8182

I hate to interrupt all of this stratum discussion, but I am having crashes with GBT.  Running Fedora 15 with SDK 2.1 I think.  2.9.4 would exit with something like error code 11 (or 15 maybe?), and 2.9.5 segfaults.  I don't need GBT, so I should probably try to remember to try --fix-protocol instead of switching back to 2.8.7, but for now, I'm on 2.8.7 again.  I didn't report the issue with 2.9.4, but I suppose I should've.
ETA:  con, note that I wouldn't be against GBT being scrapped/removed from cgminer based on anything I've seen, but from a userbase standpoint, that might not be the option.  I'm only providing this most basic info in case it is helpful in some way.
-ck (OP)
Legendary
*
Offline Offline

Activity: 4256
Merit: 1644


Ruu \o/


View Profile WWW
November 26, 2012, 11:40:41 PM
 #8183

I hate to interrupt all of this stratum discussion, but I am having crashes with GBT.  Running Fedora 15 with SDK 2.1 I think.  2.9.4 would exit with something like error code 11 (or 15 maybe?), and 2.9.5 segfaults.  I don't need GBT, so I should probably try to remember to try --fix-protocol instead of switching back to 2.8.7, but for now, I'm on 2.8.7 again.  I didn't report the issue with 2.9.4, but I suppose I should've.
ETA:  con, note that I wouldn't be against GBT being scrapped/removed from cgminer based on anything I've seen, but from a userbase standpoint, that might not be the option.  I'm only providing this most basic info in case it is helpful in some way.
Debug build would be helpful. If you're running fedora that suggests you're building it yourself. If that's the case, add "-g" to your CFLAGS, rebuild your cgminer 2.9.5 (without stripping the file), enable coredumps with "ulimit -c unlimited" and then run whatever it is that's crashing. Once you get a "core dumped" message at the end of running it, then run:
gdb cgminer core
bt full

And post the information from that please.

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

Activity: 981
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 26, 2012, 11:42:46 PM
 #8184

Are you sure it's not an issue of share leakage?

It's a tad hard to discern. It could be work that got misrouted to us1 pool....  Possibly there is an easy way to tell I haven't noticed in the past?
It happens from time to time. I do agree the other issue with stratum (disconncts lose shares) is a larger loss for me.

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
TheHarbinger
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


Why is it so damn hot in here?


View Profile
November 26, 2012, 11:43:25 PM
 #8185

I have learned quite a bit since starting with BitCoin, I will try to sum it all up for anyone who doesn't want to read every post in these forums.

Luke Jr. is never wrong.
Inaba is never wrong.
RealSolid is never wrong.

I can only wait in eager anticipation for the day when EMC adds SC mining, with SC mining added to BFG miner.  Then we will truly be living in a utopia!

12Um6jfDE7q6crm1s6tSksMvda8s1hZ3Vj
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 26, 2012, 11:51:56 PM
 #8186

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

The00Dustin
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
November 27, 2012, 12:00:12 AM
 #8187

Debug build would be helpful. If you're running fedora that suggests you're building it yourself. If that's the case, add "-g" to your CFLAGS, rebuild your cgminer 2.9.5 (without stripping the file), enable coredumps with "ulimit -c unlimited" and then run whatever it is that's crashing. Once you get a "core dumped" message at the end of running it, then run:
gdb cgminer core
bt full

And post the information from that please.
I'm getting "No stack."  I assume that makes it obvious I've never done this before...

ETA:
Code:
cat /usr/src/cgminer-2.9.5/Makefile | grep CFLAGS\ =
CFLAGS = -I/usr/src/ati-stream-sdk-v2.1-lnx64/include -g
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1208


This is not OK.


View Profile
November 27, 2012, 12:01:16 AM
 #8188

Debug build would be helpful. If you're running fedora that suggests you're building it yourself. If that's the case, add "-g" to your CFLAGS, rebuild your cgminer 2.9.5 (without stripping the file), enable coredumps with "ulimit -c unlimited" and then run whatever it is that's crashing. Once you get a "core dumped" message at the end of running it, then run:
gdb cgminer core
bt full

And post the information from that please.
I'm getting "No stack."  I assume that makes it obvious I've never done this before...

That means you have to go to IHOP.
The00Dustin
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
November 27, 2012, 12:03:18 AM
 #8189


That mean you have to go to IHOP.
1) I don't like hopping
2) I don't like pancakes
3) Prayer takes so much time
4) I assume I detected your humor, but if I did not, or if IHOP means something else as well, feel free to tell.  Tongue
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1208


This is not OK.


View Profile
November 27, 2012, 12:05:17 AM
 #8190

Askit2
Hero Member
*****
Offline Offline

Activity: 981
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 27, 2012, 12:14:54 AM
 #8191

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

Top post on the page you are asking on. LOOK UP!

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
kano
Legendary
*
Offline Offline

Activity: 4592
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 27, 2012, 12:22:33 AM
 #8192

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

Top post on the page you are asking on. LOOK UP!
Luke-Jr thank you for yet again pointing out why people who use your miner get less shares Tongue (and shouldn't be using it)
Yeah processing previous block work after an LP ... right ... ... ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 27, 2012, 12:39:17 AM
 #8193

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

Top post on the page you are asking on. LOOK UP!
Ok, I missed that somehow. "unknown-work" can only occur if one of these 3 cases:
  • a block was found (which you ruled out)
  • the miner submitted it after it expired (120 seconds on EMC; new work is delivered at least every 96 seconds)
  • the user extranonce1 was lost (only possible if you reconnected)
I'm pretty sure cgminer discards all work/shares in the last case (reconnection), so that means it either:
  • was working on a job 23 seconds after it had been replaced (this is sufficient for as low as 200 Mh/s)
  • was working on a job 21 seconds after it had been replaced AND took over 2 seconds to submit it to the pool
This makes sense, since cgminer is failing to move on to new jobs as they come in.

mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
November 27, 2012, 12:51:51 AM
 #8194

Just adding my 0.0016 BTC worth here..

Since p2pool has gone berserk, I have half my miners pointing at EMC, and half at Oz.

Oz is using stratum.
EMC is using GBT.

After about 12 hours, there were noticeably more rejects on EMC than on Oz.  That's with using GBT, not stratum, on Oz.

Not sure if it means anything.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Askit2
Hero Member
*****
Offline Offline

Activity: 981
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 27, 2012, 12:58:56 AM
 #8195

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

Top post on the page you are asking on. LOOK UP!
Ok, I missed that somehow. "unknown-work" can only occur if one of these 3 cases:
  • a block was found (which you ruled out)
  • the miner submitted it after it expired (120 seconds on EMC; new work is delivered at least every 96 seconds)
  • the user extranonce1 was lost (only possible if you reconnected)
I'm pretty sure cgminer discards all work/shares in the last case (reconnection), so that means it either:
  • was working on a job 23 seconds after it had been replaced (this is sufficient for as low as 200 Mh/s)
  • was working on a job 21 seconds after it had been replaced AND took over 2 seconds to submit it to the pool
This makes sense, since cgminer is failing to move on to new jobs as they come in.

So a BFL single running 864mhash bitstream in your example would need to work on the work for 114.8 seconds to go over. Interesting to know.
I didn't change scan time for stratum but the settings of scan time at 115 had worked fine on get work.

I will bump it down but since not every 120 seconds has this happening I would assume it is something else. The ping to Eclipse is 76ms right now. It can vary but assuming I got my work at 96 seconds add .5 for significant delays, 5.16s for single to process work I get 101.66 seconds. Leaving me 18.34 seconds to submit.....

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 27, 2012, 01:03:03 AM
 #8196

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

Top post on the page you are asking on. LOOK UP!
Ok, I missed that somehow. "unknown-work" can only occur if one of these 3 cases:
  • a block was found (which you ruled out)
  • the miner submitted it after it expired (120 seconds on EMC; new work is delivered at least every 96 seconds)
  • the user extranonce1 was lost (only possible if you reconnected)
I'm pretty sure cgminer discards all work/shares in the last case (reconnection), so that means it either:
  • was working on a job 23 seconds after it had been replaced (this is sufficient for as low as 200 Mh/s)
  • was working on a job 21 seconds after it had been replaced AND took over 2 seconds to submit it to the pool
This makes sense, since cgminer is failing to move on to new jobs as they come in.

So a BFL single running 864mhash bitstream in your example would need to work on the work for 114.8 seconds to go over. Interesting to know.
No, that 21-23 seconds is real time. No matter what hashrate. 200 Mh/s is the hashrate where if you are any slower, you might still be working on the old work normally.

Askit2
Hero Member
*****
Offline Offline

Activity: 981
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
November 27, 2012, 01:14:24 AM
 #8197

ok so
96+ 23 = 119
114.8+5.2=119
Was my point. Maybe it's the maths...

Looking at it another way. I have 119 seconds or your 23 seconds should be 24 seconds to hash the work unit, find shares, and return those shares for money.

The 120 seconds is only to add either a second for submission or isn't in existance.

This left me wondering why you said 120 seconds to start with and only had math to make 119. Possibly to account for round trip delays or the share validation. You didn't really say. So either your math was off, or you left out part of your math.

Expiry still at 120
scan time adjusted to 95
Same Unknown Work

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
kano
Legendary
*
Offline Offline

Activity: 4592
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 27, 2012, 01:19:25 AM
 #8198

Throwing out work with every notify message on stratum, which comes on average every 30 seconds, would have the same effect as a longpoll every 30 seconds. That's a lot of work to discard midstream. Why on earth would there even be a clean_work method with stratum if every notify implied we throw out the work?
You're not supposed to throw out the shares on LPs. Restarting work has no cost except on BFLs (where you have a bug that loses valid shares).

So Junior is saying my reject ~9minutes into the block is because CGMiner didn't change to new work fast enough?
That sounds highly unlikely, and unrelated. What kind of a reject?

Top post on the page you are asking on. LOOK UP!
Ok, I missed that somehow. "unknown-work" can only occur if one of these 3 cases:
  • a block was found (which you ruled out)
  • the miner submitted it after it expired (120 seconds on EMC; new work is delivered at least every 96 seconds)
  • the user extranonce1 was lost (only possible if you reconnected)
I'm pretty sure cgminer discards all work/shares in the last case (reconnection), so that means it either:
  • was working on a job 23 seconds after it had been replaced (this is sufficient for as low as 200 Mh/s)
  • was working on a job 21 seconds after it had been replaced AND took over 2 seconds to submit it to the pool
This makes sense, since cgminer is failing to move on to new jobs as they come in.

So a BFL single running 864mhash bitstream in your example would need to work on the work for 114.8 seconds to go over. Interesting to know.
I didn't change scan time for stratum but the settings of scan time at 115 had worked fine on get work.

I will bump it down but since not every 120 seconds has this happening I would assume it is something else. The ping to Eclipse is 76ms right now. It can vary but assuming I got my work at 96 seconds add .5 for significant delays, 5.16s for single to process work I get 101.66 seconds. Leaving me 18.34 seconds to submit.....
Please just ignore Luke-Jr.
Most of what he says is FUD and even if it's not all FUD - having to waste time wading through it all is just that - a waste of time.
His answer will simply be - you must use his miner coz it does it properly ... lulz

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 27, 2012, 02:23:46 AM
 #8199

ok so
96+ 23 = 119
114.8+5.2=119
Was my point. Maybe it's the maths...
You're not supposed to stop at 5.2 seconds. Stratum jobs can be used infinitely, until the block is invalid or the pool expires the job. Unlike getwork, there is no 232 nonce limit.

This left me wondering why you said 120 seconds to start with and only had math to make 119. Possibly to account for round trip delays or the share validation. You didn't really say. So either your math was off, or you left out part of your math.
I subtracted a second for the time between the pool sending the job and you receiving it.

P.S. Kano is simply a liar, as usual.

crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
November 27, 2012, 02:30:45 AM
 #8200

Please just ignore Luke-Jr.
P.S. Kano is simply a liar, as usual.
I feel like I've read this thread before. Maybe I'm psychic?!

Either way, it's been rough trying to keep up with all of you on the work being done to stratum and CGMiner, but keep it up!

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
Pages: « 1 ... 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 [410] 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 ... 843 »
  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!