Artem Zuikov
e8e8321ddb
Merge ab5be0b773
into dd6671bc59
2025-06-29 20:36:01 +07:00
SChernykh
40949f2767
Fix: don't use NaN in hashrate calculations
2024-10-23 11:40:27 +02:00
4ertus2
ab5be0b773
replace new/delete with sp
2024-10-20 18:03:25 +03:00
SChernykh
17a52fb418
Always reset nonce on RandomX dataset change
...
Also never get a new job when mining is paused
2024-08-14 16:41:03 +02:00
SChernykh
9223c2f027
Don't reset when pool sends the same job blob
2022-09-19 10:35:36 +02:00
SChernykh
22d6a7525e
Removed deprecated AstroBWTv1 and v2
2022-06-12 11:47:36 +02:00
SChernykh
6793981066
Fixed being unable to resume from pause-on-battery
...
Fixes #3041
2022-05-05 21:13:02 +02:00
SChernykh
7f2f50a8d9
RandomX: don't restart mining threads when the seed changes
...
It helps to not loose huge pages when the seed changes (every 2048 blocks, ~2.8 days).
2021-12-25 13:39:15 +01:00
SChernykh
c6292ce9ee
GhostRider hotfixes
...
- Added average hashrate display
- Fixed the number of threads shown at startup
- Fixed `--threads` or `-t` command line option (but `--cpu-max-threads-hint` is recommended to use)
2021-11-27 12:27:26 +01:00
Tony Butler
3a8ebfdcb6
Only initGhostRider() when job is in the family
2021-11-24 13:04:03 -07:00
SChernykh
ceaebfd877
GhostRider algorithm (Raptoreum) support
2021-11-23 08:14:01 +01:00
SChernykh
387320ad6d
Added Windows taskbar icon colors
...
- Red when there's no connection to any pool
- Yellow when mining is paused
- No color during normal mining
2021-09-20 18:03:22 +02:00
XMRig
c7ac314110
Code cleanup based on Clang-Tidy.
2021-08-25 18:45:15 +07:00
XMRig
9580f5395f
Removed shortName.
2021-08-11 22:26:34 +07:00
XMRig
e6332eff2b
Implemented stable algorithm ids.
2021-08-11 03:46:34 +07:00
SChernykh
d478d737c4
Fixed pause logic when both pause on battery and user activity are enabled
2021-02-21 16:33:57 +01:00
XMRig
ee341118ce
#2104 Added user configurable idle time.
2021-02-19 23:35:30 +07:00
XMRig
f599807bbb
Simplified code, fixed broken pause.
2021-02-19 16:26:31 +07:00
SChernykh
82830e359a
Added pause-on-active
option
...
Windows only for now. When set to true, pauses mining when user touches mouse or keyboard.
2021-02-14 15:32:18 +01:00
SChernykh
f62f4e6108
RandomX x86 JIT: remove redundant CFROUND
2021-01-07 16:20:00 +01:00
XMRig
acf7ec8355
Restore Hashrate class interface.
2020-12-05 11:09:25 +07:00
XMRig
c8ee6f7db8
Move Profiler and more cleanup.
2020-12-04 09:23:40 +07:00
XMRig
096b09bf4d
Update base
2020-11-29 18:45:52 +07:00
XMRig
36c1cb23e0
Implemented static benchmark verification (--bench --seed --hash)
2020-10-24 13:53:49 +07:00
XMRig
328f985e07
Added Benchmark class.
2020-10-17 04:03:42 +07:00
SChernykh
722e468bd9
Benchmark: added more check hashes and a progress indicator
2020-10-15 08:23:47 +02:00
SChernykh
2ecece7b3d
Added benchmark and stress test
...
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
SChernykh
3fbf2ac3d4
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
3ee0cd8c51
Miner: fix state machine
...
Remove unexpected resume due to disconnect during dataset init
2020-10-06 13:34:19 +00:00
cohcho
189cc78d44
Miner: filter invalid algos
2020-09-25 17:52:13 +00:00
SChernykh
a05393727c
RandomX: added performance profiler (for developers)
...
Also optimized Blake2b SSE4.1 code size to avoid code cache pollution.
2020-09-12 23:07:52 +02:00
XMRig
32e9b7e34a
Added command line option --pause-on-battery and renamed config option.
2020-07-23 15:45:01 +07:00
XMRig
6484bbb716
Add tags
2020-07-23 10:26:56 +07:00
SChernykh
299b180b28
Added mining on battery setting
2020-07-22 20:21:42 +02:00
SChernykh
6676126376
Fixed hashrate and diff display for KawPow
2020-05-28 22:03:28 +02:00
XMRig
7a3233ab4b
Use long tags.
2020-05-28 20:32:41 +07:00
SChernykh
22b937cc1c
KawPow WIP
2020-05-27 16:19:57 +02:00
XMRig
c828e6b793
Code cleanup.
2020-05-05 01:55:00 +07:00
XMRig
8aeba61706
Add 3rdparty prefix to all rapidjson includes.
2020-04-29 14:55:04 +07:00
SChernykh
e22f798085
AVX2 optimized code for AstroBWT
...
Added "astrobwt-avx2" parameter in config.json, it's turned off ("false") by default.
4-5% speedup on CPUs with proper AVX2 support (AMD Ryzen starting with Zen2, Intel Core starting with Haswell).
There will be no speedup on the following CPUs:
- Intel Pentium/Celeron don't support AVX2
- AMD Zen/Zen+ have only half-speed AVX
GCC compiled version is faster without AVX2, MSVC compiled version is faster with AVX2
2020-03-10 22:35:14 +01:00
XMRig
2f27d5d108
Added printHealth to IBackend interface.
2020-02-14 01:11:53 +07:00
XMRig
083c61754b
Fixed unwanted resume after dataset change.
2020-01-03 05:36:22 +07:00
XMRig
4a9a7434f6
Revert Platform::setProcessPriority
2019-12-27 03:19:03 +07:00
XMRig
e9e747f0d1
#1385 "max-threads-hint" option now also limit RandomX dataset initialization threads.
2019-12-07 22:18:06 +07:00
XMRig
3a75f39935
#1386 Added priority for RandomX dataset initialization threads.
2019-12-06 22:17:04 +07:00
SChernykh
1fbbae1e4a
Added 1GB hugepages support for Linux
2019-12-05 19:39:47 +01:00
XMRig
05421057ae
#1363 Fixed main thread priority.
2019-12-03 18:28:10 +07:00
XMRig
26ed6254dc
Added "health-print-time" option.
2019-11-01 04:08:52 +07:00
XMRig
1cb4d73fe3
Added manual (e key) health reports.
2019-11-01 00:09:28 +07:00
XMRig
f110b5000b
Fixed switching from non RandomX algorithm to RandomX.
2019-10-30 22:40:09 +07:00