Tanguy Pruvot
f9bba0ff1a
lyra2: small changes and code cleanup
2014-12-07 09:04:03 +01:00
Tanguy Pruvot
ef8a73d6aa
keccak: not compatible with second nonces (was broken)
...
Use djm34 new uint2 method to get a +40% boost (115 to 153MH/s)
2014-12-06 13:55:13 +01:00
Tanguy Pruvot
78f2dd6ffd
lyra2: reduce default intensity on windows
2014-12-06 13:03:25 +01:00
Tanguy Pruvot
5db46b74b5
lyra2: fix cpu hash + validation
2014-12-06 11:51:25 +01:00
Tanguy Pruvot
c5b349e079
Add Lyra2 algo, based on Vertcoin published code
...
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!
2014-12-06 11:28:26 +01:00
Tanguy Pruvot
6c7fce187b
x11: use KlausT optimisation (+20 KHs)
...
But use a define in AES to use or not device initial memcpy
I already tried to use everywhere direct device constants
and its not faster for big arrays (difference is small)
also change launch bounds to reduce spills (72 regs)
to check on windows too, could improve the perf... or not
2014-12-06 04:14:36 +01:00
Tanguy Pruvot
c3bdb623e8
Check and submit multiple nonces in one loop
...
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>
2014-12-05 15:53:40 +00:00
Tanguy Pruvot
f387898ead
Prepare multiple nonces support in one loop (if found)
...
Tested on x11 which find sometimes 3 nonces in one call,
actually they are ignored because only the biggest was kept...
This commit doesnt fix that, but will allow to enhance shares rate later...
2014-12-05 10:16:06 +01:00
Tanguy Pruvot
a186a4df8b
websocket: enhance histo sample for 2 GPUs
2014-12-03 09:53:23 +01:00
Tanguy Pruvot
543de0a73c
api: add support for websocket calls
...
Allow to directly get api data in HTML5
Tested on Chrome... IE>=10 required, not tested
IE11 seems buggy on connection close... todo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-12-03 08:35:27 +01:00
Tanguy Pruvot
2dcf983290
solo: remove remains of stale debug logs
2014-12-01 06:05:03 +01:00
Tanguy Pruvot
56ed0fed05
blake: remove hashharder workaround
2014-12-01 05:58:01 +01:00
Tanguy Pruvot
118a6be361
checkhash: simplify the common function
...
use klaus trivial function, the old code has always been a bit weird..
split cuda_check_cpu_hash_64 in two functions, keep old for branched stuff
2014-12-01 00:20:40 +01:00
KlausT
cc9df2d361
use ROTL32 in x14_shabal
...
no impacts on perf but easier to read
2014-11-30 20:31:19 +01:00
Tanguy Pruvot
56170bb32e
nvml: cleanup and check api restrictions
...
there was too much wrap_ prefixes, internal cleanup
SetAPIRestriction reports success but we can not query/set app clocks
2014-11-29 09:13:00 +01:00
Tanguy Pruvot
c218c3f514
quark/anime: +100KH, bmw tpb was not correct
...
This small change also enhance a bit x11..17 algos
2014-11-28 22:18:48 +01:00
Tanguy Pruvot
8ad180cc70
various small changes
...
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
2014-11-28 20:57:35 +01:00
Tanguy Pruvot
f524917bef
update readme and openssl (1.0.1i)
2014-11-27 12:01:11 +01: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
1032f191bf
api: update sample php ui with pool
...
and report pstate in hwinfo only
2014-11-27 00:48:40 +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
cb3f893a85
nvml: fully disable it on windows
...
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
2014-11-26 09:57:58 +01:00
Tanguy Pruvot
d3258d8bcd
syslog: allow to set a custom prefix
...
will allow kopiemtu livecd internal monitor to set it to cpuminer
2014-11-25 22:37:38 +01:00
Tanguy Pruvot
9b1ff1280e
Allow intermediate intensity (decimals)
...
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
2014-11-25 19:57:56 +01:00
Tanguy Pruvot
9a97f0cf6e
api: fix size_t printf exception in vstudio
2014-11-25 18:24:01 +01:00
Tanguy Pruvot
7e15f31706
api: pool query (uptime, ping, discon., url and user)
2014-11-25 17:39:02 +01:00
Tanguy Pruvot
71f9003901
x13: use tsiv hamsi implementation (+70KH)
2014-11-24 23:01:41 +01:00
Tanguy Pruvot
3e8457d76c
api: add device uuid (nvml), and OS in hwinfo
...
move nvdriver to sys infos (unique on system)
prepare pool query
2014-11-24 21:20:26 +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
1dfbe6dfb5
stratum: yaamp answer to extranonce subscribe lately
...
Fix for the extranonce feature, can also make the miner more stable
2014-11-24 20:14:15 +01:00
Tanguy Pruvot
484bbc4b15
api: restore bios, can be useful to identify
...
We have no way yet to identify a MSI 750 from a Gigabyte one...
2014-11-24 14:32:34 +01:00
Tanguy Pruvot
aec310d4a7
nvml: grab nvidia driver version string too
2014-11-24 00:27:49 +01:00
Tanguy Pruvot
d0ad1017e9
nvapi: get vid/pid like nvml + driver version
...
remove vbios revision, goal was to find the vendor...
2014-11-24 00:08:14 +01:00
Tanguy Pruvot
a33058b554
vstudio: reduce diff, try Klaus options
2014-11-23 22:11:46 +01:00
Tanguy Pruvot
858c3d9370
jansson: use config.h new name (like v2.7)
...
to prevent config.h conflicts
2014-11-23 22:11:46 +01:00
Tanguy Pruvot
2300326b7a
jansson: fix version header
2014-11-23 21:20:16 +01:00
Tanguy Pruvot
d0316220dd
simd512: restore full maxwell power (typo)
2014-11-23 21:19:35 +01:00
KlausT
1fcde52afd
small groestl optimizations
2014-11-23 20:46:55 +01:00
KlausT
ac641a0761
delete compat/thrust
...
why was it even included here in the first place?
It's part of the CUDA Toolkit
2014-11-23 19:13:32 +01:00
Tanguy Pruvot
c88750332c
simd512: restore SM3/3.5 perfs
...
Simple change which affect all algos based on SIMD512
fresh, qubit, s3, x11 to x17...
2014-11-23 19:07:06 +01:00
Tanguy Pruvot
f42bb85785
nvml: vid/pid was reversed
2014-11-23 11:17:52 +01:00
Tanguy Pruvot
e2ac7a2a75
api: add nvapi and nvml ids for C# tools
2014-11-23 11:12:58 +01:00
Tanguy Pruvot
aa74aa33e2
api: fix hwinfo gpus
2014-11-23 10:50:25 +01:00
Tanguy Pruvot
84d7d926c9
nvml: fix hwinfo gpu vendor/product id
...
subsys ids are wrong... so use generic one
2014-11-23 10:45:32 +01:00
Tanguy Pruvot
d7c13b0611
stratum: handle standard method if extranonce is ignored
...
seen on yamp.com pools
2014-11-23 09:22:25 +01:00
Tanguy Pruvot
6699b8a71f
nvml: fix windows build
2014-11-23 08:39:55 +01:00
Tanguy Pruvot
9a8b7ff0d7
api: add cpu temp/freq (linux)
2014-11-23 08:26:38 +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
7bb86defcc
nvml: clean up and fix retorted bus id bug in api
2014-11-23 07:33:36 +01:00
Tanguy Pruvot
94c9945fe6
cubeluffa: Fix indent and add some static prefixes
...
use git "show -w <commithash>" to see changes
Duplicated functions in merged Cube+Luffa could be cross linked without
2014-11-23 07:17:20 +01:00