Bitcoin Forum
June 23, 2024, 11:48:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's CryptoNote AMD GPU Miner v10.2 on: December 16, 2017, 04:20:42 PM
Hello! I have config file start-XMR-suprnova.bat:
Code:
TIMEOUT 10

@echo off
setx GPU_FORCE_64BIT_PTR 1
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
@echo on

NsGpuCNMiner.exe -xpool ssl://xmr-eu.suprnova.cc:5221 -xwal avk113.Rig1 -xpsw x -allpools 1 -retrydelay 4 -ftime 45 -dbg -1 -mport 0 -r 1

pause

When i running it, i get an error:
Code:
╔════════════════════════════════════════════════════════════════╗
║         Claymore's CryptoNote AMD GPU Miner v10.2 Beta         ║
╚════════════════════════════════════════════════════════════════╝

XMR: 1 pool is specified
Main Monero pool is xmr-eu.suprnova.cc:5221
At least 16 GB of Virtual Memory is required for multi-GPU systems
Make sure you defined GPU_MAX_ALLOC_PERCENT 100
Be careful with overclocking, use default clocks for first tests
Press "s" for current statistics, "0".."9" to turn on/off cards, "r" to reload pools
OpenCL initializing...
AMD Cards available: 4
GPU #0: Ellesmere, 4096 MB available, 36 compute units
GPU #0 recognized as Radeon RX 480/580
GPU #1: Ellesmere, 4096 MB available, 36 compute units
GPU #1 recognized as Radeon RX 480/580
GPU #2: Ellesmere, 4096 MB available, 36 compute units
GPU #2 recognized as Radeon RX 480/580
GPU #3: Ellesmere, 4096 MB available, 36 compute units
GPU #3 recognized as Radeon RX 480/580
POOL version
GPU #0 algorithm ASM, -h 900, -dmem 1 (Memory used: 3780MB)
GPU #1 algorithm ASM, -h 900, -dmem 1 (Memory used: 3780MB)
GPU #2 algorithm ASM, -h 900, -dmem 1 (Memory used: 3780MB)
GPU #3 algorithm ASM, -h 900, -dmem 1 (Memory used: 3780MB)
Total cards: 4
XMR: Stratum - connecting to 'xmr-eu.suprnova.cc' <37.187.24.170> port 5221 (SSL/TLS)
"-allpools" option is set, default pools can be used for devfee, check "Readme" file for details.
Watchdog enabled

SSL/TLS encryption is enabled
XMR: Stratum - Connected (xmr-eu.suprnova.cc:5221) (SSL/TLS)
Stratum - reading socket failed 0, disconnect
XMR: Job timeout, disconnect, retry in 4 sec...
XMR: Stratum - connecting to 'xmr-eu.suprnova.cc' <37.187.24.170> port 5221 (SSL/TLS)
SSL/TLS encryption is enabled
XMR: Stratum - Connected (xmr-eu.suprnova.cc:5221) (SSL/TLS)
Stratum - reading socket failed 0, disconnect
XMR: Job timeout, disconnect, retry in 4 sec...
XMR: Stratum - connecting to 'xmr-eu.suprnova.cc' <37.187.24.170> port 5221 (SSL/TLS)
SSL/TLS encryption is enabled
XMR: Stratum - Connected (xmr-eu.suprnova.cc:5221) (SSL/TLS)
Stratum - reading socket failed 0, disconnect
what happend? help, please!
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's CryptoNote AMD GPU Miner v10.0 on: December 15, 2017, 09:16:46 PM
This version is not so easy to use because you have to adjust "-h" and "-dmem" values often, I will try to improve it soon.
1. "-dmem 1" requires twice more memory, make sure you have enough virtual memory. For example, if you have 6 GPUs 8GB, set virtual memory to 6*8=48GB.
2. Check how much memory miner allocates, it shows something like "(Memory used: 5128MB)", make sure you have this memory on your GPU.
3. You can see low hashrate if you use almost all memory on GPU, try to reduce "-h" value a bit.


Guys if you are getting the "GpuMiner dk2an0 failed" error, be sure to note Claymore's comments above. I was initially getting the same error with my RX480 8GB rig. Lowering to -h 1024 will solve the issue but make the program only see 4GB on my cards. After changing page file to 48GB, the miner runs beautifully with default -h and -dmem settings.

Ellesmere RX480 8GB, same modded BIOS, default miner settings:
CryptoNote Miner 9.7 - 850 H/s
CryptoNote Miner 10 - 987 H/s

Thanks Claymore!
Thx Man!
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 11, 2017, 03:28:31 PM
I tried "-t 12 --cpu-affinity 0x555" (0b010101010101) and got a more high and stable result:
max 2300H/s, avg 2100 H/s on unlocked 2678v3

That's strange you only had 6 bits in the mask so you're running 2 threads on each CPU.
Try 0x555555. On my 6700K I get about the same with 4 of 8 threads with default mask or 0x55.
On each core or on each processor? I only have one Intel Xeon processor.
With the value 0x555555 I got 1220 H / s
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 09, 2017, 07:15:16 PM
I tried "-t 12 --cpu-affinity 0x555" (0b010101010101) and got a more high and stable result:
max 2300H/s, avg 2100 H/s on unlocked 2678v3
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 09, 2017, 09:25:10 AM
If you have one hyperthreaded Intel CPU the default affinity should be correct for any thread count.
Just find the number of threads that gives the best performance.

Affinity should only be a concern with AMD CPUs that have a different way of implementing multicore HW.
As the previous discussions have shown it's still in the learning stage.

Otherwise your calculations are correct.
I tried a different number of threads without cpu-affinity. This gives a worse result than with cpu-affinity. Example:
Code:
:: c:\Miners\cpuminer-opt-3.6.1-windows\cpuminer-aes-avx2.exe -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u spronkin1.Rig1 -p x --cpu-priority 2 -t 1
:: -t 1=478H/s
:: -t 2=660H/s
:: -t 4=1230H/s
:: -t 5=1530H/s
:: -t 6=1470H/s
:: -t 7=1600H/s
:: -t 8=1472H/s
:: -t 9=1423H/s
:: -t 10=1312H/s
:: -t 11=1220H/s
:: -t 12=1210H/s
:: -t 16=1070H/s
:: -t 20=1000H/s
:: -t 23=900H/s
:: -t 7 + --cpu-affinity 0xffffff= 1712H/s - why?:
:: c:\Miners\cpuminer-opt-3.6.1-windows\cpuminer-aes-avx2.exe -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u spronkin1.Rig1 -p x --cpu-priority 2 -t 7 --cpu-affinity 0xffffff

Don't use affinity with default thread count, it just messes things up.

Try different affinities with 12 threads. The default should be the same as 0xffffff.
Here are the results I received:
Code:
:: 0d4095=0b111111111111=0xfff=1230H/s
:: 0d8191=0x1FFF=1240H/s
:: 0d16383=0x3FFF=1240H/s
:: 0d32767=0b111111111111111=0x7FFF=1231H/s
:: 0d33023=0b1000000011111111=0x80FF=1450H/s
:: 0d33151=0b1000000101111111=0x817F=1460H/s
:: 0d33167=0b1000000110001111=0x818F=1763H/s
:: 0d33168=0b1000000110010000=0x8190=1850H/s
:: 0d33169=0b1000000110010001=0x8191=2140H/s
:: 0d33171=0b1000000110010011=0x8193=2200H/s
:: 0d33175=0b1000000110010111=0x8197=2200H/s
:: 0d33199=0bx1000000110101111=0x81AF=1700H/s
:: 0d33279=0b1000000111111111=0x81FF=1430H/s
:: 0d16777215=0b111111111111111111111111=0xffffff=1234H/s (as default affinity)
While I chose this result:
c:\Miners\cpuminer-opt-3.6.1-windows\cpuminer-aes-avx2.exe -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u spronkin1.Rig1 -p x --cpu-priority 2 --cpu-affinity 0x8197
I did not check the hashrate with --cpu-affinity outside this range between 33279 and 65535 or more. I do not know, maybe there are better results. I just can not understand the principle of the -cpu-affinity parameter, how does it work?
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 08, 2017, 01:51:30 PM
What is the default number of threads?
7  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 06, 2017, 07:43:04 PM
Yes I do.  Smiley
The issue with zoin (lyra2z330) is memory bandwidth. The CPUs are stalled waiting for memory.
You can reduce the number of threads without losing hash.

An added complication in this case is multi CPU. I'm not sure how logical CPUs are mapped to the individual
Xeons. With a single CPU the default affinity works by assigning one thread to each logical CPU before using
hyperthreading. I don't know whether this will carry to the second CPU. When the first CPU has one thread on
each of it's cores wher does the next thread go? Does it start hyperthreading on the first CPU or start assigning
threads to the second CPU?

You could figure this out by monitoring the CPU's temperatures while running 20 threads with default affinity.
20 threads should be distruibuted evenly accross all 20 physical cores on both Xeons and the temperatures
of the CPUs should be the same. If one is hot and the other cool it indicates the default affinity put 20 threads
on one Xeon. If that happens you will have to play with the affinity to get threads assigned to the second CPU.
I'm sorry if I mis-phrased it. I have 1 CPU Xeon E5v3 (12C, 24T, 30M). The CPU is support Hyperthreading. I just tried to use different bat-files. I do not understand how the start line in the bat file should look to get the maximum hash speed.

Don't use affinity with default thread count, it just messes things up.

Try different affinities with 12 threads. The default should be the same as 0xffffff.
Which ones?

12 threads is:
The --cpu-affinity works as a bit mask. The least significant bit is the core 0, the next one is core 1 and so on.
Imagine the cores like:
0 1 2 3 4 5 6 7 8 9 10 11  (extended to 11 to fill a BYTE, 12 bits)
Now the bits for each core are:
1 0 1 0 1 0 1 0 1 0 1  0
This binary value now is encoded with 12th core first, so it becomes =>
010101010101
Converting it to hex values (grouping in fours and converting) becomes => 0101 0101 0101 => 0x555
So i must use --cpu-affinity 0x555 in my case? Or no?
8  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 06, 2017, 02:29:27 PM
Hello! I have Xeon E5-2678 v3 CPU (12C, 24T, 30M L3 Chache) and i create bat file for hexxcoin:
Code:
cpuminer-aes-avx2 -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-affinity 0x555 --cpu-priority 2
I get 1900H/s.
and i create another bat-file:
Code:
cpuminer-aes-avx2 -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-affinity 0x8191 --cpu-priority 2
and i get 2100H/s.

How to choose the correct --cpu-affinity option in my case?


Using "zoin" algo, you don't need to worry about affinities or priorities. Just create as many threads as you want and let Windows (or Linux) decide the affinities by itself. In your case:
Code:
cpuminer-aes-avx2 -a zoin -t <threads> -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-priority 2

Use <threads> as any number from 1 to 24.

(I hope joblo agrees with me on this one)  Roll Eyes
Code:
cpuminer-aes-avx2 -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-priority 2 -t 23
only 970 H/s after 10 min.

Code:
cpuminer-aes-avx2 -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-affinity 4095 --cpu-priority 2
1176 H/s (12-core) after 10 min
9  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.6.1, open source optimized multi-algo CPU miner on: April 06, 2017, 12:46:31 PM
Hello! I have Xeon E5-2678 v3 CPU (12C, 24T, 30M L3 Chache) and i create bat file for hexxcoin:
Code:
cpuminer-aes-avx2 -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-affinity 0x555 --cpu-priority 2
I get 1900H/s.
and i create another bat-file:
Code:
cpuminer-aes-avx2 -a zoin -o stratum+tcp://hexx.suprnova.cc:2876 -u Worker.Rig -p 1979 --cpu-affinity 0x8191 --cpu-priority 2
and i get 2100H/s.

How to choose the correct --cpu-affinity option in my case?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!