Commit Graph

288 Commits

Author SHA1 Message Date
XMRig
b364985789 ICpuInfo refactoring. 2020-05-08 22:25:13 +07:00
SChernykh
b8a706948a Optimized RandomX dataset initialization
- Use single Argon2 implemenation
- Auto-select the fastest Argon2 implementation for RandomX
2020-05-03 20:44:59 +02:00
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig
a1bd9ccd93 Update base. 2020-04-29 14:17:33 +07:00
XMRig
4f14ca77d7 Move CnAlgo 2020-04-23 12:34:26 +07:00
XMRig
573bdfdd3f Code cleanup. 2020-04-12 19:50:11 +07:00
xmrig
5470ee9658 Merge pull request #1641 from SChernykh/dev
RandomX JIT refactoring
2020-04-09 19:34:31 +07:00
SChernykh
c43a848415 Fix code style 2020-04-09 14:31:42 +02:00
SChernykh
fe96036607 RandomX JIT refactoring
- Smaller memory footprint
- A bit faster overall
2020-04-09 14:24:54 +02:00
xmrig
8dab33be0f Merge pull request #1635 from SChernykh/dev
Pooled allocation of RandomX VMs
2020-04-08 17:04:25 +07:00
SChernykh
5449dfbc91 Use node number instead of affinity 2020-04-07 18:46:22 +02:00
SChernykh
e5d43089df Pooled allocation of RandomX VMs
+0.5% speedup on Zen2 when the whole L3 cache is used (16 threads on 3700X/3800X, 32 threads on 3950X).
2020-04-07 18:31:35 +02:00
XMRig
247a07fe6b Code style cleanup 2020-04-04 17:19:23 +07:00
SChernykh
e793dd3be2 AstroBWT CUDA support 2020-04-04 11:05:44 +02:00
xmrig
e2d180e199 Merge pull request #1605 from SChernykh/dev
Fixed AstroBWT OpenCL for NVIDIA GPUs
2020-03-25 03:58:07 +07:00
SChernykh
2ac0f7fa24 Fixed AstroBWT OpenCL for NVIDIA GPUs 2020-03-24 15:55:54 +01:00
XMRig
dedaba16e3 Fixed gcc build. 2020-03-23 05:30:11 +07:00
SChernykh
c2260215b3 AstroBWT OpenCL code 2020-03-22 22:36:21 +01: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
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
XMRig
1b9e3169c6 Added "coin": "keva" and post PR cleanup. 2020-03-07 20:38:44 +07:00
XMRig
f15908e924 Merge branch 'master' of https://github.com/kevacoin-project/xmrig into feature-rx-keva 2020-03-07 17:13:08 +07:00
XMRig
f08a0b470d Added the wizard suggestion. 2020-03-07 03:24:35 +07:00
XMRig
675c0855df Update year. 2020-03-06 12:57:21 +07:00
kevacoin
e5de7a18e0 Fixed scratchpad L2/L3 bit, from 18, 21 to 17 and 20. 2020-03-05 11:23:49 -08: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
kevacoin
b02cc24ae1 Added Keva. 2020-03-04 16:23:33 -08:00
SChernykh
1ccf408ba7 AstroBWT algorithm (DERO) support
To test:

- Download https://github.com/deroproject/derosuite/releases/tag/AstroBWT
- Run daemon with `--testnet` in command line

In config.json:
- "coin":"dero"
- "url":"127.0.0.1:30306"
- "daemon:"true"
2020-02-29 22:41:24 +01:00
SChernykh
783f79f264 Refactored fma_soft() in randomx_vm.cl
Fixes #1554 (hopefully)
2020-02-18 18:19:03 +01:00
XMRig
31531db02c Fixed wrong OpenCL platform on macOS. 2020-02-15 04:32:32 +07:00
XMRig
0dc2cc94ff Added AMD GPUs health information for Linux (via sysfs). 2020-02-14 23:37:44 +07:00
XMRig
f2eebeca15 Update year. 2020-02-14 02:41:21 +07:00
SChernykh
a75ee09704 Added RandomX JIT for AMD Navi GPUs 2020-02-13 20:15:08 +01:00
XMRig
0a60a931fc Added printHealth to IBackend interface. 2020-02-14 01:11:53 +07:00
XMRig
74668ed7a0 Added ADL support for Windows. 2020-02-14 00:16:32 +07:00
SChernykh
4c8413f584 Fixed generic OpenCL code for AMD Navi 2020-02-10 22:00:40 +01:00
XMRig
7828951b51 Fixed nicehash nonce overflow for GPU backends. 2020-02-06 22:00:03 +07:00
XMRig
e00a4c9daf Fixed nicehash nonce overflow for CPU backend. 2020-02-06 17:19:08 +07:00
SChernykh
9e76b6d672 Workaround for new AMD drivers (OpenCL) 2020-02-04 23:11:46 +01:00
XMRig
5eed25d4aa Update year. 2020-02-01 20:24:00 +07:00
SChernykh
fda20ff798 Removed MSR mod for Bulldozer
It turned out to be useless: https://www.reddit.com/r/MoneroMining/comments/et7s7w/psa_amd_opteronfxa6a8a10_owners_needed_to_test/
2020-01-27 09:39:39 +01:00
SChernykh
eaaf157997 Added support for BMI2 instructions 2020-01-21 19:44:56 +01:00
SChernykh
aac5ce39a4 MSR preset for Bulldozer CPUs
Also fixed verbose output for MSR presets with masks.
2020-01-14 19:27:34 +01:00
SChernykh
58472d0674 Cleanup 2019-12-30 20:55:03 +02:00
SChernykh
467fbfdc77 Auto-config for mobile Ryzen APUs 2019-12-30 20:53:21 +02:00
XMRig
d74775d702 Added "cn-pico/tlo". 2019-12-29 00:29:19 +07:00
XMRig
e7c4b1d0c2 Fixed memory allocation checks. 2019-12-25 04:39:21 +07:00
XMRig
bea37f59c8 Added support for alternative CUDA plugin API. 2019-12-25 00:35:43 +07:00