Author

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

member
Activity: 564
Merit: 19
@JCE-Miner

It will be nice to see a total hashes / uptime when I press R key.

So far so good, a nice addition to my GPU rigs. Thanks
newbie
Activity: 43
Merit: 0
Four threads ? So it's better to use 4 normal threads than 3 + dualmine ? [heart broken]
If that's what you say, so it's another proof the dual mine is useless outside the very rare case of a 2M-cache dual core cpu. Cry
Yes, indeed, he is right:

3T => 58 H/s
3T + helper => 64 H/s
4T => 70 H/s

And that despite Deneb has only 6 MB L3 cache.  Shocked But I forgot the special cache architecture of AMD systems. Intel systems have inclusive caches. So the size of the L3 cache is the maximum cacheable size, because the data in L2 and L1 are just subsets of a copy. AMD systems instead have exclusive caches, where no data is ever stored in L2 and L3 at the same time. That's why you can add L2 and L3 cache size. Deneb has 4x 512 KB L2. Together with the 6 MB L3 you get 8 MB cache altogether; or room for 4 threads.  Roll Eyes

But it still can be helpful for non-AES Intel CPUs with limited L3 (Lynnfield) or for Phenom II X6 to use the last two cores, as well Cheesy

Still PhenomII X6 have better performance with 6T than 5T+helper, 153 vs 141.

What clock is your X4 running?
member
Activity: 564
Merit: 19
There you go

Intel Core i5-6600 Processor - 26.5 watts average - mineXMR.com Monero - 20k difficulty

01:00:28 | Valid Shares found 30
01:00:28 | Total hashes 600000
01:00:28 | Miner uptime 1:00:46

AVG: 166 H/s

This is a nice addition to my current rigs. Free profit from existing hardware.
newbie
Activity: 43
Merit: 0
Dual mine forbidden with AES and Cryptonight Heavy.
AES because it's always far worse than regular threads, Heavy because there's no longer smooth parts in cryptonight version Heavy, so threads have no longer any resource to share.

Dual is for non-aes, C-Night[v7], C-Light[v7], 32 or 64 bits.

I was aware of that fact, I tried because my CPU have 16 cores 8 physical 8 logical, if we use for example 4 each the flood cache happens, hash drops, so I thought if the logical shares the phisical core cache maybe it will work, was just a guess no technological knowlage.
member
Activity: 564
Merit: 19
Intel Pentium G4400 @ 3.30GHz 2 cores 52.71 H/s monero, 11 watts.
The L3 cache of the G4400 is not big enough for 2 Monero threads. Use just one either or switch to a cryptonight-lite coin like TurtleCoin. Then you can use both cores without flooding the cache.

I think it works perfectly. mineXMR confirms 52 H/s

Quote
For Windows 64-bits
Analyzing Processors topology...
Intel(R) Pentium(R) CPU G4400 @ 3.30GHz
Architecture codename: Skylake
  SSE2          : Yes
  SSE3          : Yes
  SSE4          : Yes
  AES           : Yes
  AVX           : No

Found CPU 0, with:
  L1 Cache:    32 KB
  L2 Cache:   256 KB
  L3 Cache:  3072 KB, shared with CPU 1
Found CPU 1, with:
  L1 Cache:    32 KB
  L2 Cache:   256 KB
  L3 Cache:  3072 KB, shared with CPU 0

Preparing 2 Mining Threads...

+-- Thread 0 config -----------------------------+
| Run on CPU:             0                      |
| Use cache:              yes                    |
| Assembly module:        generic_aes            |
+------------------------------------------------+

+-- Thread 1 config -----------------------------+
| Run on CPU:             1                      |
| Use cache:              yes                    |
| Assembly module:        generic_aes            |
+------------------------------------------------+

Cryptonight Variation: Cryptonight V7 fork of April-2018

Low intensity.
Starting Mining thread 0, affinity: CPU 0
Thread 0 successfully bound to CPU 0
Allocated shared Large Page at: 0000027232a00000
Allocated 2MB Cached Large Page Scratchpad Buffer for CPU 0 of NUMA node 0 at: 0000027232c00000
Starting Mining thread 1, affinity: CPU 1
Thread 1 successfully bound to CPU 1
Allocated 2MB Cached Large Page Scratchpad Buffer for CPU 1 of NUMA node 0 at: 0000027232e00000
Connecting to mining pool pool.minexmr.com:4444 ...
Devfee is 1.5%

00:18:36 | Monero (XMR) Mining session starts!
jr. member
Activity: 37
Merit: 5
Intel Pentium G4400 @ 3.30GHz 2 cores 52.71 H/s monero, 11 watts.
The L3 cache of the G4400 is not big enough for 2 Monero threads. Use just one either or switch to a cryptonight-lite coin like TurtleCoin. Then you can use both cores without flooding the cache.
jr. member
Activity: 37
Merit: 5
Four threads ? So it's better to use 4 normal threads than 3 + dualmine ? [heart broken]
If that's what you say, so it's another proof the dual mine is useless outside the very rare case of a 2M-cache dual core cpu. Cry
Yes, indeed, he is right:

3T => 58 H/s
3T + helper => 64 H/s
4T => 70 H/s

And that despite Deneb has only 6 MB L3 cache.  Shocked But I forgot the special cache architecture of AMD systems. Intel systems have inclusive caches. So the size of the L3 cache is the maximum cacheable size, because the data in L2 and L1 are just subsets of a copy. AMD systems instead have exclusive caches, where no data is ever stored in L2 and L3 at the same time. That's why you can add L2 and L3 cache size. Deneb has 4x 512 KB L2. Together with the 6 MB L3 you get 8 MB cache altogether; or room for 4 threads.  Roll Eyes

But it still can be helpful for non-AES Intel CPUs with limited L3 (Lynnfield) or for Phenom II X6 to use the last two cores, as well Cheesy
member
Activity: 564
Merit: 19
miningpoolhub with 40k difficulty is too much for my i5-6000. I switched to pool.mineXMR.com port 4444 fixed diff 20k. It is stable for 30 minutes. 5-6 USD monthly with CPU. I think it is not bad since CPU is %90 times idle.

Intel Pentium G4400 @ 3.30GHz 2 cores 52.71 H/s monero, 11 watts.
member
Activity: 350
Merit: 22
Dual mine forbidden with AES and Cryptonight Heavy.
AES because it's always far worse than regular threads, Heavy because there's no longer smooth parts in cryptonight version Heavy, so threads have no longer any resource to share.

Dual is for non-aes, C-Night[v7], C-Light[v7], 32 or 64 bits.
newbie
Activity: 43
Merit: 0

Four threads ? So it's better to use 4 normal threads than 3 + dualmine ? [heart broken]
If that's what you say, so it's another proof the dual mine is useless outside the very rare case of a 2M-cache dual core cpu. Sad

I did not test dual mine on the X4 I was happy to see almost 100H/s against 45H/s before with XmRig/Stak.

Keep your ❤️ warm 😁

What I tried was setting dual mine on my Ryzen as the nine thread, but it gave a error about. AES CPU found.
member
Activity: 564
Merit: 19
Intel® Core i5-6600 Processor

config.txt

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" : true },
]

start.bat exe line

Code:
C:\Users\User\Desktop\jce_cn_cpu_miner.021\jce_cn_cpu_miner%BITS%.exe -o %POOL%:%PORT% -u %WALLET% -p %PASSWORD% %SSL% %* -c config.txt --variation 4 --low

640 H/S at 30 watts, monero

I always get "Low difficulty share" error. I tried different difficulties, no change. Any ideas?

Thanks
You set algo variation 4 - this is cryptolightV7. Check your pool address and port. Did you right chose algo for your pool and port? Maybe you want to cryptonightV7? This is 3 variation algo...

--variation 3 solved the problem, thanks

Total: 151.19 h/s with --low, europe.cryptonight-hub.miningpoolhub.com port 20580, start difficulty 40000

I am going to run it for 1 hour and see the results.
member
Activity: 350
Merit: 22
Thanks, I was just typing that exact same answer : Monero is variation 3. Use --help to get the list of variations.

Without dual mining the Phenom II X4 905e hashes up to 58 H/s. Thanks to dual mining on the last core, it's 64 H/s Cheesy

It warms up my heart Cheesy at least somebody uses the dual thread  Cool
Next priority now is dual-share, which is the exact opposite (for cpu with more cache than threads, like Xeon)

About Xeon, note the thread limit is now 64, so the 40-core config we discussed here can be merged into one single JCE instance.

You can try dualmine, the config example above is good, the trick is often to dualmine the last thread with the one before
https://ark.intel.com/fr/products/90729/Intel-Core-i3-6100-Processor-3M-Cache-3_70-GHz

For you, I advise (with no way to be sure)

Code:
"cpu_threads_conf" :
[
     { "cpu_architecture" : "auto", "affine_to_cpu" : 0, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 1, "use_cache" : true, "dual_mine_with": 0 },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 2, "use_cache" : true },
     { "cpu_architecture" : "auto", "affine_to_cpu" : 3, "use_cache" : true, "dual_mine_with": 2 },
]

edit:
Quote
I setup my PhenomII 955 @stock and I got 94-98H/s, startupconfig on SS.
Four threads ? So it's better to use 4 normal threads than 3 + dualmine ? [heart broken]
If that's what you say, so it's another proof the dual mine is useless outside the very rare case of a 2M-cache dual core cpu. Cry

About the core i3 : before tweaking the dual thread, try with a simple -t 4 param to force four threads. It may simply be the best config.
member
Activity: 476
Merit: 19
Can I dualmine with an intel13 6100 ?
Just because mining stellite, the pool doesn't accept difficulty lower than 15 k and sometimes I got kicked out
sr. member
Activity: 1484
Merit: 253
Intel® Core i5-6600 Processor

config.txt

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" : true },
]

start.bat exe line

Code:
C:\Users\User\Desktop\jce_cn_cpu_miner.021\jce_cn_cpu_miner%BITS%.exe -o %POOL%:%PORT% -u %WALLET% -p %PASSWORD% %SSL% %* -c config.txt --variation 4 --low

640 H/S at 30 watts, monero

I always get "Low difficulty share" error. I tried different difficulties, no change. Any ideas?

Thanks
You set algo variation 4 - this is cryptolightV7. Check your pool address and port. Did you right chose algo for your pool and port? Maybe you want to cryptonightV7? This is 3 variation algo...
newbie
Activity: 43
Merit: 0
Quote
The only CPU so far where i saw a perf increase was a core2 duo Conroe (2 cores, 2M cache).
Dual mining is perfect for AMD Phenom II X4. It has an L3 cache of 6 MB, so 3 cryptonight threads fit into it. But is has 4 cores, so with a normal miner, one core is without a job. Thanks to dual mining I can fill the L3 with 3 threads and add a "helper thread" to the 4th core. It looks like this:

"cpu_threads_conf" :
[
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 0, "use_cache" : true },
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 1, "use_cache" : true },
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 2, "use_cache" : true },
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 3, "use_cache" : true, "dual_mine_with": 2 },
]

Without dual mining the Phenom II X4 905e hashes up to 58 H/s. Thanks to dual mining on the last core, it's 64 H/s Cheesy

I setup my PhenomII 955 @stock and I got 94-98H/s, startupconfig on SS.

PhenomII X4 Hash
member
Activity: 564
Merit: 19
Intel® Core i5-6600 Processor

config.txt

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" : true },
]

start.bat exe line

Code:
C:\Users\User\Desktop\jce_cn_cpu_miner.021\jce_cn_cpu_miner%BITS%.exe -o %POOL%:%PORT% -u %WALLET% -p %PASSWORD% %SSL% %* -c config.txt --variation 4 --low

640 H/S at 30 watts, monero

I always get "Low difficulty share" error. I tried different difficulties, no change. Any ideas?

Thanks
sr. member
Activity: 1484
Merit: 253
I'm awaiting dual/double threads.
jr. member
Activity: 37
Merit: 5
Quote
The only CPU so far where i saw a perf increase was a core2 duo Conroe (2 cores, 2M cache).
Dual mining is perfect for AMD Phenom II X4. It has an L3 cache of 6 MB, so 3 cryptonight threads fit into it. But is has 4 cores, so with a normal miner, one core is without a job. Thanks to dual mining I can fill the L3 with 3 threads and add a "helper thread" to the 4th core. It looks like this:

"cpu_threads_conf" :
[
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 0, "use_cache" : true },
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 1, "use_cache" : true },
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 2, "use_cache" : true },
     { "cpu_architecture" : "deneb", "affine_to_cpu" : 3, "use_cache" : true, "dual_mine_with": 2 },
]

Without dual mining the Phenom II X4 905e hashes up to 58 H/s. Thanks to dual mining on the last core, it's 64 H/s Cheesy
newbie
Activity: 43
Merit: 0
I am testing 0.21 normal 6T --low no dualminig all good same hash.

Gonna try dualminig next, as I said a got freezes on the firsts minutes so the hash reading was at the start not so accurate. I will report my findings.  Wink


EDIT

10min run, no freezes hash 140H/s

http://www.bild.me/bild.php?file=9475035JCE0.21-PIIX6-6T-LOW-DM-OC.jpg
member
Activity: 350
Merit: 22
Hi

Just finish testing dualmining as you recommended, the good news, shares are accepted, the bad news hash decreased to 128 and system freezes after a couple minutes.

Gonna test 0.21 right now.

Thanks.
The bug was very bad and could lead to a freeze or crash, so i guess (and hope) it's fixed in 0.21
The only CPU so far where i saw a perf increase was a core2 duo Conroe (2 cores, 2M cache).
In earlier version of JCE (pre-bitcointalk) there were a triple and quad thread mode that was never Cry better than simple thread, so i dropped it.
I could drop dual if it really never gives a perf increase, except of the very sole Conroe.
Jump to: