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>
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>
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)...
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
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
also tested batchsize and texturecache but seems useless,
they can be tested/tuned directly in kernel variants...
Note: -i cuduminer param is already used in ccminer (--intensity)
This enhances the hashrate when mining together with a cpu miner,
and doesn't slow down the machine, ccminer doesn't use a lot of cpu.
Note: this value doesn't require Admin rights on windows, unlike highest ones.
only allowed if --api-remote parameter or config key is set
and fix possible problem with urls containing user:password@
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
priority param value is from 0 (default idle like before) to 5 (highest)
affinity could be enhanced to set multiple cores... todo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
rejects in solo mode often means "generated block is stale" (see Debug.log)
Most of current wallets only reports "rejected" reason without explanations.
So prevent this common error,
you can turn off this gbt feature (height check) with --no-gbt option.
seems to resolve solo mining lock on share.
export also computed solo work diff in api (not perfect)
In high rate algos, throughput should be unsigned...
This fixes keccak, blake and doom problems
And change terminal color of debug lines, to be selectable in putty,
color code is not supported in windows but selection is ok there.
Seems to be djm34 work, i recognize the code style ;)
Code was cleaned/indented and adapted to my fork...
Only usable on the test pool until 16 december 2014!
Added to most algos, checkhash function scans a big range
and can find multiple nonces at once if the difficulty is low.
Stop ignoring them, submit second one if found...
Clean the draft code for rc=2 implemented for blake and pentablake
btw... fix the reduced displayed hashrate when a nonce is found...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
heavy: reduce by 256 threads default intensity to all -i 20
cuda: put static thread init bools outside the code (made once)
api: fix nvml header to build without
The DLL exists for x64 targets but seems not loadable
The nvml.cpp code was wrote to support both NVAPI and NVML on windows
because both apis have unique "features". like Fan RPM vs Fan Percent
Sample with -i 18.5
Adding 131072 threads to intensity 18, 393216 cuda threads
And with -i 19.5
Adding 262144 threads to intensity 19, 786432 cuda threads
Was maybe my fault, but the benchmark mode was
always recomputing from nonce 0.
Also fix blake if -d 1 is used (one thread but second gpu)
stats: do not use thread id as key, prefer gpu id...
nvml.dll doesnt exists for 32bit binaries! use nvapi to get infos
seems to have more/different features than NVML... like pstate etc..
This is nvapi r343 : https://developer.nvidia.com/nvapi
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
There was a different behavior on linux and visual studio
That was making it hard to link functions correctly
That remove some ifdef / extern "C" requirements
note about x86 releases, x86 nvml.dll is not installed on Windows x64!