scala-network / XLArig

An XMRig fork with support for latest XLA PoW algorithms
GNU General Public License v3.0
124 stars 52 forks source link

Got rejected share on iMac with i5-8500 on XLARig 5.2.2 #34

Closed thanapongp closed 3 years ago

thanapongp commented 3 years ago

It seems like XLARig 5.2.2 calculated the wrong result when running on iMac with Intel i5-8500. Here's the output from the terminal.

./xlarig522 --donate-level 0 -o scala.herominers.com:10130 -u [address] -p [workername] -a panthera
 * ABOUT        XLArig/5.2.2 clang/12.0.0
 * LIBS         libuv/1.41.0 OpenSSL/1.1.1j hwloc/2.4.1
 * HUGE PAGES   supported
 * 1GB PAGES    unavailable
 * CPU          Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (1) 64-bit AES
                L2:1.5 MB L3:9.0 MB 6C/6T NUMA:1
 * MEMORY       7.7/8.0 GB (97%)
                DIMM_A0: 4 GB DDR4 @ 2667 MHz 4ATF51264HZ-2G6E3
                DIMM_B0: 4 GB DDR4 @ 2667 MHz 4ATF51264HZ-2G6E3
 * MOTHERBOARD  Apple Inc. - Mac-63001698E7A34814
 * DONATE       0%
 * ASSEMBLY     auto:intel
 * POOL #1      scala.herominers.com:10130 algo panthera
 * COMMANDS     hashrate, pause, resume, results, connection
[2021-03-10 14:34:02.073]  net      use pool scala.herominers.com:10130  157.90.94.153
[2021-03-10 14:34:02.074]  net      new job from scala.herominers.com:10130 diff 15000 algo panthera height 158932
[2021-03-10 14:34:02.074]  cpu      use argon2 implementation AVX2
[2021-03-10 14:34:02.074]  randomx  init dataset algo panthera (6 threads) seed c77d2ae2b7b6f51c...
[2021-03-10 14:34:02.409]  randomx  allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (336 ms)
[2021-03-10 14:34:02.608]  randomx  dataset ready (198 ms)
[2021-03-10 14:34:02.608]  cpu      use profile  panthera  (6 threads) scratchpad 256 KB
[2021-03-10 14:34:04.707]  cpu      READY threads 6/6 (6) huge pages 0% 0/6 memory 1536 KB (2100 ms)
[2021-03-10 14:34:05.732]  cpu      rejected (0/1) diff 15000 "Rejected share: invalid result" (322 ms)
[2021-03-10 14:34:15.261]  cpu      rejected (0/2) diff 15000 "Rejected share: invalid result" (308 ms)
[2021-03-10 14:34:19.346]  signal   Ctrl+C received, exiting
[2021-03-10 14:34:19.349]  cpu      stopped (2 ms)

I tested it with the previous version, 5.2.1, and everything works just fine.

* ABOUT        XLArig/5.2.1 clang/10.0.0
 * LIBS         libuv/1.40.0 OpenSSL/1.1.1i
 * HUGE PAGES   supported
 * 1GB PAGES    unavailable
 * CPU          Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (1) 64-bit AES
                threads:6
 * MEMORY       7.5/8.0 GB (94%)
 * DONATE       0%
 * ASSEMBLY     auto:intel
 * POOL #1      scala.herominers.com:10130 algo panthera
 * COMMANDS     hashrate, pause, resume, results, connection
[2021-03-10 14:34:40.453]  net      use pool scala.herominers.com:10130  157.90.94.153
[2021-03-10 14:34:40.453]  net      new job from scala.herominers.com:10130 diff 15000 algo panthera height 158932
[2021-03-10 14:34:40.453]  cpu      use argon2 implementation AVX2
[2021-03-10 14:34:40.453]  randomx  init dataset algo panthera (6 threads) seed c77d2ae2b7b6f51c...
[2021-03-10 14:34:40.793]  randomx  allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (339 ms)
[2021-03-10 14:34:40.964]  randomx  dataset ready (171 ms)
[2021-03-10 14:34:40.964]  cpu      use profile  rx  (3 threads) scratchpad 256 KB
[2021-03-10 14:34:42.127]  cpu      READY threads 3/3 (3) huge pages 0% 0/3 memory 768 KB (1163 ms)
[2021-03-10 14:34:53.866]  cpu      accepted (1/0) diff 15000 (353 ms)
[2021-03-10 14:35:08.612]  cpu      accepted (2/0) diff 15000 (291 ms)
[2021-03-10 14:35:12.196]  cpu      accepted (3/0) diff 15000 (316 ms)
[2021-03-10 14:35:30.936]  cpu      accepted (4/0) diff 15000 (273 ms)
[2021-03-10 14:35:31.280]  cpu      accepted (5/0) diff 15000 (230 ms)
[2021-03-10 14:35:32.369]  cpu      accepted (6/0) diff 15000 (318 ms)
[2021-03-10 14:35:34.008]  cpu      accepted (7/0) diff 15000 (347 ms)
[2021-03-10 14:35:37.694]  cpu      accepted (8/0) diff 15000 (295 ms)
[2021-03-10 14:35:41.664]  miner    speed 10s/60s/15m 2594.9 n/a n/a H/s max 2657.3 H/s
[2021-03-10 14:35:48.009]  net      new job from scala.herominers.com:10130 diff 30000 algo panthera height 158932
[2021-03-10 14:35:49.712]  cpu      accepted (9/0) diff 30000 (228 ms)
[2021-03-10 14:36:41.895]  miner    speed 10s/60s/15m 2530.9 2554.7 n/a H/s max 2657.3 H/s
[2021-03-10 14:36:45.328]  cpu      accepted (10/0) diff 30000 (347 ms)
[2021-03-10 14:36:57.567]  cpu      accepted (11/0) diff 30000 (253 ms)
[2021-03-10 14:36:59.269]  cpu      accepted (12/0) diff 30000 (233 ms)
[2021-03-10 14:37:13.495]  cpu      accepted (13/0) diff 30000 (230 ms)
[2021-03-10 14:37:15.001]  cpu      accepted (14/0) diff 30000 (227 ms)
[2021-03-10 14:37:19.841]  cpu      accepted (15/0) diff 30000 (229 ms)
[2021-03-10 14:37:23.984]  cpu      accepted (16/0) diff 30000 (710 ms)
Teredic commented 3 years ago

ty for your report, i already know the cause of the problem and i'll recompile the miner tonight.

thanapongp commented 3 years ago

Thank you! I'll test it as soon as the new version got released.

Teredic commented 3 years ago

I had 5 minutes during my break so i took it to recompile the miner. You can now download the new build (the zip file has the same name).

thanapongp commented 3 years ago

Thank you! It's working properly now.

./xlarig522 --donate-level 0 -o scala.herominers.com:10130 -u [address] -p [worker] -a panthera
 * ABOUT        XLArig/5.2.2 clang/12.0.0
 * LIBS         libuv/1.41.0 OpenSSL/1.1.1j
 * HUGE PAGES   supported
 * 1GB PAGES    unavailable
 * CPU          Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (1) 64-bit AES
                threads:6
 * MEMORY       8.0/8.0 GB (100%)
                DIMM_A0: 4 GB DDR4 @ 2667 MHz 4ATF51264HZ-2G6E3
                DIMM_B0: 4 GB DDR4 @ 2667 MHz 4ATF51264HZ-2G6E3
 * MOTHERBOARD  Apple Inc. - Mac-63001698E7A34814
 * DONATE       0%
 * ASSEMBLY     auto:intel
 * POOL #1      scala.herominers.com:10130 algo panthera
 * COMMANDS     hashrate, pause, resume, results, connection
[2021-03-10 21:16:42.035]  net      use pool scala.herominers.com:10130  157.90.94.153
[2021-03-10 21:16:42.036]  net      new job from scala.herominers.com:10130 diff 15000 algo panthera height 159139
[2021-03-10 21:16:42.036]  cpu      use argon2 implementation AVX2
[2021-03-10 21:16:42.036]  randomx  init dataset algo panthera (6 threads) seed c77d2ae2b7b6f51c...
[2021-03-10 21:16:42.420]  randomx  allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (385 ms)
[2021-03-10 21:16:42.635]  randomx  dataset ready (215 ms)
[2021-03-10 21:16:42.635]  cpu      use profile  panthera  (3 threads) scratchpad 256 KB
[2021-03-10 21:16:43.843]  cpu      READY threads 3/3 (3) huge pages 0% 0/3 memory 768 KB (1208 ms)
[2021-03-10 21:16:44.491]  cpu      accepted (1/0) diff 15000 (296 ms)
[2021-03-10 21:16:47.692]  cpu      accepted (2/0) diff 15000 (962 ms)
[2021-03-10 21:16:49.509]  net      new job from scala.herominers.com:10130 diff 30000 algo panthera height 159139
[2021-03-10 21:17:04.225]  cpu      accepted (3/0) diff 30000 (233 ms)
[2021-03-10 21:17:08.575]  cpu      accepted (4/0) diff 30000 (226 ms)
[2021-03-10 21:17:10.501]  cpu      accepted (5/0) diff 30000 (341 ms)