Cuckoo Cycle GPU memory requirements

I don’t want it to mine, just to be able to sync and verify.

I understand a single graph in a raspberry pi3 would take a long long time (too little ram, not enough cpu power).

±----------------------------------------------------------------------------+
| NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0 |
|-------------------------------±---------------------±---------------------+
| 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 |
| 32% 61C P0 33W / 200W | 18MiB / 6078MiB | 0% Default |
±------------------------------±---------------------±---------------------+
| 1 GeForce GTX 106… Off | 00000000:04:00.0 Off | N/A |
| 28% 59C P0 33W / 200W | 18MiB / 6078MiB | 0% Default |
±------------------------------±---------------------±---------------------+
| 2 GeForce GTX 106… Off | 00000000:05:00.0 Off | N/A |
| 29% 59C P0 33W / 200W | 18MiB / 6078MiB | 0% Default |
±------------------------------±---------------------±---------------------+
| 3 GeForce GTX 106… Off | 00000000:06:00.0 Off | N/A |
| 24% 60C P0 33W / 200W | 19MiB / 6078MiB | 4% Default |
±------------------------------±---------------------±---------------------+
| 4 GeForce GTX 106… Off | 00000000:07:00.0 Off | N/A |
| 24% 59C P0 35W / 200W | 23MiB / 6078MiB | 0% Default |
±------------------------------±---------------------±---------------------+
| 5 GeForce GTX 106… Off | 00000000:08:00.0 Off | N/A |
| 0% 57C P0 34W / 200W | 73MiB / 6078MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 2486 C ./cuda29 21MiB |
| 1 2489 C ./cuda29 21MiB |
| 2 2487 C ./cuda29 63MiB |
| 3 2485 C ./cuda29 63MiB |
| 4 2488 C ./cuda29 63MiB |
| 5 2490 C ./cuda29 63MiB

Sun Dec 2 11:22:39 2018
±----------------------------------------------------------------------------+
| NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0 |
|-------------------------------±---------------------±---------------------+
| 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 |
| 32% 63C P2 104W / 200W | 4929MiB / 6078MiB | 100% Default |
±------------------------------±---------------------±---------------------+
| 1 GeForce GTX 106… Off | 00000000:04:00.0 Off | N/A |
| 29% 62C P2 36W / 200W | 4929MiB / 6078MiB | 100% Default |
±------------------------------±---------------------±---------------------+
| 2 GeForce GTX 106… Off | 00000000:05:00.0 Off | N/A |
| 0% 59C P2 73W / 200W | 4929MiB / 6078MiB | 100% Default |
±------------------------------±---------------------±---------------------+
| 3 GeForce GTX 106… Off | 00000000:06:00.0 Off | N/A |
| 28% 62C P2 87W / 200W | 4929MiB / 6078MiB | 100% Default |
±------------------------------±---------------------±---------------------+
| 4 GeForce GTX 106… Off | 00000000:07:00.0 Off | N/A |
| 28% 62C P2 95W / 200W | 4929MiB / 6078MiB | 100% Default |
±------------------------------±---------------------±---------------------+
| 5 GeForce GTX 106… Off | 00000000:08:00.0 Off | N/A |
| 29% 61C P0 36W / 200W | 55MiB / 6078MiB | 78% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 3225 C ./cuda29 4919MiB |
| 1 3227 C ./cuda29 53MiB |
| 2 3229 C ./cuda29 63MiB |
| 3 3224 C ./cuda29 4919MiB |
| 4 3226 C ./cuda29 4919MiB |
| 5 3228 C ./cuda29 45MiB

Hello, Mr., my rig runs often with the screenshot reply. In the last second, the GPU load was very low, and the load reached 100% in the next second. Is this a normal working state? I use the -E 1 option, 6*1066. Thanks for any help!

You’re bound to see inefficiencies when the solver is used in the wrong way; see https://forum.aeternity.com/t/expected-1080-ti-performance

Sorry,sir.I read the content of this topic. But I can’t fully understand it. Is it necessary to compile a new miner with the latest released code? Then put it in the epoch directory?

Or just need to modify some configurations?

You need to wait for AE devs to release new code that interfaces to my solver the proper way (preserving the solver context from nonce to nonce).

Can you pinpoint where in the grin repo you have provided the function call to the solver ?

Got it, thank you.Continue to wait until the new release

See https://github.com/mimblewimble/grin-miner/search?q=run_solver&unscoped_q=run_solver

Where do these E options go??? In the epoch.yaml??? Like this???
cuckoo:
miner:
executable: cuda29
extra_args: “-E 0”
instances: 2
edge_bits: 29
hex_encoded_header: true
miner:
edge_bits: 29
executable: mean29-avx2
extra_args: -t 26

Yes, but you can’t mix CPU mining with GPU mining at the moment. So only one set of miner: configuration options is allowed…

1 Like

I should revise that statement in light of https://www.grin-forum.org/t/gpu-mean-memory-reductions

If you apply the same memory reduction technique, implemented for cuckatoo in

to cuckoo/mean.cu then memory use should drop to 2.75 GB.

I will implement that sometime this week.

1 Like

The latest commit implements the memory reductions for cuckoo/mean.cu
Note that the new miner no longer supports option -E 1
The previous version supporting -E 1 remains available as Makefile target cuda_1. Memory requirements are now as follows:

cuda29 -E 0 5.6 GB
cuda29_1 -E 1 4.9 GB
cuda29 -E 2 2.8 GB

Enjoy!

1 Like

Wow - I should pull my 3gb cards off eBay :slight_smile:

Is there any writeup on how.this memspace reduction was possible (a paper or somesuch) ?

1 Like

Is it possible to run it on windows ?
It seems it could be the only miner which can utilize 3gb cards effectively on new coins.

Hey @2c1vl2

Check this spread sheet to see how you can mine on Windows.

Best,
Albena

where do i change these settings? I’m trying to mine with 1050ti on windows and idk where to start please help

Hi @godg90909, I’m afraid as far as I know there is currently no support for mining AE on Windows.