Commit Graph

230 Commits

Author SHA1 Message Date
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
XMRig
4de00d017f Added command line option --data-dir. 2020-03-10 15:57:47 +07:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
XMRig
6e7d9cb5dc Added command line option --astrobwt-max-size 2020-03-08 00:13:47 +07:00
SChernykh
19fc7b6f43 AstroBWT 20-50% speedup
Skips hashes with large stage 2 size. Added configurable `astrobwt-max-size` parameter, default value is 550, min 400, max 1200, optimal value ranges from 500 to 600 depending on CPU.

- Intel CPUs get 20-25% speedup
- 1st- and 2nd-gen Ryzens get 30% speedup
- 3rd-gen Ryzens get up to 50% speedup
2020-03-05 12:20:21 +01:00
XMRig
e85014deba Added "-x" and "--proxy" command line options. 2020-02-18 21:42:01 +07:00
XMRig
45ea929b6f Fixed build without NVML. 2020-02-15 04:07:11 +07:00
XMRig
0a60a931fc Added printHealth to IBackend interface. 2020-02-14 01:11:53 +07:00
XMRig
4f4d08f518 Code cleanup. 2020-01-07 10:13:01 +07:00
XMRig
a2d1c5a371 Fixed unwanted resume after dataset change. 2020-01-03 05:36:22 +07:00
XMRig
c6dbffcb95 Revert Platform::setProcessPriority 2019-12-27 03:19:03 +07:00
XMRig
1c18b3d942 Added --randomx-no-rdmsr command line option. 2019-12-21 23:57:25 +07:00
XMRig
c2267d3343 Less error prone log interface. 2019-12-18 02:20:31 +07:00
XMRig
914be17d5f Added command line option --verbose. 2019-12-17 22:03:50 +07:00
XMRig
59a3d8c530 Added "verbose" option. 2019-12-17 21:46:11 +07:00
XMRig
79a7d91166 Fixed --randomx-wrmsr option without parameters. 2019-12-11 19:16:01 +07:00
XMRig
f960d1cf16 Added RandomX option "wrmsr" with command line equivalent --randomx-wrmsr=N. 2019-12-10 23:57:29 +07:00
XMRig
4b3ab4f99a Added command line option --randomx-1gb-pages 2019-12-10 11:56:31 +07:00
XMRig
0c926c5f57 #1385 "max-threads-hint" option now also limit RandomX dataset initialization threads. 2019-12-07 22:18:06 +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
bc4e456ac1 Option "yield" enabled by default and added command line option --cpu-no-yield. 2019-12-04 08:50:54 +07:00
XMRig
75195e95d3 #1363 Fixed main thread priority. 2019-12-03 18:28:10 +07:00
XMRig
b7e1d97d93 Added option "mode" (or --randomx-mode) for RandomX. 2019-11-29 13:00:17 +07:00
XMRig
5c3ce370e3 #1285 Added command line options --cuda-bfactor-hint and --cuda-bsleep-hint. 2019-11-15 03:10:58 +07:00
XMRig
e326a657d1 #1274 Added --cuda-devices command line option. 2019-11-13 00:40:22 +07:00
XMRig
22b2ebafb7 Added "health-print-time" option. 2019-11-01 04:08:52 +07:00
XMRig
70acc63349 Added manual (e key) health reports. 2019-11-01 00:09:28 +07:00
XMRig
9b56d63d8c Fixed switching from non RandomX algorithm to RandomX. 2019-10-30 22:40:09 +07:00
XMRig
a1a7692072 Added command line options --cuda and --cuda-loader. 2019-10-29 00:42:49 +07:00
XMRig
041fbc572e Added initial CUDA backend stub. 2019-10-23 16:37:56 +07:00
XMRig
ded54b2a78 Added "paused" field to API. 2019-10-21 21:27:05 +07:00