Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.9.2] Wrong multihash autodetect #248

Closed
electroape opened this issue Apr 27, 2019 · 9 comments
Closed

[1.9.2] Wrong multihash autodetect #248

electroape opened this issue Apr 27, 2019 · 9 comments

Comments

@electroape
Copy link

1.9.2 detects CN-Ultralight\Turtle multihash setting wrongly for some CPUs, setting it higher than 2.

@Bendr0id
Copy link
Owner

Please provide more details

@Bendr0id
Copy link
Owner

Screenshot/printout of startup, config

@electroape
Copy link
Author

[2019-04-27 14:47:32] cryptonight-ultralite hash self-test
[2019-04-27 14:47:32] cryptonight-ultralite hash self-test... successful.
[2019-04-27 14:47:32] * VERSIONS: XMRigCC/1.9.2 (based on XMRig) libuv/1.14.1 gcc/7.3.0 (RELEASE with TLS)
[2019-04-27 14:47:32] * CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (1) x64 AES-NI ASM-INTEL
[2019-04-27 14:47:32] * CPU L2/L3: 48.0 MB/16.0 MB
[2019-04-27 14:47:32] * THREADS: 12, cryptonight-ultralite, hf=5, donate=1%, affinity=auto
[2019-04-27 14:47:32] * POOL #2: eu.trtl.cryptopool.space:3333
[2019-04-27 14:47:32] * COMMANDS: hashrate, pause, resume, quit
[2019-04-27 14:47:32] Starting thread 2/12 affined to core: #2 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 6/12 affined to core: #10 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 10/12 affined to core: #7 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 1/12 affined to core: #0 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 5/12 affined to core: #8 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 9/12 affined to core: #5 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 8/12 affined to core: #3 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 7/12 affined to core: #1 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 3/12 affined to core: #4 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 11/12 affined to core: #9 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 12/12 affined to core: #11 -> huge pages: 0/1 scratchpad: 1.0 MB
[2019-04-27 14:47:32] Starting thread 4/12 affined to core: #6 -> huge pages: 0/1 scratchpad: 1.0 MB

Threads & multihash on auto.

@electroape
Copy link
Author

[2019-04-27 14:49:57] cryptonight-ultralite hash self-test
[2019-04-27 14:49:57] cryptonight-ultralite hash self-test... successful.
[2019-04-27 14:49:57] * VERSIONS: XMRigCC/1.9.2 (based on XMRig) libuv/1.14.1 gcc/7.3.0 (RELEASE with TLS)
[2019-04-27 14:49:57] * CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz (2) x64 AES-NI ASM-INTEL
[2019-04-27 14:49:57] * CPU L2/L3: 80.0 MB/27.5 MB
[2019-04-27 14:49:57] * THREADS: 40, cryptonight-ultralite, hf=2, donate=1%, affinity=auto
[2019-04-27 14:49:57] * POOL #2: eu.trtl.cryptopool.space:3333
[2019-04-27 14:49:57] * COMMANDS: hashrate, pause, resume, quit
[2019-04-27 14:49:57] Starting thread 1/40 affined to core: #0 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 2/40 affined to core: #2 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 4/40 affined to core: #6 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 3/40 affined to core: #4 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 5/40 affined to core: #8 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 7/40 affined to core: #12 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 8/40 affined to core: #14 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 10/40 affined to core: #18 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 9/40 affined to core: #16 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 21/40 affined to core: #1 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 22/40 affined to core: #3 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 15/40 affined to core: #28 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 20/40 affined to core: #38 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 12/40 affined to core: #22 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 11/40 affined to core: #20 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 19/40 affined to core: #36 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 16/40 affined to core: #30 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 13/40 affined to core: #24 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 18/40 affined to core: #34 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 24/40 affined to core: #7 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 14/40 affined to core: #26 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 28/40 affined to core: #15 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 27/40 affined to core: #13 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 36/40 affined to core: #31 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 23/40 affined to core: #5 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 26/40 affined to core: #11 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 25/40 affined to core: #9 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 29/40 affined to core: #17 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 34/40 affined to core: #27 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 30/40 affined to core: #19 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 6/40 affined to core: #10 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 31/40 affined to core: #21 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 17/40 affined to core: #32 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 32/40 affined to core: #23 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 33/40 affined to core: #25 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 38/40 affined to core: #35 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 40/40 affined to core: #39 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 39/40 affined to core: #37 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 35/40 affined to core: #29 -> huge pages: 1/1 scratchpad: 512.0 KB
[2019-04-27 14:49:57] Starting thread 37/40 affined to core: #33 -> huge pages: 1/1 scratchpad: 512.0 KB

This one autodetects correctly.

@electroape
Copy link
Author

Another examples

[2019-04-27 14:51:14] * VERSIONS: XMRigCC/1.9.2 (based on XMRig) libuv/1.14.1 gcc/7.3.0 (RELEASE with TLS)
[2019-04-27 14:51:14] * CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (1) x64 AES-NI ASM-INTEL
[2019-04-27 14:51:14] * CPU L2/L3: 1.5 MB/9.0 MB
[2019-04-27 14:51:14] * THREADS: 6, cryptonight-ultralite, hf=5, donate=1%, affinity=auto
[2019-04-27 14:51:14] * POOL #2: eu.trtl.cryptopool.space:3333
[2019-04-27 14:51:14] * COMMANDS: hashrate, pause, resume, quit
[2019-04-27 14:51:14] Starting thread 1/6 affined to core: #0 -> huge pages: 0/1 scratchpad: 1.0 MB

[2019-04-27 12:51:09] * VERSIONS: XMRigCC/1.9.2 (based on XMRig) libuv/1.14.1 gcc/7.3.0 (RELEASE with TLS)
[2019-04-27 12:51:09] * CPU: Intel(R) Xeon(R) Silver 4112 CPU @ 2.60GHz (2) x64 AES-NI ASM-INTEL
[2019-04-27 12:51:09] * CPU L2/L3: 32.0 MB/16.5 MB
[2019-04-27 12:51:09] * THREADS: 16, cryptonight-ultralite, hf=4, donate=1%, affinity=auto
[2019-04-27 12:51:09] * POOL #2: eu.trtl.cryptopool.space:3333
[2019-04-27 12:51:09] * COMMANDS: hashrate, pause, resume, quit
[2019-04-27 12:51:09] Starting thread 4/16 affined to core: #6 -> huge pages: 1/1 scratchpad: 1024.0 KB

[2019-04-27 12:51:15] * VERSIONS: XMRigCC/1.9.2 (based on XMRig) libuv/1.14.1 gcc/7.3.0 (RELEASE with TLS)
[2019-04-27 12:51:15] * CPU: Intel(R) Xeon(R) CPU E5-2420 v2 @ 2.20GHz (2) x64 AES-NI ASM-INTEL
[2019-04-27 12:51:15] * CPU L2/L3: 12.0 MB/30.0 MB
[2019-04-27 12:51:15] * THREADS: 24, cryptonight-ultralite, hf=5, donate=1%, affinity=auto
[2019-04-27 12:51:15] * POOL #2: eu.trtl.cryptopool.space:3333
[2019-04-27 12:51:15] * COMMANDS: hashrate, pause, resume, quit
[2019-04-27 12:51:15] Starting thread 1/24 affined to core: #0 -> huge pages: 0/1 scratchpad: 1.0 MB

@Bendr0id
Copy link
Owner

Bendr0id commented Apr 27, 2019 via email

@electroape
Copy link
Author

Yup, if i set variant "turtle" manually it detects MH correctly. But even it's not possible to know which variant will be used isn't all variants of the algo use the same scratchpad size ? If that's the culpit with correct MH detection.

@Bendr0id
Copy link
Owner

Should be fixed now. In theory XMRigCC is able todo all combinations of algo (scratchpad size) and variant. But since there is no non v8+ variant on cn-ultralite and cn-extremelite it should be pretty safe.

Please test with #1.9.3

@electroape
Copy link
Author

Fix confirmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants