Bitcoin Forum
September 24, 2024, 12:19:56 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] dstm's ZCash / Equihash Nvidia Miner v0.6.1 (Linux / Windows) on: May 23, 2018, 06:07:20 PM
error in linux in parametr --dev

Code:
nvidia-smi 
Wed May 23 14:05:25 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.26                 Driver Version: 396.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:01:00.0 Off |                  N/A |
| 70%   58C    P2    96W /  96W |    496MiB /  3018MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:02:00.0 Off |                  N/A |
| 70%   57C    P2    94W /  96W |    502MiB /  6078MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 70%   32C    P2    98W /  96W |    496MiB /  3019MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 106...  Off  | 00000000:0A:00.0 Off |                  N/A |
| 70%   59C    P2    96W /  96W |    502MiB /  6078MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    0     18757      C   /opt/mining/calcprofit/miner/zm/zm           479MiB |
|    1       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    1     18735      C   /opt/mining/calcprofit/miner/zm/zm           485MiB |
|    2       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    2     18746      C   /opt/mining/calcprofit/miner/zm/zm           479MiB |
|    3       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    3     18724      C   /opt/mining/calcprofit/miner/zm/zm           485MiB |
+-----------------------------------------------------------------------------+

ps aux | grep zm
root     18724  3.4  1.5 39197088 122900 pts/3 Sl   14:05   0:01 /opt/mining/calcprofit/miner/zm/zm --dev 1 --server equihash.eu.nicehash.com --port 3357
root     18735  3.6  1.5 39197088 122796 pts/3 Sl   14:05   0:01 /opt/mining/calcprofit/miner/zm/zm --dev 0 --server equihash.eu.nicehash.com --port 3357
root     18746  3.2  1.5 39197088 122880 pts/3 Sl   14:05   0:01 /opt/mining/calcprofit/miner/zm/zm --dev 3 --server equihash.eu.nicehash.com --port 3357
root     18757  3.0  1.5 39197088 123084 pts/3 Sl   14:05   0:01 /opt/mining/calcprofit/miner/zm/zm --dev 2 --server equihash.eu.nicehash.com --port 3357

me kill process 18757  (kill -9 18757  ) - it is DEVICE=2
after check nvidia-smi:
Code:
nvidia-smi 
Wed May 23 14:08:34 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.26                 Driver Version: 396.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:01:00.0 Off |                  N/A |
| 70%   31C    P8     8W /  96W |     17MiB /  3018MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 106...  Off  | 00000000:02:00.0 Off |                  N/A |
| 70%   57C    P2    96W /  96W |    502MiB /  6078MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 106...  Off  | 00000000:04:00.0 Off |                  N/A |
| 70%   46C    P2    96W /  96W |    496MiB /  3019MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 106...  Off  | 00000000:0A:00.0 Off |                  N/A |
| 70%   61C    P2    97W /  96W |    502MiB /  6078MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    1       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    1     18735      C   /opt/mining/calcprofit/miner/zm/zm           485MiB |
|    2       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    2     18746      C   /opt/mining/calcprofit/miner/zm/zm           479MiB |
|    3       935      G   /usr/lib/xorg/Xorg                             5MiB |
|    3     18724      C   /opt/mining/calcprofit/miner/zm/zm           485MiB |
+-----------------------------------------------------------------------------+

root     18724  3.0  1.5 39197088 122900 pts/3 Sl   14:05   0:03 /opt/mining/calcprofit/miner/zm/zm --dev 1 --server equihash.eu.nicehash.com --port 3357
root     18735  3.2  1.5 39197088 122796 pts/3 Sl   14:05   0:04 /opt/mining/calcprofit/miner/zm/zm --dev 0 --server equihash.eu.nicehash.com --port 3357
root     18746  3.0  1.5 39197088 122880 pts/3 Sl   14:05   0:03 /opt/mining/calcprofit/miner/zm/zm --dev 3 --server equihash.eu.nicehash.com --port 3357

why GPU 0 is free??  and GPU 2 is working ?


Killing process 18757 ends up killing the zm process running on GPU 0 (being the process using it as reported by nivida-smi).
--dev option is using CUDA device ids that are not the same as the ones reported by nvidia-smi.

Hence, in your case:
* GPU 0 is CUDA dev 2.
* GPU 1 is CUDA dev 0.
* GPU 2 is CUDA dev 3.
* GPU 3 is CUDA dev 1.
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] dstm's ZCash / Equihash Nvidia Miner v0.6.1 (Linux / Windows) on: May 16, 2018, 07:31:15 PM
For people having performance issues on 0.6.1/linux.
Is there a significant CPU-load difference between 0.6 / 0.6.1 on your systems?

Hi DSTM,

I noticed quite a difference in CPU usage between 0.6.0 and 0.6.1 running on vanilla Debian 9.4 (Stretch).
Here it goes: https://imgur.com/a/lNtcqlC

I measured the CPU usages with top over a period of time (around 1 minute or so) and took the average.
The behaviour of 0.6.1 running on my miner is that the last GPU (GPU4) is running at 75% of its capacity.
This rig has 4 GTX 1070 and 1 GTX 1080.  One of the 1070s is GPU4.
That's quite odd (considering the high CPU usage of kworker and some IRQs as well with 0.6.1).
GPU Overclock, memory clock, power limit have been kept identical in the two runs (0.6.0 vs 0.6.1).
The only actual difference is zm executable version.

Hope it helps.  Meanwhile, I reverted to 0.6.0 that uses less CPU and provides a higher combined hashrate on my rig.

Thanks for your good work! Cheers!
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!