1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 06:18:07 +00:00
Commit Graph

629 Commits

Author SHA1 Message Date
Tanguy Pruvot
f2c7a45e47 nvml: fix pstate api, nvmlDeviceGetPerformanceState works
on linux, 346.72
2015-05-28 07:10:00 +02:00
Tanguy Pruvot
75d721adb9 stratum: check if we have multiple pools to failover 2015-05-28 06:50:21 +02:00
Tanguy Pruvot
e99ff6c15b nvml: clocks cleanup + pstate check (still not supported) 2015-05-28 06:47:23 +02:00
Tanguy Pruvot
cbd7865a79 nvml: check supported graphics clocks...
and use reset application clocks api
2015-05-27 18:15:38 +02:00
Tanguy Pruvot
a08056ed2a linux: reset modified application clocks 2015-05-27 15:50:10 +02:00
Tanguy Pruvot
c9d110e543 linux: allow to set application clocks
Since linux driver 346.72, nvidia-smi allow to query gpu/mem clocks

Tested ok on the Asus Strix 970, but fails on the Gigabyte 750 Ti

system could require first persistence mode and app clock unlock :
    nvidia-smi -pm 1
    nvidia-smi -acp 0

supported values are displayed by
    nvidia-smi -q -d SUPPORTED_CLOCKS

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-05-27 14:34:39 +02:00
Tanguy Pruvot
7500af78eb linux: add build notes for fedora 22 2015-05-27 11:59:28 +02:00
Tanguy Pruvot
5be1521294 Increase max password size to 128 chars (nicehash)
--pass="f0=0;f2=0;f3=2.7;f4=1.9;f5=99;f6=1.8;f7=7.9;f8=0;f9=0.45;f10=0;f11=4.3;f12=3.9"
2015-05-26 15:39:41 +02:00
Tanguy Pruvot
b165cc32e6 v1.6.4 2015-05-26 12:29:03 +02:00
Tanguy Pruvot
2d5755d1ef linux: add missing scrypt jansson includes 2015-05-26 10:56:23 +02:00
Tanguy Pruvot
90c26c8418 multipool: prevent last longpoll http errors on switch 2015-05-26 10:13:57 +02:00
Tanguy Pruvot
692041aa74 multipool: allow failover switch from getwork 2015-05-26 09:51:46 +02:00
Tanguy Pruvot
0618c2abc3 fix for vstudio 2015-05-26 09:51:46 +02:00
Tanguy Pruvot
b2b76f8006 stratum: check stratum_gen_work result
and remove useless purge test...
2015-05-25 07:43:39 +02:00
Tanguy Pruvot
f1a55b3388 algo aliases, fix max-diff param without pool config 2015-05-25 03:17:53 +02:00
Tanguy Pruvot
58a5ccfd6a Prepare the 1.6.4 release... 2015-05-23 05:28:28 +02:00
Tanguy Pruvot
bbd2c704f9 multipool: Squashed commit (v2)
commit a9d3c1ffdb71d2a4985749acba3d424161154ab4
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu May 21 05:39:24 2015 +0200

    multipool: last changes before squashed merge

    and fix net diff on wallets.. was longpoll specific

commit a63f0024f3f1fb52d2c4369518bf87c33a9e16ae
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu May 21 05:02:27 2015 +0200

    update api sample for the protocol 1.5

commit adda14b22edde6485932be56550166478f6f00dd
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu May 21 04:43:25 2015 +0200

    stats: store pool number in scanlog

commit e1a0274b01c29409ce16f9096b9985a35cf78ba7
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu May 21 03:36:15 2015 +0200

    api: switchpool and new pool stats variables (API v1.5)

    add accepted/rej by pool, wait time on conditional, net diff and rate

    also add scantime per pool config option and do some pool cleanup..

commit 1a30450ad2a5e068983531b9d2a96629b970c1e8
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed May 20 06:39:09 2015 +0200

    prevent concurrent pool switching

    and limit condtionnal wait messages to the first thread/device

commit e3922c7a331a3ad2730bc83082fcd6b2547542f5
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed May 20 05:39:45 2015 +0200

    add some pool rotate options, like pool time-limit

    update sample pools.conf for time rotation

commit 312bd905412d49fd5a9f9e7ff2bc72b23edf38ed
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed May 20 04:31:19 2015 +0200

    do not try to restart threads from threads

    Start inconditionally the stratum and longpoll threads,
    these threads are just waiting a tq_push() if unused...

    so add some checks to know if vars are set for the right pool

commit d4a9428fefdd9e9d70c3c8231f10961e7cd41760
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed May 20 01:06:31 2015 +0200

    pools: add name and removed attributes

    also increase max defined pools to 8

    to be tested on windows..

commit d840d683ecb2cc4767f0a0612b8359c52d4bad29
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue May 19 22:33:11 2015 +0200

    parse json config file pools array

commit d6c29b1f7f6b786c56e1f0cb8a90305f06cc7aec
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue May 19 03:29:30 2015 +0200

    multi-pools: prepare storage/switch of credentials

    for the moment:
    - allow the storage of multiple -o params (and user/pass)
    - allow a failover pool on connection failed
    - switch to the next pool with the "seturl" api remote command
    - longpoll to stratum switch (reverse to check...)

    todo: mix stratum/getwork, new api commands, json config...

commit 2d6b3fddf6631d7df1ac6ca74eee91c33a3c09ee
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Fri May 22 08:26:40 2015 +0200

    multipool: increase stability, but not 100% perfect

    several problems fixed:
    - submit to the pool set in work (source pool)
    - longpoll curl timeout could be too high and could lock the switch
    - mutexes cant be copied on windows (stratum global var to fully remove later)

    I linked the -T timeout option to curl and tried to remove all fixed timeout values

commit 6fd935c369cf33949dab98c8b09b2ca8cab3e7ea
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Fri May 22 11:23:07 2015 +0200

    stratum: remove last rpc_ vars in stratum thread

commit ee9c821525be303282e5dab512ffd2ae81ad524f
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat May 23 03:53:50 2015 +0200

    stratum: do not alloc empty merkle tree

commit 69852a2874bd18c4ed1daa9180a10d12976424dc
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat May 23 04:25:12 2015 +0200

    stratum: properly free jobs on disconnect

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-05-23 05:28:12 +02:00
Tanguy Pruvot
298573b45d Drop Whirlpool and whirpoolx algos, no more used...
Vanillacoin is now PoS only
2015-05-19 01:05:38 +02:00
Tanguy Pruvot
7456acc01c netdiff: quark is specific too, qubit is normal 2015-05-19 00:36:37 +02:00
Tanguy Pruvot
a2b6488c01 Compute and display network diff (nbits) if max-diff
was only made on the wallets with getmininginfo

Todo: double check for all algos/pools

tested ok on x11, lyra2, skein, skein2, zr5 stratum/longpoll

Scrypt-Jane pool net diff seems incorrect, disabled
Neoscrypt could be different also (untested, disabled)...
2015-05-18 08:17:45 +02:00
Tanguy Pruvot
87a521ac14 some clean up 2015-05-18 05:41:54 +02:00
Tanguy Pruvot
d7abd01bf4 scrypt(titan): small kernel code optimisations 2015-05-18 00:12:55 +02:00
Tanguy Pruvot
b1bddb54d6 scrypt: reduce cpu usage (flush/sync)
and do some minimal keccak changes (for jane)
2015-05-18 00:11:48 +02:00
Tanguy Pruvot
9aace79718 scrypt: clean some defines
and prevent error reports on Ctrl+C
2015-05-17 19:45:00 +02:00
Tanguy Pruvot
d9b0312897 x64: fix some size_t warnings 2015-05-17 04:56:42 +02:00
Tanguy Pruvot
c418eff4e9 api: auto bind to first available port
when default port is used, else keep trying for one minute

This allow to auto-detect processes iterating 4068,69,70...
2015-05-16 04:56:01 +02:00
Tanguy Pruvot
374cd50f00 start 1.6.4 work... 2015-05-15 22:11:37 +02:00
Tanguy Pruvot
809cd3dc42 Allow to retrieve benchmark results with a time-limit
sample command line :
ccminer -a x11 -d 0 --benchmark --time-limit 30 2>result.txt
2015-05-15 22:09:28 +02:00
Tanguy Pruvot
4daaf1908d some cleanup... 2015-05-15 21:45:43 +02:00
Tanguy Pruvot
0d89236fd4 windows: do not trap CTRL_CLOSE event 2015-05-15 01:20:51 +02:00
Tanguy Pruvot
0ab02df9e2 fix some warnings... seen in vstudio... 2015-05-15 00:15:34 +02:00
Tanguy Pruvot
b4ab64e5f3 prepare the 1.6.3 release 2015-05-14 23:42:11 +02:00
Tanguy Pruvot
76f8fbabae stratum: prevent gpu scans before a job is retrieved
and remove loopcnt var, can be done with firstwork_time
2015-05-14 23:36:25 +02:00
Tanguy Pruvot
51abf151ee internal opt_extranonce param, not linked to cmdline... 2015-05-14 21:22:00 +02:00
Tanguy Pruvot
477d3bfd7c summer is close, start conditional mining
add params --max-temp 75, --max-rate 112.5M and --max-diff 5.0 (best for solo mining)

Note: not all the wallets are reporting the network mining difficulty and hashrate
2015-05-14 20:41:42 +02:00
Tanguy Pruvot
051ba521be skein2: minimal host changes 2015-05-14 19:38:03 +02:00
Tanguy Pruvot
fbafe814dd update README 2015-05-12 21:41:14 +02:00
Tanguy Pruvot
4c3892f268 Merged skeincoin algo for SM5+ devices
Should give same or better than SP and klaus versions

Keep old code for older devices and skein2 compat

Linux perf: 750Ti 78MH/s and GTX 970 260MH/s

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-05-12 21:32:33 +02:00
Tanguy Pruvot
3955eb7a1d windows: implement background option
was only for linux, so reduce usage difference

beware, no way to turn it back to visible yet...

to prevent hiding your console, you can use :
start ccminer -B -c ccminer.conf
2015-05-12 18:54:35 +02:00
Tanguy Pruvot
7bf256c81c cuda_helper: define UINT32_MAX if not defined
seems not defined on slackware...
2015-05-12 18:05:09 +02:00
Tanguy Pruvot
2f541065fb cuda_helper: rename correctly hiword/loword functions 2015-05-12 17:13:58 +02:00
Tanguy Pruvot
b35a6742fe cuda_helper: properly ifdef for vstudio c++ compat 2015-05-12 05:33:57 +02:00
Tanguy Pruvot
4b4564ff93 vstudio: move root algos in CUDA filter 2015-05-12 04:49:53 +02:00
Tanguy Pruvot
afe57f8341 rename skein2 to c++, no cuda kernel code
and some other changes...
2015-05-12 04:41:11 +02:00
Tanguy Pruvot
ff27ccb80e stats: simplify the storage filter
the gpu id key filter was useless, use thread ids...
2015-05-12 02:40:50 +02:00
Tanguy Pruvot
7c769211a8 intensity: fix value on multi-threaded devices
Set the value for all threads when using -i 20 -d 0,0,0 ...
2015-05-12 02:40:50 +02:00
Tanguy Pruvot
12fd78e2be config: remove AVX/2 entries, not for us 2015-05-12 02:40:50 +02:00
Tanguy Pruvot
be478bd725 groestl: tabs to space + arch check 2015-05-12 02:40:50 +02:00
Tanguy Pruvot
74e94fa1ec myriad/groestl: some more cleanup + tabs... 2015-05-10 20:20:50 +02:00
Tanguy Pruvot
03c3b7d341 Various algos cleanup + lyra2 sec nonce fix 2015-05-10 18:49:22 +02:00