nicehash / excavator

NiceHash's proprietary low-level CUDA miner
https://www.nicehash.com
53 stars 19 forks source link

Could you please provide default_command_file.json file for daggerhashimoto_pascal and daggerhashimoto_decred (excavator 1.5.10 alpha) #272

Closed dkozlov closed 6 years ago

dkozlov commented 6 years ago

Hello, could you please provide default_command_file.json file for daggerhashimoto_pascal and daggerhashimoto_decred (excavator 1.5.10 alpha)?

=========================== www.nicehash.com =========================
           Excavator v1.5.10a GPU Miner for NiceHash.
           Copyright (C) 2018 NiceHash. All rights reserved.
=========================== www.nicehash.com =========================

Build time: 2018-07-26 09:56:47+02:00
Build number: 4135517966
[08:25:26][0x00007f0906268740][info] Log started
[08:25:28][0x00007f0906268740][info] core | Found CUDA device: GeForce GTX 1080 Ti
[08:25:29][0x00007f0906268740][info] api | Listening on 127.0.0.1:3456
[08:25:29][0x00007f0906268740][info] core | Initialized!
[08:25:31][0x00007f08df3e5700][info] wrkr0-0 | Algorithm: CUDA-daggerhashimoto_pascal parameters: R_0:R_1=4:7,P=0
[08:25:31][0x00007f08df3e5700][info] wrkr0-0 | Mining with high intensity
[08:25:44][0x00007f0906268740][info] Connected to nhmp.in.nicehash.com:3200
[08:25:45][0x00007f0901d92700][info] nhmp | Subscribed
[08:25:49][0x00007f0906268740][info] nhmp | Disconnected
[08:25:49][0x00007f0906268740][warning] nhmp | read: End of file (2)

my config file:

        {"time":0,"commands":[
                {"id":1,"method":"subscribe","params":["nhmp.in.nicehash.com:3200","myaddress.x"]}
        ]},
        {"time":1,"commands":[
        {"id":1,"method":"algorithm.add","params":["daggerhashimoto_pascal"]}
    ]},
        {"time":2,"commands":[
                {"id":1,"method":"worker.add","params":["daggerhashimoto_pascal","0"]}
        ]},
        {"time":10,"commands":[
                {"id":1,"method":"worker.reset","params":["0"]},
                {"id":1,"method":"worker.reset","params":["1"]},
                {"id":1,"method":"worker.reset","params":["2"]},
                {"id":1,"method":"worker.reset","params":["3"]},
                {"id":1,"method":"worker.reset","params":["4"]}
        ]},
        {"time":15,"loop":15,"commands":[
                {"id":1,"method":"algorithm.print.speeds","params":[]}
        ]},
        {"event":"on_quit","commands":[
                {"id":1,"method":"device.set.tdp","params":["0","100"]},
                {"id":1,"method":"device.set.core_delta","params":["0","0"]},
                {"id":1,"method":"device.set.memory_delta","params":["0","0"]},
                {"id":1,"method":"device.set.tdp","params":["1","100"]},
                {"id":1,"method":"device.set.core_delta","params":["1","0"]},
                {"id":1,"method":"device.set.memory_delta","params":["1","0"]},
                {"id":1,"method":"device.set.tdp","params":["2","100"]},
                {"id":1,"method":"device.set.core_delta","params":["2","0"]},
                {"id":1,"method":"device.set.memory_delta","params":["2","0"]},
                {"id":1,"method":"device.set.tdp","params":["3","100"]},
                {"id":1,"method":"device.set.core_delta","params":["3","0"]},
                {"id":1,"method":"device.set.memory_delta","params":["3","0"]},
                {"id":1,"method":"device.set.tdp","params":["4","100"]},
                {"id":1,"method":"device.set.core_delta","params":["4","0"]},
                {"id":1,"method":"device.set.memory_delta","params":["4","0"]}
        ]}
]
t4nja commented 6 years ago

@dkozlov How many GPUs do you have?

dkozlov commented 6 years ago

@dropky Single GPU, but is it really important?

t4nja commented 6 years ago

Yes, when using API you have to assign worker for each device (that's why it matters how many GPUs do you have).

Here is the config file example for dual mining. You have to call algorithm.add method for each algorithm separately. For dual mining with decred, just replace pascal with decred in algorithm.add and worker.add methods.

[
    {"time":0,"commands":[
     {"id":1,"method":"subscribe","params":["nhmp.in.nicehash.com:3200","btc"]}
    ]},
    {"time":2,"commands":[
         {"id":1,"method":"algorithm.add","params":["daggerhashimoto"]},
         {"id":1,"method":"algorithm.add","params":["pascal"]}
    ]},
    {"time":3,"commands":[
     {"id":1,"method":"worker.add","params":["daggerhashimoto_pascal","0"]}
    ]},
    {"time":10,"loop":10,"commands":[
        {"id":1,"method":"worker.print.speed","params":["0"]},
        {"id":1,"method":"algorithm.print.speeds","params":[]}
    ]}
]

Some additional comments on your config file: Since you only have one GPU, you should remove worker.reset calls from 1 to 4. Also, on quit you're resetting GPU settings, which is not needed, since you're not changing any at the beginning.