JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
763 stars 541 forks source link

Invalidextranonce2 size #406

Closed SupraryGood closed 8 months ago

SupraryGood commented 8 months ago

Failed to get extranonce2_size [2023-11-04 09:18:50] JSON-RPC call failed: (unknown reason)

eu.kmd.k1pool.com:6250

./cpuminer -a yescrypt -u RJFnXLG5zPDtmcwJGKC9pJr8qPjo4kEutx -p c=KMD  -o stratum+tcp://eu.kmd.k1pool.com:6251 -t 8 --cpu-affinity 0x55

What is wrong to use ?

SupraryGood commented 8 months ago

What is wrong Hashrate 0 kh/s ... Everyting good :P

JayDDee commented 8 months ago

It's a pool issue, maybe it doesn't support extranonce, try with --no-extranonce.

Aside from that your cpu-affinity only has 4 cpus for 8 threads, it should be 0x5555.

SupraryGood commented 8 months ago

Working easy good now. But i missing token "teject reason: Invalid job id" in pool bsty. Meaby have wrong commend i cant sure for it [./cpuminer -a yescrypt -u YHV4yUZZSLB1XQF3dLq49HpkUWbxvY7NDi -p c=BSTY,zap=BSTY  -o stratum+tcp://yescrypt.eu.mine.zpool.ca:6233 -t 4 --cpu-affinity 0x5555]

Rejected 2/332 (0.6%)

JayDDee commented 8 months ago

Invalid job id means stale work, they are caused by network latency and can't be entirely prevented.

Now your affinity is backward, 8 cpus for 4 threads. They should match, either --threads 4 --cpu-affinity 0x55 or--threads 8 --cpu-affinity 0x5555. There should be the same number of bits set in the mask as there threads defined.

I don'r see any problems, just an inexperienced user.

JayDDee commented 8 months ago

Closing the issue, have fun.