Commit Graph

104 Commits

Author SHA1 Message Date
XMRig
7e14462358 Print benchmark url 2020-10-30 23:24:01 +07:00
XMRig
3714345bcc Implemented PATCH requests. 2020-10-25 13:41:39 +07:00
XMRig
40738116b7 Implemented BenchClient. 2020-10-24 19:43:23 +07:00
XMRig
da62a0e65c Implemented static benchmark verification (--bench --seed --hash) 2020-10-24 13:53:49 +07:00
XMRig
ea7275fc28 Added Benchmark class. 2020-10-17 04:03:42 +07:00
XMRig
14892cf040 Removed m_bench field from Job class. 2020-10-16 20:29:11 +07:00
XMRig
572616f3d2 Code cleanup. 2020-10-16 19:35:36 +07:00
XMRig
4b66ba3e24 Improve some benchmark log messages. 2020-10-16 04:11:50 +07:00
XMRig
ebaf8ccec4 Added CMake option WITH_BENCHMARK. 2020-10-16 02:18:07 +07:00
SChernykh
6078052780 Benchmark: added more check hashes and a progress indicator 2020-10-15 08:23:47 +02:00
SChernykh
04ed885a65 Fixed compile errors in Linux 2020-10-14 21:03:21 +02: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
xmrig
e2eb9f896b Merge pull request #1887 from SChernykh/dev
Fixed total hashrate update
2020-10-10 22:07:37 +07:00
SChernykh
1f489ee378 Fixed total hashrate update
Don't add data points where one of the threads doesn't have hashrate data yet.
2020-10-10 17:00:30 +02:00
cohcho
e29ffe7668 CPU: use raw counter 2020-10-10 13:28:14 +00:00
SChernykh
d21a911dd0 Fix HashrateInterpolator::addDataPoint 2020-10-10 11:22:19 +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
25d4142e39 Change to fetch_xor to make code simpler 2020-10-09 11:50:11 +02: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
cohcho
3068b7adbe reserve at most 1 bit for wrapping detection 2020-09-13 18:42:16 +00:00
cohcho
b183af0953 fix nonce mask 2020-09-09 19:39:52 +00:00
cohcho
5cf1494401 nonce iteration optimization
efficient and correct nonce iteration without duplicates
2020-09-09 10:03:37 +00:00
XMRig
b2b54cbe82 Cleanup 2020-07-22 21:27:40 +07:00
SChernykh
bb87e9008c KawPow: fixed more duplicate share errors 2020-07-03 21:33:44 +02:00
SChernykh
119a065424 Fix typo 2020-07-02 14:29:52 +02:00
SChernykh
d2d8fd48b9 KawPow: fixed rare duplicate share errors 2020-07-02 11:36:31 +02:00
XMRig
c2e8686818 Implemented donate for KawPow. 2020-06-01 00:56:26 +07:00
SChernykh
afdf26616e KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
SChernykh
2f1940ca58 Fixed hashrate and diff display for KawPow 2020-05-28 22:03:28 +02:00
XMRig
306dfe8d6a Use long tags. 2020-05-28 20:32:41 +07:00
SChernykh
f24da62db0 KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig
4f14ca77d7 Move CnAlgo 2020-04-23 12:34:26 +07:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
XMRig
0a60a931fc Added printHealth to IBackend interface. 2020-02-14 01:11:53 +07:00
XMRig
e00a4c9daf Fixed nicehash nonce overflow for CPU backend. 2020-02-06 17:19:08 +07:00
XMRig
e7c4b1d0c2 Fixed memory allocation checks. 2019-12-25 04:39:21 +07:00
XMRig
280618a9eb Memory allocation refactoring. 2019-12-08 23:17:39 +07:00
XMRig
5d6abe4ae6 #1386 Added priority for RandomX dataset initialization threads. 2019-12-06 22:17:04 +07:00
SChernykh
0a5c12295d Added 1GB hugepages support for Linux 2019-12-05 19:39:47 +01:00
XMRig
9200b3f7e3 Use normalize for load average values. 2019-12-04 10:25:26 +07:00
SChernykh
4b0f3fab83 RandomX fixes
Intel JCC erratum fix and various other improvements, see more here: https://www.phoronix.com/scan.php?page=article&item=intel-jcc-microcode&num=1
2019-12-01 08:46:35 +01:00
XMRig
b7e1d97d93 Added option "mode" (or --randomx-mode) for RandomX. 2019-11-29 13:00:17 +07:00
XMRig
666e4238ac #1309 Fixed null pointer dereference. 2019-11-24 00:53:58 +07:00
SChernykh
321a0b882f Optimized hashrate calculation 2019-11-09 17:29:12 +01:00
XMRig
70acc63349 Added manual (e key) health reports. 2019-11-01 00:09:28 +07:00
XMRig
2872c4737a Display backend for shares. 2019-10-29 15:43:13 +07:00
XMRig
97f9364dc6 Added CudaWorker and CudaLaunchData. 2019-10-26 17:37:54 +07:00
XMRig
041fbc572e Added initial CUDA backend stub. 2019-10-23 16:37:56 +07:00