Cuckoo miner update - should address Nvidia 2080-series

NOTE: This is still work in progress, it has only went through limited amounts of testing. The official release of this will be in v1.1.0 planned for next Thursday (December 13th)

The branch cleanup_cuckoo_v2 contains the correct version. The following steps can be taken to build and replace the cuda29 miner. (Of course change the paths to match your local system)

epoch@ip-172-31-12-21:~/hans$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:{PATH}} epoch@ip-172-31-12-21:~/hans git clone -b cleanup_cuckoo_v2 GitHub - aeternity/cuckoo: Please open Aeternity-specific issues in https://github.com/aeternity/aeternity/issues . For Cuckoo-specific issues and pull requests, the most effective way is opening those in upstream repository https://github.com/tromp/cuckoo
Cloning into ‘cuckoo’…
remote: Enumerating objects: 105, done.
remote: Counting objects: 100% (105/105), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 3862 (delta 66), reused 72 (delta 44), pack-reused 3757
Receiving objects: 100% (3862/3862), 12.73 MiB | 11.52 MiB/s, done.
Resolving deltas: 100% (2646/2646), done.
Checking connectivity… done.
epoch@ip-172-31-12-21:~/hans$ cd cuckoo
epoch@ip-172-31-12-21:~/hans/cuckoo$ make cuda29
mkdir -p bin
(cd src/cuckoo; nvcc -std=c++11 -o cuda29 -DEDGEBITS=29 -arch sm_35 mean.cu …/crypto/blake2b-ref.c)
cp src/cuckoo/cuda29 bin
epoch@ip-172-31-12-21:~/hans/cuckoo$ cp bin/cuda29 ~/node/lib/aecuckoo-0.1.0/priv/bin
epoch@ip-172-31-12-21:~/hans/cuckoo$

Update

Monday, Dec 10th, 9:30 CET
Lifted the branch cleanup_cuckoo_v2 on top of Tromp’s latest updates. I.e. it now supports the -c flag to reduce CPU load.

2 Likes

Hey Hanssv, can you download and compile the new version of miner with this address now? Replace the old cuda29? Is its efficiency higher than the old cuda29? I don’t have 2080, is there a need to replace the new miner?

Yes, this is available right now.

No, the changes are mainly the bug-fixes for 2080, and an FFI-interface for the miner. It should not be anymore efficient than the version that is in v1.0.1

OK。Wish you all the best in your work 。

Updated - Monday, Dec 10th, 9:30 CET

1 Like

https://github.com/Zwilla/BitCaine5_aeternity_miner/tree/master/src/cuckoo

test the optimised version if you want

https://github.com/Zwilla/BitCaine5_aeternity_miner/commit/01429ccedc93fc5c55e978398f69eaab1409115d