Commit Graph

38 Commits

Author SHA1 Message Date
SChernykh
fa9b5c7b6e GhostRider algorithm (Raptoreum) support 2021-11-23 08:14:01 +01:00
XMRig
22f68bda8d Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +07:00
SChernykh
b3d14f51b9 Added support for Uplexa (cn/upx2 algorithm) 2021-04-17 14:53:42 +02:00
SChernykh
3e9755c8c8 Optimized cn-heavy for Zen3
- Uses scratchpad interleaving to access only the closest L3 slice from each CPU core.
- Also activates MSR mod for cn-heavy because CPU prefetchers get confused with interleaving
- 7-8% speedup on Zen3
2021-02-07 22:05:11 +01:00
XMRig
7a0f3dc5c4 Always disable kawpow for CPU backend. 2021-02-07 18:49:54 +07:00
XMRig
465dc7edad Fixed macOS build and compile warning. 2021-02-02 13:53:45 +07:00
XMRig
c92f9df8ab Added support for flexible huge page sizes on Linux. 2021-01-31 23:38:57 +07:00
XMRig
e3e3770382 Fixed, benchmark validation on NUMA hardware produced incorrect results in some conditions. 2020-11-25 09:35:11 +07:00
XMRig
e45bfa1ace Removed non thread safe access to config. 2020-11-16 07:58:28 +07:00
XMRig
14892cf040 Removed m_bench field from Job class. 2020-10-16 20:29:11 +07:00
XMRig
572616f3d2 Code cleanup. 2020-10-16 19:35:36 +07: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
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +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
675c0855df Update year. 2020-03-06 12:57:21 +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
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
XMRig
fbd39ca49d Move "1gb-pages" option to "randomx" object. 2019-12-09 21:42:40 +07:00
SChernykh
0a5c12295d Added 1GB hugepages support for Linux 2019-12-05 19:39:47 +01:00
XMRig
1797fe3e20 Added CPU option "yield". 2019-12-03 09:04:20 +07:00
XMRig
8594622dd0 Improved CPU profile generation. 2019-10-09 12:58:11 +07:00
XMRig
e115db1fea Added "memory-pool" option. 2019-10-07 23:38:01 +07:00
XMRig
255f6cff6b Added config option "cpu/max-threads-hint" and command line option "--cpu-max-threads-hint". 2019-09-28 02:02:20 +07:00
XMRig
c26b823761 Implemented OclLaunchData creation. 2019-08-24 00:14:41 +07:00
XMRig
b4ea93d82d Added version field to config file. 2019-08-17 04:27:37 +07:00
XMRig
9861f9eadd Added selection for optimized Argon2 implementation. 2019-08-17 01:42:03 +07:00
XMRig
a2359eb0d3 Changed CPU threads format. 2019-08-07 21:47:42 +07:00
XMRig
c118117abb Added class CpuThreads. 2019-08-07 16:13:23 +07:00
XMRig
4b6b2f1d7d Added "randomx" object to config. 2019-07-28 07:46:59 +07:00
XMRig
b88e5ce20e Fixed dataset initialization speed on Linux if thread affinity was used. 2019-07-25 19:11:07 +07:00
XMRig
e78c8a564a Added option "init-threads". 2019-07-25 12:20:59 +07:00
XMRig
5471c5b18d Fixed command line config and removed --max-cpu-usage and --safe. 2019-07-20 00:37:15 +07:00
XMRig
db971991fb Added support for threads restart if config changed. 2019-07-18 19:11:45 +07:00
XMRig
8c48b907cd Generate "rx" and "rx/wow" sections of CPU threads. 2019-07-06 11:31:12 +07:00
XMRig
7fa6ac5d38 Added support for multi-algorithm CPU threads settings. 2019-07-02 22:56:28 +07:00
XMRig
7287119d60 Move CPU information classes to new location. 2019-06-29 09:51:23 +07:00
XMRig
aa04150ec7 Added class CpuConfig. 2019-06-28 22:28:40 +07:00