Commit Graph

15 Commits

Author SHA1 Message Date
XMRig
9a120b979b Added GpuWorker class. 2020-12-04 22:25:28 +07:00
XMRig
bdbc470910 Benchmark refactoring, zero delay submit and unified HTTP layer. 2020-11-16 16:22:34 +07:00
XMRig
ebaf8ccec4 Added CMake option WITH_BENCHMARK. 2020-10-16 02:18:07 +07:00
SChernykh
a046437d5f Added benchmark and stress test
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
SChernykh
2af99c3d83 More precise hashrate calculation
- Use only steady timestamp counters to guarantee correctness
- CPU backend: directly measure total hashrate using raw hash counters from each thread; update data more often on ARM CPUs because they're slower
- GPU backends: directly measure total hashrate too, but use interpolator with 4 second lag to fix variance from batches of hashes

Total hashrate is now measured directly (realtime for CPU, 4 seconds lag for GPU), so it might differ a bit from the sum of all thread hashrates because data points are taken at different moments in time.

Overhead is reduced a lot since it doesn't have to go through all threads to calculate max total hashrate on every timer tick (2 times a second).
2020-10-10 11:18:01 +02:00
cohcho
f76d355d41 Worker: specify default value 2020-10-09 14:28:36 +00:00
SChernykh
151e1f7d77 Fix possible race condition in hashrate counting code
Use single atomic operation to switch between data points.
2020-10-09 10:29:18 +02:00
SChernykh
afdf26616e KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
XMRig
dd0f924bff Added initial memory pool support. 2019-10-07 12:36:40 +07:00
XMRig
61d8686ca5 Restored OpenCL interleave. 2019-09-06 11:43:02 +07:00
XMRig
70d9b6e793 Added support for allocate RandomX dataset on each NUMA node. 2019-07-27 19:41:59 +07:00
XMRig
b88e5ce20e Fixed dataset initialization speed on Linux if thread affinity was used. 2019-07-25 19:11:07 +07:00
XMRig
c8736cac5e Implemented unified cryptonight and RandomX scratchpad memory. 2019-07-17 04:33:11 +07:00
XMRig
e3bb94ea1d Removed CPU specific code from Worker class. 2019-07-14 00:35:38 +07:00
XMRig
87b2ad178f Move files. 2019-07-13 22:15:53 +07:00