Commit Graph

414 Commits

Author SHA1 Message Date
XMRig
b6dbd4f431 Removed unnecessary check. 2020-05-09 01:36:57 +07:00
XMRig
d5096b0547 Fix build. 2020-05-09 01:26:05 +07:00
XMRig
e81a7ad64a Removed code duplicate. 2020-05-09 01:13:46 +07:00
XMRig
317dc19ce8 Code cleanup. 2020-05-05 01:55:00 +07:00
XMRig
90e32fd481 Remove unused code. 2020-05-04 02:07:38 +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
3eaa27e0ff Small cleanups. 2020-05-03 13:38:34 +07:00
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig
4f14ca77d7 Move CnAlgo 2020-04-23 12:34:26 +07:00
SChernykh
9a6baa375d Refactored CFROUND 2020-04-21 15:44:04 +02: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
SChernykh
3d5a35885e Fixed VM destruction 2020-04-08 08:31:53 +02:00
SChernykh
73cb010b5d Fix off-by-one error 2020-04-07 18:53:08 +02:00
SChernykh
9bd78a9603 Fixed pool lock 2020-04-07 18:48:02 +02: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
SChernykh
f9c84ac456 Fix MacOS compilation 2020-03-11 16:35:52 +01: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
SChernykh
ea14d937f8 Activate MSR mod only for RandomX algorithms 2020-03-09 19:10:26 +01:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
SChernykh
c565ed93cd Fixed invalid AstroBWT hashes after algo switching 2020-03-07 16:41:33 +01:00
XMRig
a8904d2293 v5.9.0-dev 2020-03-07 21:27:55 +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
SChernykh
1db5a6d0b8 Fixed compilation withut randomx/argon2 2020-03-06 07:22:57 +01: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
XMRig
6cfa7041f7 Sync changes with proxy. 2020-03-01 14:04:58 +07:00
XMRig
7144fb01bf #1572 Fix compile warning. 2020-03-01 11:59:53 +07:00
XMRig
fbe42fe743 Make "astrobwt" as primary user visible algorithm name. 2020-03-01 10:21:29 +07: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
c6e9e2308d Optimized CFROUND
Shorter version using BMI2 instructionns
2020-02-21 19:00:58 +01:00
SChernykh
6f66a0375f Fixed 32-bit compilation 2020-02-21 16:08:23 +01:00
SChernykh
c7b4a89832 Tuned JIT compiler
0.3-0.4% speedup depending on CPU.
2020-02-20 20:59:22 +01:00
XMRig
e00a4c9daf Fixed nicehash nonce overflow for CPU backend. 2020-02-06 17:19:08 +07:00
xmrig
802073d68d Merge pull request #1529 from SChernykh/dev
Crash fix for Bullodzer CPUs
2020-02-02 23:19:49 +07:00
SChernykh
e7c3bb7ba6 Crash fix for Bullodzer CPUs 2020-02-02 17:16:59 +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
94ff5d1e49 Fix compile error 2020-01-24 14:09:07 +01:00
SChernykh
0ce4ac9a90 Fix crash on Linux 2020-01-24 13:34:12 +01:00
SChernykh
209d7e3223 Optimized CFROUND 2020-01-22 20:11:00 +01:00
SChernykh
eaaf157997 Added support for BMI2 instructions 2020-01-21 19:44:56 +01:00
SChernykh
efdbda40f0 Optimizations for AMD Bulldozer
- Added support for XOP instructions
- Enabled Ryzen code for Bulldozer because it's faster there too
2020-01-15 13:04:26 +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
716df54ac0 JIT compiler: removed unnecessary memcpy from generateProgram() 2020-01-13 18:00:41 +01:00
SChernykh
b4b2a19b33 Update MSR preset for Intel
As per https://github.com/xmrig/xmrig/issues/1433#issuecomment-572126184
2020-01-09 08:10:36 +01:00
SChernykh
a976379f19 JIT compiler tweaks 2020-01-06 13:57:48 +01:00
XMRig
7e1c208732 Fix compile warnings. 2020-01-03 19:11:48 +07:00