Unknown-work Rejected Shares - Pool Mining

Discussion in 'PoW Pools' started by tarantoga, Feb 8, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. tarantoga

    tarantoga New Member

    Feb 8, 2016
    3
    2
    Male
    It seems many are getting a large number of rejected shares, with the reason being "unknown-work".
    Is there any way to avoid this?

    The problem got worse in the recent hours, about 50% for me now.
     
    chappjc likes this.
  2. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    if you are on suprnova pool, try other pools.
     
  3. tarantoga

    tarantoga New Member

    Feb 8, 2016
    3
    2
    Male
    The issue persists on the smaller "pool.mn" pool.

    I'm mining solo for the time being.
     
    chappjc likes this.
  4. LastNinja

    LastNinja Full Member

    Dec 31, 2015
    451
    199
    Male
    I too had 50% rejects as unknown-work on suprnova. I have switched to coinmine pool since and it works much better. Rejects down to 15%.
     
  5. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

    Was such a pain to setup pool.mn and it's giving 50% "unknown-work" on some workers, even on one with 1.4 GH/s. Back to solo then?
     
  6. LastNinja

    LastNinja Full Member

    Dec 31, 2015
    451
    199
    Male
    Add this to your batch file and enjoy:

    --no-submit-stale --scan-time 2 --queue 0
     
    Dedale, tarantoga and chappjc like this.
  7. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I mined at pool.mn got less that 1% reject, mining om suprnova getting less tha 1% reject. Something must be wrong at your end or maybe i got lucky with which pool i chose at different times. :p
     
  8. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    What this command does? After run it no more rejected shares. Only I don't know what is actual mining hashrate but I will check at pool after few hours. Thanks anyway. :)
     
  9. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

    --no-submit-stale Don't submit shares if they are detected as stale
    --queue|-Q <arg> Minimum number of work items to have queued (0+) (default: 1)
    --scan-time|-s <arg> Upper bound on time spent scanning current work, in seconds (default: -1)

    It makes sense to not keep a queue to minimize chance of doing useless work.
     
  10. LastNinja

    LastNinja Full Member

    Dec 31, 2015
    451
    199
    Male
    #10 LastNinja, Feb 9, 2016
    Last edited: Feb 9, 2016
    It will remove all "unknown-user" rejects. But you will see from time to time a "Pool 0 not providing work fast enough" instead, possibly due to the low queue parameter. My reject counts are now basically zero.

    Edit: As far as I understand the pool is temporarily banning your worker for short time if you submit too many stales. Hence that error message (work = worker?). However I am not sure about this interpretation since @ocminer posted something different:
    https://forum.decred.org/threads/suprnovas-dcr-pool.422/page-7#post-7363

    And while he says that a too high I value is responsible for it, others say a too low I value generates the error and increasing it would help.

    I didn't change any I value since it gets auto adjusted in my case.
     
    chappjc likes this.
  11. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

    #11 chappjc, Feb 9, 2016
    Last edited: Dec 6, 2016
    work != worker in this context. See here (refers to bitcoin, but same concept). I think the pool was just letting assigned work drop of the server's own queue.
     
    LastNinja likes this.
  12. CommanderVenus

    CommanderVenus New Member

    Jan 11, 2016
    27
    4
    Linux 64 bit.
    Editing the queue and scan time worked for me on maxminers pool. Thanks guys!
     
  13. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    Yes very informative, thankyou
     
  14. ocminer

    ocminer Jr. Member
    Pool Operator (PoW)

    Jan 17, 2016
    135
    45
    Male
    This is a confirmed bug in cgminer on windows. It affects all pools. This flags seem to help:

    --no-submit-stale --scan-time 2 --queue 0

    Unknown-work means you are sending work back to the pool that was never requested - thats why it gets rejected, on windows cgminer seems to wrong calculation of the hash sometimes which results in this behavior.

    It will probably get fixed in one of the future releases, or simply try the flags above.
     
  15. Dedale

    Dedale New Member

    Jan 13, 2016
    67
    12
    Male
    #15 Dedale, Feb 25, 2016
    Last edited: Feb 25, 2016
    You sir, are a hero. Much less rejected shares. I will come back after the next round is done to tell you how much but now my amount of losses has gone from nearly 50 % to 15 %. The 15 % coming from before i restarted cgminer.

    I will play the track of the second level "the wilderness" in your honor. It is my favourite. Long live to you, system 3 and the mighty C64.

    :)

    P.S. I had the problem on linux so it is not just a windows thing.

    EDIT: Down to zero percent now. :)
     
    LastNinja likes this.
  16. LastNinja

    LastNinja Full Member

    Dec 31, 2015
    451
    199
    Male
    You can set the queue to default 1 or even increase it to 2 or 3 in case you will get "pool not providing work fast enough". I had to do this.

    C64 forever ;)
     

Share This Page