Closed 1178209138 closed 5 years ago
说明你没挖到矿呀,是正常的,等等看,现在难度已经上去了。
配置如下,同样cycles found 一直是0
ckb init --chain testnet
data_dir = "data"
[chain]
spec = { bundled = "specs/testnet.toml" }
[logger] filter = "info" color = true log_to_file = true log_to_stdout = true
[sentry]
dsn = "https://48c6a88d92e246478e2d53b5917a887c@sentry.io/1422795"
[miner] rpc_url = "http://127.0.0.1:8114/" block_on_submit = true
poll_interval = 1000
gpus = [0]
cpus = 2
说明你没挖到矿呀,是正常的,等等看,现在难度已经上去了。
不是没挖到,cycles found是会一直增加的,而它等于0表示程序未正常运行,挖到了是显示如seal found:1.
我编译完后, 配置为:
gpus = [1]
cpus = 1
运行后是这样的:
Cuckoo-Worker-GPU-1 ⠁ [00:00:00]
Cuckoo-Worker-CPU-0 ⠠ [00:01:36] gps: 1163.397 / seals found: 0
似乎 GPU 并未挖
我编译完后, 配置为:
gpus = [1] cpus = 1
运行后是这样的:
Cuckoo-Worker-GPU-1 ⠁ [00:00:00] Cuckoo-Worker-CPU-0 ⠠ [00:01:36] gps: 1163.397 / seals found: 0
似乎 GPU 并未挖
如果只有 1 个 GPU,应该是 gpus = [0]
结果是一样的~
ld@solana:~/ckb-cuckoo-miner$ nvidia-smi
Tue Aug 13 16:32:57 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.74 Driver Version: 418.74 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| 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 RTX 208... Off | 00000000:09:00.0 Off | N/A |
| 30% 53C P0 54W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce RTX 208... Off | 00000000:41:00.0 Off | N/A |
| 35% 51C P0 1W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
ld@solana:~/ckb-cuckoo-miner$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105
运行后 的确有用到显卡:
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 103647 C ./ckb-miner 2209MiB |
+-----------------------------------------------------------------------------+
但进度条为啥没反应呢~
看了下 应该是执行了 c_solve_gpu
函数后就再也没返回了~
看了下 应该是执行了
c_solve_gpu
函数后就再也没返回了~
有进展了么,我跟你一样的现象,我是centos7
@songmeixu 可能我测试的显卡太新的 用老一点的可以
There is a bug on Nvidia 20 series GPUs, we are working on it.
Here the "cycles found" means "seals found", different with "ckb miner".
Ths
显示gps:15000(左右) /cycles found : 0。
ckb-miner.toml设置:
the gpu you want to use runing miner, can be 0,1,2,3,..
only work if a gpu miner was built in.
gpus = [1]
how many cpu miners you want to run
cpus = 2