when using multiple cpu threads per gpu, use the T prefix, ex:
[2015-10-11 09:52:49] GPU #0: app clocks set to P0 (3600/1228)
vs
[2015-10-11 09:52:51] GPU T0: MSI GTX 960, 5953.35 kH/s
Only thr_id is required, the function take care of the dev id
remains my original lyra2 implementation to fix... (cuda_lyra2.cu)
I guess some kind of memory overflow force the driver to allocate
memory... but was unable to free it without device reset.
which display submitted block and net difficulty and is able
to detect shares above net diff (solved blocs)
Note: only made on lyra2v2 and zr5 algos
TODO: compute the found diff on all algos...
require changes in all scan hash "kernel" function parameters
to be continued...
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)...