Pages:
Author

Topic: [XMR] JCE Miner Cryptonight/forks, now with GPU! - page 101. (Read 90841 times)

full member
Activity: 1120
Merit: 131
Thanks, it works, but it seems the Ryzen 5 2400G doesn't appreciate the Ryzen 5 1400 config, the:
"cpu_threads_conf" : 

     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 0, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 2, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 4, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 6, "use_cache" : true, "multi_hash":1 },
]

Is 50% slower than auto config.
It's weird to me, I thought basically the 2400G is a 1400 + Vega.
member
Activity: 350
Merit: 22
look at your -c

it must be followed by the config file name. You miss that argument, and other argument gets badly interpreted.

Code:
jce_cn_cpu_miner64.exe --low -c config.txt -o ..........
the filename can be any existing text file containing config. .txt is just simpler.

and be careful, when Stellite forks (in a few days or weeks) but not before you'll need to add param --variation 7

edit: found a bug that could crash the miner at start, in case a Large Page was missing. Making a bugfix 0.27e with
Code:
Architecture Codename replaced by Assembly Codename (overridable with --archi)
Core2 detect fix
Possible crash fix

about Large Page: there's nothing to do on JCE, it uses them when possible, and normal memory otherwise. You must enable Large Pages (called Locked Pages under windows). Here's a guide
http://support.sisoftware.co.uk/knowledgebase.php?article=52
full member
Activity: 1120
Merit: 131
I have this weird error:

jce_cn_cpu_miner64.exe --low -c -o communitypool.stellite.cash:6688 -p T***t:tut**et@***.com -u Se2P*****62jBLTQ3mg (the * are replacing the real adresses)
Parameter error, unknown argument communitypool.stellite.cash:6688
member
Activity: 350
Merit: 22
Hello,

Quote
Has anyone managed to improve upon the "auto" performance for Ryzen 2700X on CN7 ?
Nope, the best possible for CN7 is 8x single thread.
For Cryptolight (IPBC, Turtle) there are tricks with double-hash, and for Heavy (Loki, Solace...) with no-cache. But nothing better for CN7.

Quote
Adding non cached threads (beyond eight) kills the performance for me.
Correct, same for my Ryzen. Intel cpus may get extra perfs with no-cache on CN7, but not Ryzen.

Quote
whats the best config for ryzen 1700
The same than for Ryzen 2700 : the default one got with --auto.
Or if you want to force it: --archi ryzen -t 8
but that's the same.

Quote
but the changes are not recognized from the miner?!
you need to use -c to enable manual config.

Quote
This program works on Arm CPU? Can i use it on a raspberry pi?
Absolutely not, it's written in assembly for x86 and x64 CPU. Not hardware portable at all, on purpose.
But i'm making a Linux version (for x86/x64 PC only)

best config for Ryzen 5 1400 for CN-V7
Code:
"cpu_threads_conf" : 

     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 0, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 2, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 4, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 6, "use_cache" : true, "multi_hash":1 },
]

for Ryzen 5 1400 for Heavy :
Code:
"cpu_threads_conf" : 

     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 0, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 2, "use_cache" : false, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 3, "use_cache" : false, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 4, "use_cache" : true, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 6, "use_cache" : false, "multi_hash":1 },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 7, "use_cache" : false, "multi_hash":1 },
]
full member
Activity: 1120
Merit: 131
Hello,

I'm looking for configs settings, I just changed my hardware. Looking for Ryzen 5 1400 config type (I now have a Ryzen 5 2400G), for V7 and heavy please.
If possible, with "large page enabled".

Thanks.
member
Activity: 363
Merit: 16
i tried to chance thhe config file for my Ryzen 1700 - but the changes are not recognized from the miner?!

i can change to 1 (only for exampe) thread but the miner still starts with 8 Threads

tried the start_as_admin.bat but no changes

is there a registry that i have to delete?!

whats the best config for ryzen 1700 and crypto V7 (non heavy)

TIA

EDITH: get it...thanks Smiley
newbie
Activity: 10
Merit: 0
This program works on Arm CPU? Can i use it on a raspberry pi?
jr. member
Activity: 58
Merit: 4
Has anyone managed to improve upon the "auto" performance for Ryzen 2700X on CN7 ?
I get ~740 h/s on stock settings.

Adding non cached threads (beyond eight) kills the performance for me.
member
Activity: 350
Merit: 22
hi all,

i see one bug : the bad core2 detect.
autoconfig on non-aes core2 uses all cores, even with low cache, because it's faster. at least that's what i observed on mine. on a 6M naive config would be 3 threads, but i observed 4 was faster.

also sse4 instructions that later core2 have is well detected and used.

about the Architecture codename, it's misleading, i see too many people with bad info, or thinking it can be overriden by --archi. since it's cosmetical, i'll replace it with the Assembly codename, which is more useful (and this is what's overridable)

a better param would have been --assembly instead of --archi, my bad, but that's too late now.

linux version on the way.

edit: i found the core2 detect bug, next version will display assembly Codename instead of Architecture, and for all Core2/Core2Xeon, it will be core2 or core2_sse4

The difference between core2_sse4 and generic_sse4 is a few core2 specific ASM optims, mostly focused on filling well the pipeline. The perf difference is usually ~2 h/s but 2 is better than Nothing Wink
newbie
Activity: 33
Merit: 0
I also have a lot of Xeon(R) CPU E5440 @ 2.83GHz (core Harpertown)  overclocked bus 370Mhz = 3145MHz, auto config gives me 135H/s.
as a result, it is used 2+2+2+2 =8MB cache
Code:
For Windows 64-bits
Analyzing Processors topology...
Intel(R) Xeon(R) CPU E5440 @ 2.83GHz
Architecture codename: Harpertown
  SSE2          : Yes
  SSE3          : Yes
  SSE4          : Yes
  AES           : No
  AVX           : No
  AVX2          : No

Auto-configuration, selected CPUs will be highlighted...
Found CPU 0, with:
  L1 Cache:    32 KB
  L2 Cache:  6144 KB, shared with CPU 1
Found CPU 1, with:
  L1 Cache:    32 KB
  L2 Cache:  6144 KB, shared with CPU 0
Found CPU 2, with:
  L1 Cache:    32 KB
  L2 Cache:  6144 KB, shared with CPU 3
Found CPU 3, with:
  L1 Cache:    32 KB
  L2 Cache:  6144 KB, shared with CPU 2

Preparing 4 Mining Threads...

+-- Thread 0 config -----------------------------+
| Run on CPU:             0                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        core2_sse4             |
+------------------------------------------------+

+-- Thread 1 config -----------------------------+
| Run on CPU:             1                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        core2_sse4             |
+------------------------------------------------+

+-- Thread 2 config -----------------------------+
| Run on CPU:             2                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        core2_sse4             |
+------------------------------------------------+

+-- Thread 3 config -----------------------------+
| Run on CPU:             3                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        core2_sse4             |
+------------------------------------------------+

manual adjustment, gives +2 H/s
Code:
"cpu_threads_conf" :
[
     { "cpu_architecture" : "auto", "affine_to_cpu" : 0, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 1, "use_cache" : true, "multi_hash": 2 },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 2, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 3, "use_cache" : true, "multi_hash": 2 },
]

2+4+2+4 =12Mb -> Getting 137H/s
newbie
Activity: 33
Merit: 0
Yes, 8Mb cache Kentsfield (Q6xxx), Yorkfield (Q9x50) 12Mb , Yorkfield-6M (Q8x00, Q9x00) 6Mb.
the auto config on this processor does not work correctly.
Code:
For Windows 64-bits
Analyzing Processors topology...
Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
Architecture codename: Kentsfield
  SSE2          : Yes
  SSE3          : Yes
  SSE4          : Yes
  AES           : No
  AVX           : No
  AVX2          : No

Auto-configuration, selected CPUs will be highlighted...
Found CPU 0, with:
  L1 Cache:    32 KB
  L2 Cache:  3072 KB, shared with CPU 1
Found CPU 1, with:
  L1 Cache:    32 KB
  L2 Cache:  3072 KB, shared with CPU 0
Found CPU 2, with:
  L1 Cache:    32 KB
  L2 Cache:  3072 KB, shared with CPU 3
Found CPU 3, with:
  L1 Cache:    32 KB
  L2 Cache:  3072 KB, shared with CPU 2

Preparing 4 Mining Threads...

+-- Thread 0 config -----------------------------+
| Run on CPU:             0                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        generic_sse4           |
+------------------------------------------------+

+-- Thread 1 config -----------------------------+
| Run on CPU:             1                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        generic_sse4           |
+------------------------------------------------+

+-- Thread 2 config -----------------------------+
| Run on CPU:             2                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        generic_sse4           |
+------------------------------------------------+

+-- Thread 3 config -----------------------------+
| Run on CPU:             3                      |
| Use cache:              yes                    |
| Multi-hash:             no                     |
| Assembly module:        generic_sse4           |
+------------------------------------------------+

used by the kernel generic_sse4 , with 6M L2 cache uses all 4 cores Use cache: yes . as much as 8Mb of 6 ? Is that supposed to be?
what is the difference generic_sse4 and core2_sse4 ?
large pages of course included

MB Gigabyte GA-EP45-UD3LR 4Gb DDR3-1333

update:
if I turn on one core cache, then the rate drops to 81 H/s
Code:
"cpu_threads_conf" :
[
     { "cpu_architecture" : "auto", "affine_to_cpu" : 0, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 1, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 2, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 3, "use_cache" : false },
]
member
Activity: 350
Merit: 22
that's on Cryptonight, on V7 it drops to 113
are you sure you have the Large Pages enabled ? 100 is the score i get with Large pages missing.
and that's on the 64 bits version, 32 bits gives me 92

but yes, maybe force config with -t 4 --archi core2
my score is real, and core2 is the most optimized on my assemblies

to be precise, my chipset is G31 with ddr2 800, if you run your quad on a i965 it may explain the bad perf.

edit: hooooo i get it
i've a Q9450 with 12M cache, and yours is a Q9400 with 6M cache. that's normal. i'll update the bench to be more precise, i didn't notice there were Quad with only 6M
newbie
Activity: 33
Merit: 0
JCE-Miner
I don't understand how you could get 116 h/s on a 2.66 GHz Core2Quad. I have a Core2Quad Q9400 2.66 GHz, on your miner I get about 100H / s. On what processor model did you test, probably Q9450?
(Win7 x64, MoneroV7)

miner defines architecture as Kentsfield, Core2Quad Q9400 (Yorkfield-6M )
member
Activity: 350
Merit: 22
you're exploring news seas, the config rules of Cryptonight may not apply to Alloy, it's a very new algo. weak cpus like your Mobile i7 often have best perfs when mining with all cores.

you may also try with some multi_hash >1 in the config file, with either 4 or 8 threads, as an experiment
newbie
Activity: 9
Merit: 0
No problem bro! Happy to read this. Grin

i find best setting to use auto config and set t-8 which is max for me i think, it gives me 10-12% more hashrate than any other configuration
member
Activity: 350
Merit: 22
No problem bro! Happy to read this. Grin
newbie
Activity: 9
Merit: 0


@pornello: did you copy that exact text, nothing more, nothing less, into config.txt ? And config.txt put in same folder as start.bat ?
It looks valid JSON...

yup i copied exactly what you posted, put into empty config.txt which i already put in same folder as start.bat


i dunno how but it started working after 5 attempts
member
Activity: 350
Merit: 22
So you did things right, but i tested exact same text, and works.
I bet you missed a character when copy-pasted.
If i remove last character ] i get the same error message than you.
All characters count!

re-testing CN-Heavy mining right now...
newbie
Activity: 9
Merit: 0


@pornello: did you copy that exact text, nothing more, nothing less, into config.txt ? And config.txt put in same folder as start.bat ?
It looks valid JSON...

yup i copied exactly what you posted, put into empty config.txt which i already put in same folder as start.bat
member
Activity: 350
Merit: 22
i get error "invalid config file syntax in config.txt

post your config Wink


also:

i get extremely low hashrate for cryptonight-heavy on my Ryzen 2700X 150H/s to 200H/s at best. is this normal? since cryptonight heavy uses 4M blocks i should get better results with multi hash, right?

@pornello: did you copy that exact text, nothing more, nothing less, into config.txt ? And config.txt put in same folder as start.bat ?
It looks valid JSON...

cryptonight-heavy : nope, multi-hash add still more cache consumption, leading to worse perf. That's rather for cryptolight.
for your 2700X here's the best config:

Code:
"cpu_threads_conf" : 

     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 1, "use_cache" : true },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 2, "use_cache" : false },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 3, "use_cache" : false },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 5, "use_cache" : true },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 6, "use_cache" : false },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 7, "use_cache" : false },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 9, "use_cache" : true },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 10, "use_cache" : false },
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 11, "use_cache" : false },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 13, "use_cache" : true },
 
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 14, "use_cache" : false },   
     { "cpu_architecture" : "ryzen", "affine_to_cpu" : 15, "use_cache" : false },   
]

Solace crash : i admit i didn't test Solace explicitely, dozen of coins times hundreds of assembly are not fully testable. I'll do emergency test asap.
Other problem may be use of an unsupported CPU instruction, maybe try with --auto --archi generic, you'll get bad perf, but at least you can check if it runs.
Please copy the first lines of the log (where it detects CPU and build the mining threads) so i can know what assembly causes trouble.
Pages:
Jump to: