Commit Graph

126 Commits

Author SHA1 Message Date
XMRig
467e85a9c2 More correct CPU affinity support for macOS. 2020-12-13 01:20:31 +07:00
SChernykh
d5f84a813d Fixed errors found by static analysis 2020-12-08 12:16:59 +01:00
XMRig
03c10c8592 Restore Hashrate class interface. 2020-12-05 11:09:25 +07:00
XMRig
9a120b979b Added GpuWorker class. 2020-12-04 22:25:28 +07:00
XMRig
569907775a Cleanup 2020-12-04 19:52:53 +07:00
XMRig
4569eea6f6 Move Profiler and more cleanup. 2020-12-04 09:23:40 +07:00
XMRig
e3e3770382 Fixed, benchmark validation on NUMA hardware produced incorrect results in some conditions. 2020-11-25 09:35:11 +07:00
XMRig
27d4fd9d59 Added BenchStatePrivate class. 2020-11-24 17:59:40 +07:00
XMRig
0deef938ec Fixed benchmark progress logging. 2020-11-23 21:41:51 +07:00
XMRig
de76bd9f11 Use static RandomX seed for benchmark. 2020-11-20 08:15:04 +07:00
XMRig
6221652024 Submit top benchmark diff. 2020-11-17 07:33:20 +07:00
XMRig
93456462df Remove benchmark size from Job class. 2020-11-17 05:28:42 +07:00
XMRig
1ed9cf740e Added DNS cache for online benchmark. 2020-11-17 04:59:26 +07:00
XMRig
07c9b76edd Fixed build. 2020-11-16 16:37:57 +07:00
XMRig
bdbc470910 Benchmark refactoring, zero delay submit and unified HTTP layer. 2020-11-16 16:22:34 +07:00
XMRig
5b46e4870d Unlock benchmark size for debug builds. 2020-11-16 08:56:35 +07:00
XMRig
e45bfa1ace Removed non thread safe access to config. 2020-11-16 07:58:28 +07:00
SChernykh
17da388fd2 Added reference hashes for 1T offline benchmark 2020-11-16 00:57:00 +01:00
SChernykh
76c406ce63 Make single thread bench cheat-resistant
Each hash is dependent on the previous hash to make multi-threaded cheating impossible.
2020-11-15 20:38:27 +01:00
XMRig
ae75cc3833 Added 250K and 500K offline benchmarks. 2020-11-12 11:15:43 +07:00
XMRig
39f38d5c69 Added --token command line option. 2020-11-10 21:29:13 +07:00
XMRig
c78f795a5a Fixed build without HTTP. 2020-11-03 00:21:22 +07:00
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