Commit Graph
261 Commits
Author SHA1 Message Date
XMRig 41a1c46bb2 Code and copyright cleanup. 2021-02-18 12:56:39 +07:00
Hansie Odendaal 1994096590 Allow result submission to origin daemon with self-select
With `self-select` mode enabled, the `submit-to-origin` config option
will let the `SelfSelectClient` submit the solution to both
the daemon where it got the template from as well as to
the connected pool, for miners that want to do pool minining
with Monero and solo mining with an altcoin (merged mining variant).

Thank you and special credit to @StriderDM (https://github.com/StriderDM)!
2021-02-17 18:05:13 +02:00
SChernykh fdd7a1969a 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
XMRig 7a0f3dc5c4 Always disable kawpow for CPU backend. 2021-02-07 18:49:54 +07:00
XMRig 6ac1789948 Add missing option to config example. 2021-02-06 16:17:53 +07:00
XMRig 65fd8217f0 Added "--hugepage-size" command line option. 2021-02-01 05:06:24 +07:00
XMRig c92f9df8ab Added support for flexible huge page sizes on Linux. 2021-01-31 23:38:57 +07:00
SChernykh 3e3e008761 Fix compilation error when RandomX and Argon2 are disabled 2021-01-28 14:38:28 +01:00
XMRig 609e130ef5 Update default config example. 2021-01-26 15:15:08 +07:00
XMRig dadf4290dd Added "GET /2/dmi" API endpoint. 2021-01-20 22:54:02 +07:00
XMRig f3d2360640 Added config option "dmi" and command line option "--no-dmi". 2021-01-20 16:02:48 +07:00
SChernykh fac3902ae1 RandomX x86 JIT: remove redundant CFROUND 2021-01-07 16:20:00 +01:00
SChernykh 0319b5b622 Added config option for AVX2 dataset init
-1 = Auto detect
0 = Always disabled
1 = Enabled if AVX2 is supported
2020-12-19 16:18:49 +01:00
XMRig 03c10c8592 Restore Hashrate class interface. 2020-12-05 11:09:25 +07:00
XMRig 4569eea6f6 Move Profiler and more cleanup. 2020-12-04 09:23:40 +07:00
XMRig f8e4fe30e0 Update base 2020-11-29 18:45:52 +07:00
XMRig 41eec70b3f Add support for benchmark in generated config. 2020-11-13 01:49:16 +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 da62a0e65c Implemented static benchmark verification (--bench --seed --hash) 2020-10-24 13:53:49 +07:00
XMRig 9415fb14fd Added BenchConfig class. 2020-10-22 17:33:41 +07:00
XMRig ea7275fc28 Added Benchmark class. 2020-10-17 04:03:42 +07:00
XMRig 572616f3d2 Code cleanup. 2020-10-16 19:35:36 +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 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
SChernykh 1865d31d0c RandomX: added huge-pages-jit config parameter
Set to false by default, gives 0.2% boost on Ryzen 7 3700X with 16 threads, but hashrate might be unstable on Ryzen between launches. Use with caution.
2020-10-07 17:42:55 +02:00
cohcho 662bfeb48e Miner: fix state machine
Remove unexpected resume due to disconnect during dataset init
2020-10-06 13:34:19 +00:00
cohcho 90732ad690 Miner: filter invalid algos 2020-09-25 17:52:13 +00:00
SChernykh f126fa112e 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
SChernykh f26d4274fc RandomX: added parameter for scratchpad prefetch mode
`scratchpad_prefetch_mode` can have 4 values:
0: off
1: use `prefetcht0` instruction (default, same as previous XMRig versions)
2: use `prefetchnta` instruction (faster on Coffee Lake and a few other CPUs)
3: use `mov` instruction
2020-09-04 16:16:07 +02:00
XMRig 9829da5d4e Added command line option --pause-on-battery and renamed config option. 2020-07-23 15:45:01 +07:00
XMRig 7d65aa8ed7 Add tags 2020-07-23 10:26:56 +07:00
xmrig f478fa5e55 Merge pull request #1786 from SChernykh/dev
Added mining on battery setting
2020-07-23 09:20:06 +07:00
SChernykh 8c8a46acb8 Added mining on battery setting 2020-07-22 20:21:42 +02:00
XMRig c5709e1822 Cleanup usage output. 2020-07-22 19:58:08 +07:00
XMRig 3526c1335d Added command line options --cache-qos (--randomx-cache-qos) and --argon2-impl (--cpu-argon2-impl). 2020-07-20 09:17:59 +07:00
XMRig 1fa122dbdd #1756 Added results and connection reports. 2020-07-01 23:10:37 +07:00
XMRig 5cf7fb0e4c #1708 Added "title" option. 2020-06-06 00:24:58 +07: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 317dc19ce8 Code cleanup. 2020-05-05 01:55:00 +07:00
XMRig 2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig 6bd4d4f1c6 Added missing newline in --help output. 2020-03-25 04:03:18 +07:00
XMRig e1160b6db2 Added TLS support for API and many other TLS related changes. 2020-03-18 20:09:11 +07:00
XMRig 2b80ccd135 Added command line option --astrobwt-avx2 2020-03-12 00:04:07 +07:00
SChernykh 838bd14948 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