Commit Graph
23 Commits
Author SHA1 Message Date
Tanguy Pruvot adda14b22e stats: store pool number in scanlog 2015-05-21 04:46:06 +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 d9b0312897 x64: fix some size_t warnings 2015-05-17 04:56:42 +02:00
Tanguy Pruvot 0ab02df9e2 fix some warnings... seen in vstudio... 2015-05-15 00:15:34 +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 1b65cd05cc heavy: add error checks, fix strict aliasing and linux
The core problem was the cuda hefty Thread per block set to high
but took me several hours to find that...

btw... +25% in heavy 12500 with 256 threads per block... vs 128 & 512
if max reg count is set to 80...
2014-11-27 09:14:59 +01:00
Tanguy Pruvot 6ae28162db various extern cleanup + api history uids and gpu SM
uids could be useful to create graphes from history data

Note: please do a clean build after this commit (changes in miner.h)
2014-11-26 11:55:42 +01:00
Tanguy Pruvot dc5d1b112d api: add scanlog command to monitor scan ranges
will be used for external debugging...
2014-11-24 20:26:41 +01:00
Tanguy Pruvot 1fcdeab53b stats: rework stats map key to fix sort order
to fix histo api command without param
2014-11-23 08:07:21 +01:00
Tanguy Pruvot 73f22b237a Prepare trap of hardware/mem failures 2014-11-20 18:44:25 +01:00
Tanguy Pruvot b24b65a9c9 api: add gpu pci bus id, unified id + bloc height 2014-11-18 16:25:44 +01:00
Tanguy Pruvot b4ef7b981f scan range: add boundary check, cant be > UINT32_MAX 2014-11-17 16:51:36 +01:00
Tanguy Pruvot 047e79a9fc api: add meminfo query to debug mem storages 2014-11-17 16:17:53 +01:00
Tanguy Pruvot 438308b3a2 Rework benchmark mode and min/max range
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...
2014-11-16 23:28:18 +01:00
Tanguy Pruvot 3652c708b9 api: add histo command and difficulty
enhance multi-gpu stats and fix nvapi indexes

change syslog prefix to ccminer (cpuminer remains)

api 1.1 modified - not officially released yet
2014-11-14 19:09:48 +01:00
Tanguy Pruvot dedcd06207 stats: fix typo for multigpu 2014-11-13 19:50:58 +01:00
Tanguy Pruvot e40a7a720c ccminer: rename main file and switch to C++
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!
2014-11-13 16:11:35 +01:00
Tanguy Pruvot e1c84da07f stats: fix multi gpu value + add average parameter (-N) 2014-11-12 08:03:40 +01:00
Tanguy Pruvot 99bbe380fd stats: reduce the average samples count to 20 2014-11-11 18:29:21 +01:00
Tanguy Pruvot 51b4f32420 stats: ignore erroneous data 2014-11-11 17:59:45 +01:00
Tanguy Pruvot 64cfe358cb stats: make them work also in vstudio 2014-11-11 17:44:31 +01:00
Tanguy Pruvot ec709af62f Store and display average hashrate (benchmark + on share)
Displayed data is the average of the last 50 scans in the 5 last minutes

Also move cuda common functions in a new file (cuda.cu)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-11 16:43:23 +01:00